The DOS version of the game Lost Eden has a giant GRAF called EDEN.DAT file. ; k7 L0 ~- _! Y
* ?4 @4 ^- O# t; r% `
Format Specifications 8 r( E) x9 W, N
The EDEN.DAT file begins with 2 bytes which might indicate the number of files contained in the GRAF. Following this number is a series of 25-byte records. Each record is laid out as follows: # e+ [! a6 g. L
& H' E8 C$ d, b bytes 0-11 filename: typically 8.3 DOS filenames, padded with zeroes
. n+ X" j% e# f! y* m bytes 12-15 unknown3 _5 m& _8 y8 Q
bytes 16-19 file size% z v& r( ]+ @# a
bytes 20-23 absolute offset of file within GRAF7 N- D( n" M0 W7 x
byte 24 unknown
6 b) c3 r8 I. i4 g9 ~5 `' IWorking with the hypothesis that the first 2 bytes indicate the number of records, EDEN.DAT should have 2621 records. At 25 bytes each, the first 65525 bytes should contain record data. However, a large block of bytes at the end of the first 65525 bytes are 0. Thus, if following this strategy, be sure that the filename, size and offset record fields are non-NULL before fetching for the file. " @* K5 n7 ]3 o9 ?
|