Qt Resource Container (QRC): Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(→‎General format: wrong info. now correct. sorry :| and added tool!)
m (better location for TOOLS header)
Line 25: Line 25:
  xx xx xx xx  size of file sections
  xx xx xx xx  size of file sections


== Tools ==
=== QGL ===
this tool can decompress a QRCC to QRCF and compress a QRCF to QRCC
https://raw.github.com/wargio/ps3tools/master/QGL.c (just run make to compile it)


== Mods ==
== Mods ==
Line 64: Line 57:
<!--// perhaps great to have screenshots + samples per each item and its useage explained //-->
<!--// perhaps great to have screenshots + samples per each item and its useage explained //-->
<!--// see also : http://www.ps3hax.net/showthread.php?t=25618 //-->
<!--// see also : http://www.ps3hax.net/showthread.php?t=25618 //-->
== Tools ==
=== QGL ===
this tool can decompress a QRCC to QRCF and compress a QRCF to QRCC
https://raw.github.com/wargio/ps3tools/master/QGL.c (just run make to compile it)

Revision as of 16:28, 17 October 2012

location: /dev_flash/vsh/resource/qgl

General format

ZLIB Compressing level 9.

QRCC

Compressed (QRCC) file (example from 3.55 lines.qrc):

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  51 52 43 43 00 08 7A 60                          QRCC..z`
51 52 43 43   magic header 'QRCC'
00            divisor
08 7A 60      size of ZLIB unpacked (QRCF) file

QRCF

unpacked (QRCF) file (example from 3.55 lines.qrc):

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  51 52 43 46 00 00 01 10 00 00 00 40 00 00 25 7C  QRCF.......@..%|
00000010  00 00 25 C0 00 00 14 02 00 00 39 D0 00 00 00 1B  ..%À......9Ð....
00000020  00 00 39 F0 00 00 00 00 00 00 39 F0 00 00 00 00  ..9ð......9ð....
00000030  00 00 39 F0 00 08 40 70 00 00 00 00 00 00 00 00  ..9ð..@p........
51 52 43 46   magic header 'QRCF'
00            divisor
xx xx xx xx   size of file sections


Mods

canyon.qrc

location: /dev_flash/vsh/resource/qgl

earth.qrc

location: /dev_flash/vsh/resource/qgl

icons.qrc

location: /dev_flash/vsh/resource/qgl

icontex.qrc

location: /dev_flash/vsh/resource/qgl

lines.qrc

location: /dev_flash/vsh/resource/qgl

raf.qrc

location: /dev_flash/vsh/resource/qgl

rhm.qrc

location: /dev_flash/vsh/resource/qgl

store.qrc

location: /dev_flash/vsh/resource/qgl


Tools

QGL

this tool can decompress a QRCC to QRCF and compress a QRCF to QRCC

https://raw.github.com/wargio/ps3tools/master/QGL.c (just run make to compile it)