next
1: the starting situation
  • output_folder: where will be placed our unpacked tests
  • unknown.dat: our raw compressed files of which we ignore the algorithm
  • defs.h: the file located in the src folder of quickbms.zip, needed to know the algorithm found
    note that in future its name could change
  • comtype_scan2.bms: http://aluigi.org/papers/bms/comtype_scan2.bms
  • comtype_scan2.bat: http://aluigi.org/papers/bms/comtype_scan2.bat
  • quickbms.exe: obviously :)


next
2: the content of unknown.dat seen with a hex editor


next
3: start comtype_scan2.bat to see the accepted arguments and the optional ones (uncompressed file size)


next
4: pass the needed arguments to comtype_scan2.bat and start it


next
5: you will see various crashes during this operation, don't worry and click ever on Close


next
6: some algorithms will also freeze so if nothing happens within 3 seconds press CTRL-C and type 'n'


next
7: finally all the test files have been dumped in our output_folder, now check them with a hex editor


next
8: cool, the test file 22 seems to contain data with a sense, it's the perfect one


9: open defs.h and go to see what's the algorithm of that test number