QuickBMS crc engine

Doubts, help and support about QuickBMS and other game research tools
zigzag
Posts: 1
Joined: Sun Apr 04, 2021 7:32 pm

QuickBMS crc engine

Post by zigzag »

Hi, recently I'm come across some checksum that I cant figure it out, so I used QuickBms crc scanner, and its give me the correct algorithm for it and it was:

Code: Select all

0x01800063  "32 0 0 37 0 0"

its worked perfectly
but problem is I need to be able generate this checksum in my own program (because structure of the file I'm currently working on is a bit complex and quickbms cant handle importing for it)
I wonder how can I use the algorithm that quickbms give me in my own program..?
its possible to create a dll from quickBMS crc Engine? I think it can be very useful
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: QuickBMS crc engine

Post by spiritovod »

@zigzag: You can check quickbms documentation for crc reference and using of QUICKBMS_CRC_TABLE for your needs. Also, 37 algorithm would be adler32 and you can find its implementation in src\libs\libbsc\adler32 of source code.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: QuickBMS crc engine

Post by aluigi »

Ah, you need quickbms 0.11 for that QUICKBMS_CRC_TABLE feature and using -V at command-line to make it visible when using the command: print "%QUICKBMS_CRC_TABLE%"