|ps2 (RLE) grc recompression script edit
|Page 1 of 1|
|Author:||kenji [ Mon Jul 03, 2017 3:13 am ]|
|Post subject:||ps2 (RLE) grc recompression script edit|
Hi this is a request for an edit of the recompression script i've got for ps2 grc files that use RLE.The script currently recompresses but the compressed files are larger than the original compressed ones.this is a link to 2 samples 1 compressed and the other uncompressed http://www119.zippyshare.com/v/4O9nEgvX/file.html
and this is the current compression script
log MEMORY_FILE 0 0
This is the information used to write the uncompression script
Read in one byte at a time
If this byte is less than 0xc0 output it.
If this byte is 0xc0 end decompression.
If this byte is 0xc1 output the next byte directly.
If this byte is greater than 0xc1, subtract 0xc0. This is the number of bytes that will be copied. Read in the next byte, this is the number of bytes back to start copying data from.
Thanks for any help
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Limited