ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Jan 20, 2019 7:14 pm

All times are UTC




Post new topic  Reply to topic  [ 385 posts ]  Go to page Previous 116 17 18 19 20
Author Message
PostPosted: Sun Nov 25, 2018 11:31 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9654
QuickBMS 0.9.2 is now available.


Top
   
PostPosted: Thu Dec 20, 2018 4:53 pm 
User avatar

Joined: Thu Dec 20, 2018 4:50 pm
Posts: 4
Discovered an excellent program QuickBMS, but there are a couple of questions:

1. Is it possible to add a command line option to disable automatic guessing of the extension based on the contents of the extracted files?
2. Unfortunately, I did not find any instructions for building QuickBMS on Windows from sources. Do I need any special settings, libraries, compilers?

Many thanks to the author for the tremendous work!


Top
   
PostPosted: Thu Jan 10, 2019 5:42 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9654
1)
Usually people just use a static name in the script for dumping files with a fixed extension.
For example:
Code:
string NAME p "%d.dat" i
log NAME OFFSET SIZE

Basically it depends how really useful would be such option because there are already many options in quickbms and a simple script patch can do the job :D


2)
The current version of quickbms includes most of the libraries in its own source code but there are still some external ones, for example xcompress.lib (from the Xbox SDK) and openssl.
Everything else is already there and should work with make
I use a big .bat file for doing the job with many optimizations.


Top
   
PostPosted: Sat Jan 12, 2019 8:42 am 
User avatar

Joined: Thu Dec 20, 2018 4:50 pm
Posts: 4
aluigi wrote:
Basically it depends how really useful would be such option because there are already many options in quickbms and a simple script patch can do the job :D

Many thanks for pointing this out. Your code works great. For example, in zlb1a.bms I did like this:
Code:
math i = 0
for OFFSET = OFFSET < EXE_SIZE
[...]
    string NAME p "%08x.dat" i
    if CHECK == 0x005d  # lzma
        clog NAME OFFSET SIZE SIZE
    else
        log NAME OFFSET SIZE
    endif
    math OFFSET = NEXT_OFFSET
    math i += 1
next


Top
   
PostPosted: Sat Jan 12, 2019 9:06 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9654
Good :)
In your case another solution would have been to use OFFSET instead of "i" since it's a sequential format and "i" wasn't available.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 385 posts ]  Go to page Previous 116 17 18 19 20

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