Editing Resource Container CXML (RCO, QRC, Theme Files, RAF, CXML)

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 751: Line 751:


==Summary==
==Summary==
How all the Tables work together you can check below on a example from the HeavyRain.p3t PS3 Theme:
* Don't worry that it is a PS3 Theme. The work down of the CXML is the same like for a Vita RCO


===Table Description===
'''                    ''Tree Table of HeavyRain.p3t''                                                                    ''ID Table of HeavyRain.p3t'''''
'''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'''
'''00000050'''      [...]  <span style="background:#ccd815;">00 00 00 15</span> <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 1D</span>      ............                    '''00000000'''  <span style="background:#00FFFF;">00</span> <span style="background:#ffff66;">00 01 24</span> 65 6E 00 <span style="background:#00FFFF;">00</span> <span style="background:#ffff66;">00 01 60</span> 6A 70 00 00 00  <span style="background:#00FFFF;">.</span><span style="background:#ffff66;">..$</span>en.<span style="background:#00FFFF;">.</span><span style="background:#ffff66;">..`</span>jp...                   
'''00000060'''  <span style="background:#2bffb3;">00 00 00 06</span> <span style="background:#ccd815;">00 00 00 24</span> <span style="background:#FCDFFF;">00 00 00 01</span> <span style="background:#9CB071;">00 07 E9 80</span>  .......$......造                   '''00000010'''  01 C8 69 63 6F 6E 5F 75 73 65 72 00 00 00 02 14  .Èicon_user.....
'''00000070'''  00 00 00 00 <span style="background:#ccd815;">00 00 00 30</span> <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 35</span>  .......0.......5                    '''00000020'''  69 63 6F 6E 5F 73 65 74 74 69 6E 67 00 00 00 02  icon_setting....
'''00000080'''  <span style="background:#2bffb3;">00 00 00 10</span> <span style="background:#ccd815;">00 00 00 46</span> <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 4D</span>  .......F.......M                    '''00000030'''  60 69 63 6F 6E 5F 70 68 6F 74 6F 00 00 00 02 AC  `icon_photo....¬
'''00000090'''  <span style="background:#2bffb3;">00 00 00 0C</span> <span style="background:#ccd815;">00 00 00 5A</span> <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 5E</span>  .......Z.......^                    '''00000040'''  69 63 6F 6E 5F 6D 75 73 69 63 00 00 00 02 F8 69  icon_music....øi
'''000000A0'''  <span style="background:#2bffb3;">00 00 00 1B</span> <span style="background:#ccd815;">00 00 00 7A</span> <span style="background:#FCDFFF;">00 00 00 01</span> <span style="background:#9CB071;">00 00 40 80</span>  .......z......@€                    '''00000050'''  63 6F 6E 5F 76 69 64 65 6F 00 00 00 03 44 69 63  con_video....Dic
'''000000B0'''  00 00 00 00 <span style="background:#ccd815;">00 00 00 89</span> <span style="background:#FCDFFF;">00 00 00 06</span> <span style="background:#6666ff;">00 00 00 00</span>  .......‰........                    '''00000060'''  6F 6E 5F 67 61 6D 65 00        [...]            on_game  [...]
'''000000C0'''  <span style="background:#2bffb3;">00 00 1A 0B</span> 00 00 00 94 00 00 00 01 00 00 40 80  .......”......@€
'''000000D0'''  00 00 00 00 00 00 00 9D 00 00 00 03 00 00 00 A5  ...............¥                                        '''''String Table of HeavyRain.p3t'''''
'''000000E0'''  00 00 00 0B 00 00 00 B1 00 00 00 03 00 00 00 B7  .......±.......·
'''000000F0'''  00 00 00 0E 00 00 00 C6 00 00 00 03 00 00 00 CC  .......Æ.......Ì                    '''Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F'''
'''00000100'''  00 00 00 06 00 00 00 D3 00 00 00 06 00 00 1A 10  .......Ó........                    '''00000000'''  74 68 65 6D 65 00 69 6E 66 6F 74 61 62 6C 65 00  theme.infotable.
'''00000110'''  00 02 12 99 00 00 00 DB 00 00 00 06 00 02 2C B0  ...™...Û......,°                    '''00000010'''  69 6E 66 6F 00 <span style="background:#ccd815;">63</span> 6F 6D 6D 65 6E 74 00 <span style="background:#00FFFF;">45</span> <span style="background:#2bffb3;">6E 6A</span>  info.<span style="background:#ccd815;">c</span>omment.<span style="background:#00FFFF;">E</span><span style="background:#2bffb3;">nj</span>
'''00000120'''  00 00 1F CE <span style="background:#ccd815;">00 00 00 E0</span> <span style="background:#43BFC7;">00 00 00 02</span> <span style="background:#9AFEFF;">00 00 00 1C</span>  ...Î...à........                    '''00000020'''  <span style="background:#2bffb3;">6F 79 2E</span> 00 <span style="background:#ccd815;">70</span> 72 65 76 69 65 77 73 69 7A 65 00  <span style="background:#2bffb3;">oy</span>..<span style="background:#ccd815;">p</span>reviewsize.
'''00000130'''  <span style="background:#ffff66;">00 00 00 38</span> <span style="background:#ff6666;">00 00 01 60</span> <span style="background:#cef2ce;">FF FF FF FF</span> <span style="background:#5CB3FF;">FF FF FF FF</span>  ...8...`ÿÿÿÿÿÿÿÿ                    '''00000030'''  <span style="background:#ccd815;">6E</span> 61 6D 65 00 <span style="background:#00FFFF;">48</span> <span style="background:#2bffb3;">45 41 56 59 20 52 61 69 6E 20</span>  <span style="background:#ccd815;">n</span>ame.<span style="background:#00FFFF;">H</span><span style="background:#2bffb3;">EAVY.Rain.</span>
'''00000140'''  <span style="background:#ccd815;">00 00 00 EE</span> <span style="background:#FCDFFF;">00 00 00 07</span> <span style="background:#FCDFFF;">00 00 00 00</span> 00 00 00 00  ...î............                    '''00000040'''  <span style="background:#2bffb3;">74 68 65 6D 65</span> 00 <span style="background:#ccd815;">61</span> 75 74 68 6F 72 00 <span style="background:#00FFFF;">51</span> <span style="background:#2bffb3;">75 61</span>  <span style="background:#2bffb3;">theme</span>.<span style="background:#ccd815;">a</span>uthor.<span style="background:#00FFFF;">Q</span><span style="background:#2bffb3;">ua</span>
'''00000150'''  <span style="background:#ccd815;">00 00 00 30</span> <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 35</span> <span style="background:#2bffb3;">00 00 00 10</span>  ...0.......5....                    '''00000050'''  <span style="background:#2bffb3;">6E 74 69 63 44 72 65 61 6D</span> 00 <span style="background:#ccd815;">75</span> 72 6C 00 <span style="background:#00FFFF;">68</span> <span style="background:#2bffb3;">74</span>  <span style="background:#2bffb3;">nticDream</span>.<span style="background:#ccd815;">u</span>rl.<span style="background:#00FFFF;">h</span><span style="background:#2bffb3;">t</span>
'''00000160'''  <span style="background:#ccd815;">00 00 00 E0</span> <span style="background:#43BFC7;">00 00 00 03</span> <span style="background:#9AFEFF;">00 00 00 1C</span> <span style="background:#ffff66;">00 00 01 24</span>  ...à...........$                    '''00000060'''  <span style="background:#2bffb3;">74 70 3A 2F 2F 77 77 77 2E 71 75 61 6E 74 69 63</span>  <span style="background:#2bffb3;">tp://www.quantic</span>
'''00000170'''  <span style="background:#ff6666;">FF FF FF FF</span> <span style="background:#cef2ce;">FF FF FF FF</span> <span style="background:#5CB3FF;">FF FF FF FF</span> <span style="background:#ccd815;">00 00 00 EE</span>  ÿÿÿÿÿÿÿÿÿÿÿÿ...î                    '''00000070'''  <span style="background:#2bffb3;">64 72 65 61 6D 2E 63 6F 6D</span> 00 <span style="background:#ccd815;">61</span> 75 74 68 6F 72  <span style="background:#2bffb3;">dream.com</span>.<span style="background:#ccd815;">a</span>uthor
'''00000180'''  <span style="background:#FCDFFF;">00 00 00 07</span> <span style="background:#FCDFFF;">00 00 00 07</span> 00 00 00 00 <span style="background:#ccd815;">00 00 00 15</span>  ................                    '''00000080'''  69 63 6F 6E 73 69 7A 65 00 <span style="background:#ccd815;">61</span> 75 74 68 6F 72 69  iconsize.<span style="background:#ccd815;">a</span>uthori
'''00000190'''  <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 F5</span> <span style="background:#2bffb3;">00 00 00 33</span> <span style="background:#ccd815;">00 00 00 30</span>  .......õ...3...0                    '''00000090'''  63 6F 6E 00 69 63 6F 6E 73 69 7A 65 00 76 65 72  con.iconsize.ver
'''000001A0'''  <span style="background:#FCDFFF;">00 00 00 03</span> <span style="background:#00FFFF;">00 00 00 35</span> <span style="background:#2bffb3;">00 00 00 10</span> 00 00 01 29  .......5.......)                    '''000000A0'''  73 69 6F 6E 00 76 65 72 73 69 6F 6E 20 31 2E 30  sion.version.1.0
                                                                                                '''000000B0'''  00 6D 74 69 6D 65 00 32 30 30 39 31 30 33 30 31  .mtime.200910301
                                                                                                '''000000C0'''  36 31 33 34 33 00 67 65 6E 72 65 00 6F 74 68 65  61343.genre.othe
                                                                                                '''000000D0'''  72 73 00 70 72 65 76 69 65 77 00 69 63 6F 6E 00  re.preview.icon.
                                                                                                '''000000E0'''  <span style="background:#ccd815;">6C</span> 6F 63 61 6C 69 7A 65 64 69 6E 66 6F 00 <span style="background:#ccd815;">6C</span> 6F  <span style="background:#ccd815;">l</span>ocalizedinfo.<span style="background:#ccd815;">l</span>o
                                                                                                '''000000F0'''  63 61 6C 65 00 <span style="background:#00FFFF;">E3</span> <span style="background:#2bffb3;">81 93 E3 82 8C E3 81 AF E3 82</span>  cale.<span style="background:#00FFFF;">ã</span><span style="background:#2bffb3;">“れはã‚</span>
                                                                                                '''00000100'''  <span style="background:#2bffb3;">B5 E3 83 B3 E3 83 97 E3 83 AB E3 83 86 E3 83 BC</span>  <span style="background:#2bffb3;">µãƒ³ãƒ—ルテー</span>
                                                                                                '''00000110'''  <span style="background:#2bffb3;">E3 83 9E E3 83 95 E3 82 A1 E3 82 A4 E3 83 AB E3</span>  <span style="background:#2bffb3;">マファイルã</span>
                                                                                                '''00000120'''  <span style="background:#2bffb3;">81 A7 E3 81 99 E3 80 82</span> 00 69 63 6F 6E 74 61 62  <span style="background:#2bffb3;">§ã™ã€‚</span>.icontab
                                                                                                '''00000130'''  6C 65 00 73 72 63 00 69 64 00 73 69 7A 65 00 70  le.src.id.size.p
                                                                                                '''00000140'''  6F 69 6E 74 65 72 74 61 62 6C 65 00 70 6F 69 6E  ointertable.poin
                                                                                                '''00000150'''  74 65 72 00 62 61 73 65 5F        [...]          ter.base_ [...]
'''<span style="background:#ccd815;">String Pointer</span>  Points to a Offset within '''String Table''' which represents a string (in this case a Attribute <comment>)                    <span style="background:#ffff66;">Previous Element</span>'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  A Integer value which describe the Typ of the Attribute (3 == String)                                                    <span style="background:#ff6666;">Next Element</span>'''
'''<span style="background:#00FFFF;">String Offset</span>  A Integer value which describe the Offset of a String within '''String Table'''                                                <span style="background:#cef2ce;">First Entry</span>'''
'''<span style="background:#2bffb3;">Length of String</span>  A Integer value which describe the Length of the String to read from '''String Table'''                                      <span style="background:#5CB3FF;">Last Entry</span>'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <previewsize>)                                                                            <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <local>)'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  A Integer value which describe the Typ of the Attribute (1 == Integer)                                                  <span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (7 == ID)'''
'''<span style="background:#9CB071;">Integer Hex Value</span>  A Integer Value which describe the size of the icon "preview"                                                        <span style="background:#00FFFF;">ID Offset</span>'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <name>)                                                                                    <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <name>)'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String)                                                                                                        <span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String)'''
'''<span style="background:#00FFFF;">String Offset</span>                                                                                                                            <span style="background:#00FFFF;">String Offset</span>'''
'''<span style="background:#2bffb3;">Length of String</span>                                                                                                                        <span style="background:#2bffb3;">Length of String</span>'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <author>)                                                                                  <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Element <localizedinfo>)'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String)                                                                                                        <span style="background:#43BFC7;">Attribute Counter</span>  (0x03 == 3)'''
'''<span style="background:#00FFFF;">String Offset</span>                                                                                                                            <span style="background:#9AFEFF;">Parent</span>'''
'''<span style="background:#2bffb3;">Length of String</span>                                                                                                                        <span style="background:#ffff66;">Previous Element</span>'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <url>                                                                                      <span style="background:#ff6666;">Next Element</span>'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String))                                                                                                      <span style="background:#cef2ce;">First Entry</span>'''
'''<span style="background:#00FFFF;">String Offset</span>                                                                                                                            <span style="background:#5CB3FF;">Last Entry</span>'''
'''<span style="background:#2bffb3;">Length of String</span>                                                                                                                        <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <local>)'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <authoriconsize>)                                                                          <span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (7 == ID)'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (1 == Integer)                                                                                                      <span style="background:#00FFFF;">ID Offset</span>'''
'''<span style="background:#9CB071;">Integer Hex Value</span>  -"- "authoriconsize"                                                                                                  <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <comment>)'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <authoricon>)                                                                              <span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String)'''
'''<span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (6 == File)                                                                                                          <span style="background:#00FFFF;">String Offset</span>'''
'''<span style="background:#6666ff;">Offset of Filedata</span>                                                                                                                      <span style="background:#2bffb3;">Length of String</span>'''
'''<span style="background:#2bffb3;">Size of Filedata</span>                                                                                                                        <span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Attribute <name>)'''
'''[...] this repeats till the last Attribute. I will describe on the right side the <localizedinfo> Elements. So we jump back in on Offset 0x124 [...]'''
'''<span style="background:#ccd815;">String Pointer</span>  -"- (in this case a Element <localizedinfo>)                                                                            <span style="background:#FCDFFF;">Typ Descriptor</span>  -"- (3 == String)'''
'''<span style="background:#43BFC7;">Attribute Counter</span>  (0x02 == 2)                                                                                                          <span style="background:#00FFFF;">String Offset</span>'''
'''<span style="background:#9AFEFF;">Parent</span>                                                                                                                                  <span style="background:#2bffb3;">Length of String</span>'''


===XML Output===
===XML Output===
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: