Hi,
I'm a newbie in writing quickbms script. I wonder if there is any solution for reading compressed and decompressed data (the one which has just been decompressed by the script itself) in one and only quickbms script?
Like some decompressed files have their filename in data, while compressed files don't as it is unreadable. I'd like to get that filename for the final output instead of writing another script to rename decompressed files.
Thanks in advance.
Read compressed and decompressed data in one script
-
- Posts: 58
- Joined: Thu Jun 16, 2016 11:02 am
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Read compressed and decompressed data in one script
Decompress it in a MEMORY_FILE and read the decompressed string from there.
Generic example:
clog MEMORY_FILE OFFSET ZSIZE SIZE
get NAME string MEMORY_FILE
Generic example:
clog MEMORY_FILE OFFSET ZSIZE SIZE
get NAME string MEMORY_FILE