Editing CXML Containers
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 1: | Line 1: | ||
=Description= | =Description= | ||
=Container Structure= | =Container Structure= | ||
Line 25: | Line 5: | ||
==XML implicit structure Overview== | ==XML implicit structure Overview== | ||
==Container Common Structure== | |||
===Header=== | |||
===Etc...=== | |||
==Container Structure variations== | |||
===QRC=== | ===QRC=== | ||
=== | ===P3T=== | ||
=== P3TF === | === P3TF === | ||
P3TF ('''P'''laystation '''3''' '''T'''heme '''F'''lat?) | P3TF ('''P'''laystation '''3''' '''T'''heme '''F'''lat?) | ||
Line 650: | Line 81: | ||
! Offset !! Size !! Example !! Remark | ! Offset !! Size !! Example !! Remark | ||
|- | |- | ||
| 0x00 || | | 0x00 || 0x08 || 00 00 00 00 00 00 00 00 || similar all p3t files | ||
|- | |- | ||
| | | 0x08 || 0x08 || FF FF FF FF FF FF FF FF || similar all p3t files | ||
|- | |- | ||
| 0x10 || 0x04 || FF FF FF FF || | | 0x10 || 0x04 || FF FF FF FF || similar all p3t files | ||
|- | |- | ||
| 0x14 || 0x04 || 00 00 00 1C || First Element within the root Element (p3t) | | 0x14 || 0x04 || 00 00 00 1C || First Element within the root Element (p3t) | ||
Line 664: | Line 91: | ||
| 0x18 || 0x04 || 00 00 18 B4 || Last Element within the root Element (p3t) | | 0x18 || 0x04 || 00 00 18 B4 || Last Element within the root Element (p3t) | ||
|- | |- | ||
| 0x1C || 0x04 || 00 00 00 06 || | | 0x1C || 0x04 || 00 00 00 06 || First Element (Offset within '''String Table''', in this case it will be <infotable>) | ||
|- | |- | ||
| 0x20 || | | 0x20 || 0x08 || 00 00 00 00 00 00 00 00 || similar all p3t files | ||
|- | |- | ||
| 0x28 || 0x04 || FF FF FF FF || Previous ELement | | 0x28 || 0x04 || FF FF FF FF || Previous ELement | ||
Line 678: | Line 103: | ||
| 0x34 || 0x04 || 00 00 01 60 || Last Entry | | 0x34 || 0x04 || 00 00 01 60 || Last Entry | ||
|- | |- | ||
| 0x38 || 0x04 || 00 00 00 10 || | | 0x38 || 0x04 || 00 00 00 10 || Element Pointer (Offset within '''String Table''', in this case it will be <info>) | ||
|- | |- | ||
| 0x3C || 0x04 || 00 00 00 0D || Attribute Counter (0x0D == 13, the 13 Attributes of <info> Element) | | 0x3C || 0x04 || 00 00 00 0D || Attribute Counter (0x0D == 13, the 13 Attributes of <info> Element) | ||
Line 693: | Line 118: | ||
|- | |- | ||
|} | |} | ||
====String Table==== | ====String Table==== | ||
This area is composed by a consecutive list of all the tags (elements or attributes) from the xml that was used to create the container. Are stored "from-top-to-bottom" in the exact same order that they was ordered in the xml (althougth it looks in some cases the theme compiler reorders them to his convenience). This list | This area is composed by a consecutive list of all the tags (elements or attributes) from the xml that was used to create the container. Are stored "from-top-to-bottom" in the exact same order that they was ordered in the xml (althougth it looks in some cases the theme compiler reorders them to his convenience). This list doesnt makes differences of the "directory hierarchy" of the tags neither is specifyed if the tag is an element or an attribute (this parent-child hierarchy is defined in other place of the container by making references to this area by using "byte counters" to locate a tag) | ||
'''Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F''' | '''Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F''' | ||
Line 741: | Line 167: | ||
'''00000040''' 69 63 6F 6E 5F 6D 75 73 69 63 00 00 00 02 F8 69 icon_music....øi | '''00000040''' 69 63 6F 6E 5F 6D 75 73 69 63 00 00 00 02 F8 69 icon_music....øi | ||
'''00000050''' 63 6F 6E 5F 76 69 64 65 6F 00 00 00 03 44 69 63 con_video....Dic | '''00000050''' 63 6F 6E 5F 76 69 64 65 6F 00 00 00 03 44 69 63 con_video....Dic | ||
'''00000060''' 6F 6E 5F 67 61 6D 65 00 | '''00000060''' 6F 6E 5F 67 61 6D 65 00 on_game | ||
====File Table==== | ====File Table==== | ||
The files are not concatenated in the same order than in the '''Tree Table''' & '''ID Table'''. There are even some file within the '''File Table''' which are not contained in '''ID Table'''(anim.raf, authoricon, ect.,...). | The files are not concatenated in the same order than in the '''Tree Table''' & '''ID Table'''. There are even some file within the '''File Table''' which are not contained in '''ID Table'''(anim.raf, authoricon, ect.,...). | ||
===RAF=== | ===RAF=== | ||
=Examples= | =Examples= | ||
==QRC== | ==QRC== | ||
==P3T== | ==P3T== | ||
==RAF== | ==RAF== | ||
=Tools= | =Tools= | ||
. | |||
.. | |||
... | |||
{{File Formats}} | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> | <noinclude>[[Category:Main]]</noinclude> |