Expand description
Library for reading from/writing to IMG archives (and supplementary DIR files) used throughout the 3D universe-era of Grand Theft Auto games.
Modules§
- error
- Contains types for errors.
- read
- Contains types and the accompanying logic for reading from archives of different versions.
- write
- Contains types and the accompanying logic for writing to archives of different versions.
Constants§
- NAME_
SIZE - Represents the maximum length of the name of an entry, excluding the null-terminator.
- NULL_
TERMINATOR - Represents the null terminator for the names of entries.
- SECTOR_
SIZE - Represents the number of bytes of a sector.
- VERSION_
2_ HEADER - Represents the structure for a V2-style header.