Editing Resource Container (RCO)
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 177: | Line 177: | ||
==TOC== | ==TOC== | ||
The TOC (table of contents) works as an index of all the .RCO contents, is composed by entries that follows a hierarchy of parent/children/siblings, it can be represented as an .XML file composed by '''elements''' and its '''attributes''' (see [http://www.w3schools.com/xml/xml_tree.asp XML Tree] and [[RCOXML Coding]]) | The TOC (table of contents) works as an index of all the .RCO contents, is composed by entries that follows a hierarchy of parent/children/siblings, it can be represented as an .XML file composed by '''elements''' and its '''attributes''' (see [http://www.w3schools.com/xml/xml_tree.asp XML Tree] and [[RCOXML Coding]]) | ||
*All offset values in the TOC are relative to the start of the TOC, except: | |||
**The attributes with '''reference_type''' 0x04000000 (event), offsets are relative to the start of '''event_string_table''' | |||
**The attributes with '''reference_type''' 0x04010000 (text), instead an offset there is a counter starting in 0x0 | |||
===Element=== | ===Element=== | ||
Every entry starts with an area of 0x28 length that represents an XML '''element''', it specifyes the '''entry_type''', a '''label''' identifyer for this entry (optional) and some info related with the TOC internal structure and its hierarchy relationship with other entries | Every entry starts with an area of 0x28 length that represents an XML '''element''', it specifyes the '''entry_type''', a '''label''' identifyer for this entry (optional) and some info related with the TOC internal structure and its hierarchy relationship with other entries | ||
{| class="wikitable" style="font-size:small;" | {| class="wikitable" style="font-size:small;" |