is it possible to create a bms script Extract/deflate zlib without knowing extracted size like how offzip works? I cant use offzip since some files are not extracted properly (some are cut) and the TOC is encrypted and I got no clue how to decrypt it.
I tried this, jus by giving it a big extract files, it works with some but fails on most
log MEMORY_FILE 0 0
clog MEMORY_FILE OFFSET ZSIZE 0x1000000
GetDString EXT 0x3 MEMORY_FILE
string NAMEZ p= "%s_%05d.%s" NAME i EXT
get EXTRACT_SIZE ASIZE MEMORY_FILE
log NAMEZ 0 EXTRACT_SIZE MEMORY_FILE
not sure if there is a proper computation to be done, can anyone help?