Hi I'm trying to hack/mod the farcry evolution for xbox 1.
Currently, I'm trying to extract the .dat archives for the game, so I can edit the game resources like weapons, models, and textures. So it in the very early stages of hacking, since the resources of the game are still not avail.
The are two files for stock maps: a .DAT File and a .FAT file. The FAT file is like the directory that tells you how many files are stored in the DAT archive, their offsets, and their filesize. This is the structure of the FAT file:
Open .Fat to read .dat file
.Fat Archive:
[4] - ID (DAT2)
[4] - Int32 - Number of Files
Number of Files Loop (12 bytes a entry)
[4] - Offset: In .Dat
[4] - File Size
[4] - ID/Hash?
Knowing this structure I have created an xml file containing this data in xml trees. However, I'm not quite sure if it is correct and I need someone with more experience than me who knows about binary numbers, hex, and this general kind of knowledge to help me out.
I added up all the filesizes I got from the FAT file and then checked the file size of the DAT file, and it checks out. But the offsets and hash values I read are nowhere to be found, so maybe I'm doing something wrong here. I have a sample file and the accompanying XML file i made after parsing ready to go, if someone wants to help me with this.
All you have to do is reply! - Thank you