mrmaller1905 Posted February 24 Posted February 24 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.rarFetching info...
Moderators Solution ikskoks Posted February 24 Moderators Solution Posted February 24 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
mrmaller1905 Posted February 25 Author Posted February 25 On 2/24/2025 at 8:23 PM, 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 Expand Can you update your QuickBMS script to map filenames and hashes I've logged?
Moderators ikskoks Posted March 3 Moderators Posted March 3 On 2/25/2025 at 7:40 AM, mrmaller1905 said: Can you update your QuickBMS script to map filenames and hashes I've logged? Expand 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.
mrmaller1905 Posted March 3 Author Posted March 3 On 3/3/2025 at 3:52 PM, 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. Expand No! I want filename mapping to QuickBMS script. Do you have an idea what I can map filenames to QuickBMS script?
Moderators ikskoks Posted March 3 Moderators Posted March 3 On 3/3/2025 at 4:57 PM, mrmaller1905 said: No! I want filename mapping to QuickBMS script. Expand And what's the difference? What could you possibly gain by aquiring such mapping? Please explain.
Moderators ikskoks Posted March 3 Moderators Posted March 3 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 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now