Talk:CXML Containers: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 8: Line 8:


*Usage:
*Usage:
**Note the original files [[lines.qrc]] and [[coldboot.raf]] are compressed with zlib (a compression layer that affects the whole file and makes imposible to read the cxml structure), the command line examples below considers the files was decompressed in a previous step (using a [http://www.psdevwiki.com/ps3/Qt_Resource_Container_%28QRC%29#ZLIB_archivers 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)
**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 [[Qt_Resource_Container_%28QRC%29#ZLIB_archivers|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)


{{Keyboard|content=
{{Keyboard|content=

Revision as of 07:02, 9 September 2014

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