Home
For Developers
ERF Format
1. Global Erf Structure and ERF Header Format
1. Global Erf Structure and ERF Header Format
[Printer Friendly]
Global ERF Structure
ERF Header format
| FileType |
4 char |
"ERF ", "MOD ", "SAV ", "HAK " as appropriate |
| Version |
4 char |
"V1.0" |
| LanguageCount |
32 bit |
number of strings in the Localized String Table |
| LocalizedStringSize |
32 bit |
total size (bytes) of Localized String Table |
| EntryCount |
32 bit |
number of files packed into the ERF |
| OffsetToLocalizedString |
32 bit |
from beginning of file, see figure above |
| OffsetToKeyList |
32 bit |
from beginning of file, see figure above |
| OffsetToResourceList |
32 bit |
from beginning of file, see figure above |
| BuildYear |
4 bytes |
since 1900 |
| BuildDay |
4 bytes |
since January 1st |
| DescriptionStrRef |
4 bytes |
strref for file description |
| Reserved |
116 bytes |
NULL |
The Reserved part of the ERF header allows for additional properties to be added to the file format later while maintaining backward compatibility with older ERFs.
Go to Page (Previous Page - Index, 1, 2, 3, 4, 5 - Next Page)