23 hours ago23 hr Hello! I need help with a dat file. This type of file was used in early games by The Collective for the Xbox original version. Specifically, in Buffy the Vampire Slayer and Indiana Jones and the Emperor's Tomb. Essentially, it's a compiled binary archive. When I view the contents in a hex editor, I can see the structure, but I would like to unpack the contents, modify them, and repack them. Below is an example of this file. (Indiana Jones and the Tomb of the Emperor). I wanted to replace the sounds with my own, but I can’t parse the dat file. Does anyone have any experience or insights in this area? install.7z
1 hour ago1 hr Supporter //------------------------------------------------ //--- 010 Editor v14.0 Binary Template // // File: // Authors: // Version: // Purpose: // Category: // File Mask: // ID Bytes: // History: //------------------------------------------------ OutputPaneClear(); local uint32 i; uint32 ResourceCount; FSeek(544); struct { uint32 ResourceSize; uint32 ResourceAlign; char ResourceName[80]; }ResourceDefinition[ResourceCount]; FSeek(16384); local uint32 BaseOffset=FTell(); struct { for (i=0; i < ResourceCount; i++) { struct { byte ResourceData[ResourceDefinition[i].ResourceSize]; byte ResourceAlign[ResourceDefinition[i].ResourceAlign - ResourceDefinition[i].ResourceSize]; }Resource; } }Resources;
Create an account or sign in to comment