View Single Post
Old 15 January 2009, 18:29   #87
dima
 
Posts: n/a
Quote:
Originally Posted by Qube View Post
PC's CHAOS.DAT:

I think..

B6 0B 00 00 initial header, this equals 2998 (0x00000BB6), which is the size of the TOC.. (offset 0-2997)

TOC:

[00] - Filename length in characters (00-0C = 00 to 12 characters, typically 09-0C).
[FILENAME.EXT] - (00 to 12 characters this can be).
[00 00 00 00] - 4 bytes, this is the position in CHAOS.DAT of the file's data.
[00 00 00 00] - 4 bytes, this is the length of the file's data.
I agree with you. But first DWORD (B6 0B 00 00) it is not a count of sections, it is an offset to data start. I thought the same and extracted these files about two weeks ago. But do not understand what they contain. gfx - it is a graphic files, sfx - sound files: I hope. And ever level has two files *.dat and *.pld (for example N1chaos.dat and N1chaos.pld ) but they do not contain information about width, height of map and another stuffs. What do you think about it?

Last edited by dima; 15 January 2009 at 19:24.
 
 
Page generated in 0.11295 seconds with 11 queries