Talk:CXML Containers

From PS3 Developer wiki
Jump to navigation Jump to search

Tools

CXML decompiler

Experimental tool coded by flatz for documenting purposes, three versions of the tool was released publically in a IRC channel the same day (first and second versions had bugs which were identified and fixed)

The tool can extract the files contained inside a CXML container (CXML, QRCF, P3TF, RAFO, etc...), and generates an .xml that represents the original CXML structure

  • Usage:
    • Note the original files lines.qrc and coldboot.raf are compressed with zlib (a compression layer that affects the whole file and makes it imposible to read the cxml structure), the command line examples below considers the files was decompressed in a previous step (using a zlib archiver), in this previous step his file-extensions was renamed to "qrcf" and "rafo" (are the decompressed versions where the cxml structure is fully readable and the tool can process it)
Type This
'''C:\Portables\cxml decompiler v3 alpha>decompiler.exe lines.qrcf lines.xml'''
Type This
'''C:\Portables\cxml decompiler v3 alpha>decompiler.exe coldboot.rafo coldboot.xml'''
Changelog
---------
v1 alpha - Basic .cxml support
v2 alpha - Fixed a bug related with RAFO header (coldboot.raf support added)
v3 alpha - Fixed offset/length displacements in the function that locates float values (xml tag attributes related with x,y,z axis in 3D space now looks correct)
  • CXML decompiler v3 alpha, source code:
Code Sample