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
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?

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

So just use the existing tool.

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

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?

  • Moderators
Posted
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.

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...