How to decompress a new LZS format?
Posted: Sun May 19, 2013 2:57 pm
I used to tool of quickbms but well
and i know my english skill is not good
I was unpacking *.PAC file
*.PAC file was NOT compression
so i writed quickbms code and using code unpacked *pac.file!
used code
unpacking file header is LZS
so
I searched LZS decompress tool and get!! some tools...
but..
I'm not decompressd file
I explain know to LZS header of this file
first 8byte is same as all files of this game
next 4byte unknown
next 4byte is offset
next 4byte maybe decompress SIZE?
next 4byte compress SIZE
next 4byte unnown
next 4byte null
and file name
here attach *.pac file and UNPACKING LZS file
and i know my english skill is not good
I was unpacking *.PAC file
*.PAC file was NOT compression
so i writed quickbms code and using code unpacked *pac.file!
used code
Code: Select all
//zjvlqkd
//.PAC file
idstring "add"
goto 0x10
get FILES long
goto 0x20
for i = 0 < FILES
get offset long
get size long
get dummy long
get dummy long
get name_offset long
savepos break
goto name_offset
get name string
goto break
getdstring null 0xC
get name1 filename
string name1 += "_unpacked/"
string name1 += name
log name1 offset size
next i
so
I searched LZS decompress tool and get!! some tools...
but..
I'm not decompressd file
I explain know to LZS header of this file
first 8byte is same as all files of this game
next 4byte unknown
next 4byte is offset
next 4byte maybe decompress SIZE?
next 4byte compress SIZE
next 4byte unnown
next 4byte null
and file name
here attach *.pac file and UNPACKING LZS file