Jump to content

Conflict: Global Storm (PC) *.dat


Go to solution Solved by ikskoks,

Recommended Posts

  • Moderators
  • Solution
Posted

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

Posted
  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
Posted
  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.
obraz.png.95301e068edad8036f619ebdb55e6fb1.png

So just use the existing tool.

Posted
  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.
obraz.png.95301e068edad8036f619ebdb55e6fb1.png

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...