Resurssiklunssi v0.3 by Z33

This tool will scan through all *.rco files placed inside the rco-folder.

What it does is:
- Decompresses ZLIB/2RLZ-compressed headers.
- Decompresses and recompiles 2RLZ-compressed languagetables.
- Decompresses 2RLZ-compressed graphic- and modelfiles and recompresses them
  using ZLIB-compression.
- Compresses found unpacked graphic- and modelfiles using ZLIB-compression.
- Optionally re-compresses headers and languagetables to save flashspace.

What YOU need to do is:
- Use 3.xx OE firmware (propably doesn't work with regular 1.50 firmware).
- Get DECRYPTED and UNCOMPRESSED SYSMEM.PRX from 2.70 or newer firmware and
  place it to the rco-folder. Use psardumper/prxdecrypter to obtain that file.
- Place some rco-files from any firmware version to the rco-folder.
- Get recompiled files out from the rco/done-folder afterwards.


NOTE: Do not try to customize compressed RCO's! Convert them again with
      CROSS/TRIANGLE before customizing, to have the headers/languagetables
      in editable format!


History-chapter:

0.3  - Added some errorhandling (also works secretly as an optimizing feature,
       if you know how to exploit it ;) <HINT>2RLZ-flag</HINT>).

0.2  - *.rco files from 2.60 firmware are now handled correctly.
       No need to press triangle during launch with the new options.
       Added option to re-compress headers/languagetables.

0.1b - By keeping TRIANGLE pressed when launching, flash0:/vsh/resource/ is
       scanned for *.rco files instead of ms0:/rco/

0.1a - Added some more checks for sysmem.prx problems

0.1  - Initial build
