I need use quickbms re-zlibcompress file.
game original file use zlib standard compression :789C.
I write a script recompress file.but Compressed file is is 78DA(compression extreme),not 789C.
Code: Select all
comtype zlib_compress
get size asize
log MEMORY_FILE 0 0
put size long MEMORY_FILE #write uncompress size
get name filename
append
clog MEMORY_FILE 0 size size
append
get size asize MEMORY_FILE
log name 0 size MEMORY_FILE
sorry my bad english.