Code: Select all
get SIZE asize
for i = 0 < SIZE
get TMP byte
if TMP >= 0xc0
put 0xc1 byte MEMORY_FILE
endif
put TMP byte MEMORY_FILE
next i
get SIZE asize MEMORY_FILE
get NAME filename
string NAME -= "_uncompressed"
log NAME 0 SIZE MEMORY_FILE
Code: Select all
RECOMPRESS SCRIPT MAKES FILE BIGGER THAN ORIGINAL
these are samples http://www.filedropper.com/svcchaosgrcfiles