ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Oct 31, 2020 9:27 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 01, 2019 3:34 am 

Joined: Thu Jun 16, 2016 11:02 am
Posts: 58
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.


Top
   
PostPosted: Tue Oct 01, 2019 8:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11701
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited