DAT (Ever17): Difference between revisions

From Game Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
| 8Bytes|| 0x00 Filler ||
| 8Bytes|| 0x00 Filler ||
|-
|-
| class="wikitable"
!colspan="15"|Index
!colspan="15"|Index
|-
|-

Revision as of 00:40, 11 July 2014


Seen/used in the follow game(s):

  • Ever17

Structure

Header
Size Content Description
4Bytes Magic/ID
4Bytes File Count
8Bytes 0x00 Filler
Index
Size Content Description
4Bytes Offset
4Bytes File Size
24Bytes File name

Stored offset starts at zero. Actual offset = (16+(file count * 32)).

Stored file size is doubled. Actual file size = (file size /2).

Notes for 'wallpaper.dat' Extracting images straight from the container file will produce broken images. There is nothing wrong with the extraction process but rather the files themselves. Starting from offset 4352 and ending at 4608 in every single JPG, this 256 byte has been modified in some way.

2014/07/10 Currently looking into this with a dissembler and debugger. Looking like XOR was used in some way.