The VG Resource
Request for help figuring out RLE compression - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Archive (https://www.vg-resource.com/forum-65.html)
+--- Forum: Old (https://www.vg-resource.com/forum-148.html)
+---- Forum: Requests (https://www.vg-resource.com/forum-131.html)
+---- Thread: Request for help figuring out RLE compression (/thread-27162.html)



Request for help figuring out RLE compression - TGE - 05-23-2015

So basically I have this ps2 game that uses a form of RLE compression (seems likely)
I've got both a compressed and an uncompressed version of the same file if that helps.
Each compressed file starts with a small header.

Code:
UInt32 id;
UInt32 size;
char[4] tag;
UInt32 uSize; //uncompressed size

After that the RLE compression starts, though I'm not too familiar with them myself I can tell that the second byte is the amount of bytes to read.

Samples:

.zip   BU00A.zip (Size: 563.97 KB / Downloads: 149)