View Single Post
Old 12 January 2009, 21:47   #83
Qube
Registered User
Qube's Avatar
 
Join Date: Aug 2006
Location: England
Posts: 200
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.
..repeat..

e.g, last entry in archive TOC is..

0A 4C 41 55 4E 43 48 2E 42 49 4E 65 2C 0F 00 1B 05 00 00 =
[10] [LAUNCH.BIN] [65 2C 0F 00] [1B 05 00 00] =
[10] [LAUNCH.BIN] [994405] [1307]

Now to work out the decrunch lol.
Q;

Last edited by Qube; 13 January 2009 at 00:55. Reason: updated for clarity, plus header
Qube is offline  
 
Page generated in 0.21407 seconds with 9 queries