QuickBMS 0.6.1

Doubts, help and support about QuickBMS and other game research tools
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

QuickBMS 0.6.1

Post by aluigi »

I have just released the new version of quickbms:
http://quickbms.aluigi.org

The following is the changelog:

Code: Select all

most of the global variables now have a g_ prefix, new NameCRC instruction for working with list of filenames, support for full scripts passed as command-line argument (';' separated), support for C NULL delimited arrays like short var[], many new crc/hash algorithms for the encryption and namecrc commands, added basename/filepath/filename comparisons for conditions, fix for math x with big numbers, added Set filepath, String P mode to use the same syntax of the Print command, enhancement of the Comtype dictionary to allow data containing zeroes, added new compression and recompression algorithms, mpq encryption, fix for the prs compression, more information when a read and compression error occurs, option -M for extracting only the files different than those available in another folder, no folders creation with -0 and -O, QUICKBMS_FILENAME internal variable, updated some libraries, zlib_noerror and deflate_noerror automatically increase the uncompressed size if needed (they use the same code of unzip_dynamic), Xmemdecompress with automatic decompression of Xbox files compressed with xbcompress (lzxdecode and lzxnative), lzma_dynamic with automatic scanning of the flags in case of failure, small fix for some gzip files, other small fixes and improvements, support for C enum, idstring information in -V mode, visualization of the last script line that caused the error, updated some libraries like lzma


Many things have been changed so I hope that everything works correctly as usual, anyway let me know if you have some problems with this new 0.6.1 version.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

Just released a micro fix, basically I have removed the visualization of the "last bms line" if everything was ok without errors.
Because that message must be visualized only in case of errors to warn the user and me about where was the problem.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

QuickBMS 0.6.1b
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

My plan for a next minor version is to add a command for a better handling of the string commands, something like String2 or similar.
For example I just noticed that the "String VAR >> VAR" command works from the end of the string and there is not equivalent that works from the beginning, for example if you have the string "test test2 test3" and the second VAR is " ", the result will be "test test2".

Anyway there is no rush because it's not a critical feature.
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: QuickBMS 0.6.1

Post by MerlinSVK »

Luigi, is there a way how to set level of compression?

Something like comtype zlib [DICT] [DICT_SIZE] [LEVEL], where level is 0..9 (..max = kzip)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

No, the compressions used in quickbms already use the maximum level available.
The only thing you can set is the dictionary:
comtype zlib_compress "\x11\x22\x33\x00...dictionary..."
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

Just found a bug in quickbms 0.6.1:
get NAME basename
doesn't return the basename but it returns the filename, I will try to fix it today as soon as possible because it's a bad issue.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

QuickBMS 0.6.1c
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS 0.6.1

Post by aluigi »

QuickBMS 0.6.1d