February 24, 20251 yr Localization Can anyone write a file format specification for Conflict: Global Storm DATs? The unpacker is already made by Ekey https://github.com/Ekey/CE.DAT.Tool Sample: https://drive.google.com/file/d/1-VrfIG0LcCwjpIR1NGNoWomho2eaDIIz/view?usp=sharing conflictglobalstorm_loggedfilenames.rar
February 24, 20251 yr Supporter Solution Here is file format specification for DAT archives: // index // for each file 4 bytes (uint32) - filename hash 4 bytes (uint32) - file offset 4 bytes (uint32) - file size // data // for each file x bytes - file data And here is my old script I've created for this format 4 years ago: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/Conflict Desert Storm/conflict_desert_storm_dat_script.bms
February 25, 20251 yr Author Localization 11 hours ago, ikskoks said: Here is file format specification for DAT archives: // index // for each file 4 bytes (uint32) - filename hash 4 bytes (uint32) - file offset 4 bytes (uint32) - file size // data // for each file x bytes - file data And here is my old script I've created for this format 4 years ago: https://github.com/bartlomiejduda/Tools/blob/master/NEW Tools/Conflict Desert Storm/conflict_desert_storm_dat_script.bms Can you update your QuickBMS script to map filenames and hashes I've logged?
March 3, 20251 yr Supporter On 2/25/2025 at 8:40 AM, mrmaller1905 said: Can you update your QuickBMS script to map filenames and hashes I've logged? No, sorry, "NameCRC" function from quickbms doesn't support custom hashes, so it seems to be not so trivial to code at the moment. But you don't need to do anything, because "CE.DAT.Tool" can unpack all filenames from your sample file without any issues. So just use the existing tool.
March 3, 20251 yr Author Localization 1 hour ago, ikskoks said: No, sorry, "NameCRC" function from quickbms doesn't support custom hashes, so it seems to be not so trivial to code at the moment. But you don't need to do anything, because "CE.DAT.Tool" can unpack all filenames from your sample file without any issues. So just use the existing tool. No! I want filename mapping to QuickBMS script. Do you have an idea what I can map filenames to QuickBMS script?
March 3, 20251 yr Supporter 1 hour ago, mrmaller1905 said: No! I want filename mapping to QuickBMS script. And what's the difference? What could you possibly gain by aquiring such mapping? Please explain.
March 3, 20251 yr Supporter Not sure if this will help you (because your demands seems unresonable to me), but I've rewritten the hashing code in Python. You can use it if you want: https://github.com/bartlomiejduda/ReverseBox/blob/main/reversebox/hash/hash_pivotal_games_dat.py
Create an account or sign in to comment