ALiEditor User Manual
ALiEditor User Manual
1.3
2011-07-10
1.1 Summary
ALi Editor is designed for updating the Default Database of STB Flash. It can also update the User
Database because user is very troubled to use remote to edit the User Database.
The ALi Editor data source can be from *.abs/*.ddf file or *.sdx/*.txt. User can create the data source by
Manually Edit the ALi Editor or Auto Scan using STB device to get the User Database, also can
download the Satcodx data from the web. User can expediently select the Default Database or User
Database to download to STB.
Pic. (I-1)
1.2 Files
.abs:The data file created by IDE Tool. Or the data file uploaded from STB Flash to PC.
.ddf:The data file only include Default Database. It can be merged with other data using certain tool.
.udf:The data file only include User Database. It can be merged with other data using certain tool.
.sdx:The file with Satcodx data format.
.txt:The file transferred by a excel with certainly format.
Below is the excel format:
* --- add “*” before a satellite
; --- add “;” to remark one line
2 Operation
2.1 Open
Select the Menu or Tool bar to click the Open item:
Open Script: Open script.ini of m3xxx chip and choose the right Chip Type. The selection only influence
the number of configuration types, in general, it do not select script.ini, keep default is OK.
The “Left window” list the Satellite/TP tree/Favorite Group. When select one TP, the “Right window” will
list the Programs for this TP.
The “Right top window” is the button to filter TV or Radio.
2.3 Edit
2.3.1 Satellite
Add Satellite
Edit Satellite
2.Do not support adding and editing TP&Channel to the X satellite right now.
2.3.2 TP
Add TP
Edit TP
Add Program
Edit Program
Note: Should first select one TP, then user can Insert Channel.
When Insert Channel/Edit Channel, user can make one program to one or more Favorite Groups
Remove Item
Remove the selected programs from this group.
Edit Group
The all program are listed in the Favorite Group Edit Menu.
User can remove the Program from this Group or add one program to the Group.
2.4 Save
2.5 Export
If want to save the *.txt/*.sdx to database, user should use the export function.
In fact, “Save” is the special case of “Export”.
Select the *.abs file, then Download the Database to STB Flash.
Before Download, should select the aim Database which is “Default Database” or “User Database”.
This is the special case of “Download File”. It just Download the current file to STB Flash. It can’t
support to select one file on PC to Download.
2.8 Upload
Upload the data from STB Flash to PC:
When click the “Upload (STB –>PC)”, a window opened to user to select which file want to be saved.
If the project is compiled with a new bootloader.abs (support above transfer protocol 2.1 ), the save type
can be *.udf/*.ddf/*.abs, otherwise the save type can be only *.abs
Template file is a important file, it defines the structures node of program, TP and satellite. it should
used match with database file of SDK.
Sometimes, the structure node of program of SDK may be modified, then the template head file may be
modified too, otherwise, the data of node may be mussy(especial the service name).
Following steps show how to modify the template head file to match the SDK:
In source code of SDK: function common_pnode_unpack() of db_plugin_S.c, debug or print out the
parameter m_fixed_part_offset_length, for example: We get the print out value of
m_fixed_part_offset_length = 21.
In AliEditor, show the “fixed part number length”, for example, the length is 23
Finish adjust reserve_bytes[], if download the “ddf” or “udf” to platform, the program name or other
information of program are still mussy, it may there still some difference between alieditor and SDK.
for example:
In source code of SDK: function common_pnode_unpack() of db_plugin_S.c:
the MACRO are defined, so p_node->audio_type may be stored in database; but in template file:
the audio_type[20] is disabled, so when the “ddf” of “udf” of alieditor burn in to platform, the program
name will be mussy. Enable audio_type[20] in template head file, it may be OK.