Important information: this site is currently scheduled to go offline indefinitely by end of the year.

about quickbms recompression zlib_compress type

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Allen
n00b
Posts: 15
Joined: Fri Feb 17, 2012 9:49 am
Has thanked: 7 times
Been thanked: 9 times

about quickbms recompression zlib_compress type

Post by Allen »

I am now working on the localization of a game.
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 
How can I changed to 789C?

sorry my bad english.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: about quickbms recompression zlib_compress type

Post by aluigi »

why you would do it?

that sequence of bytes contains info about the compression like the used algorithms and the compression level.
note that it doesn't affect the decompression algorithms.
Allen
n00b
Posts: 15
Joined: Fri Feb 17, 2012 9:49 am
Has thanked: 7 times
Been thanked: 9 times

Re: about quickbms recompression zlib_compress type

Post by Allen »

yes,aligui!Thanks for your reply!
You are right! The game support 78DA.
In my tests, it also proves this point.
Post Reply