*.dir |
File Formats |
Fil_dir.html |
*.dir - contains info for the file entries of an *.img file of the same name
models/*.dir
The *.dir files are collections of records that list the file entry information for an img file with the same name.
TDirEntry = record
StartBlock: Longword;
BlockCount: Longword;
Name: array[0..23] of Char;
end;
StartBlock - the start of the file. And since a block is 2048 bytes large you just multiply it with 2048 to get the actual file offset
BlockCount - the size of the file. And as with StartBlock you have to multiply it with 2048 to get the actual file size
Name - the filename, padded with 0's to fill out it's 24 bytes.
-
-
Dan Strandberg Game-Editing.net
IMG Edit
|
File Formats |
Last change: 24 August 2002 |
unofficial GTA III Reference |