BioWare Atari
BioWare Info BioWare Spiele Support Foren Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

3. ERF Key List

[Printer Friendly]

The ERF Key List specifies the filename and filetype of all the files packed into the ERF.

Key List Format

The Key List consists of a series of Key structures one after another. Unlike the String List elements, the Key List elements all have the same size. The EntryCount in the ERF header specifies the number of Keys.

Key List Element 0

Key List Element 1

Key List Element 2

....

Key List Element (n-1)

Key Structure

Each Key List Element has the following structure:

ResRef

16 bytes

Filename

ResID 

32 bit

Resource ID, starts at 0 and increments

ResType 

16 bit

File type

Unused

16 bit

NULLs

The ResRef is the name of the file with no null terminator and in lower case. A ResRef can only contain alphanumeric characters or underscores. It must have 1 to 16 characters, and if it contains less than 16 characters, the remaining ones are nulls.

The ResID in the key structure is redundant, because the its possible to get the ResID for any ERF Key by subtracting the OffsetToKeyList from its starting address and dividing by the size of a Key List structure.

When a file is extracted from an ERF, the ResRef is the name of the file after it is extracted, and the ResType specifies its file extension. For a list of ResTypes, see the section on ResTypes later in this document.

Go to Page (Previous Page - Index, 1, 2, 3, 4, 5 - Next Page)

 

 

BioWare Store
Neverwinter Nights 2 Forums
Anzeigen/Verbergen

English
Deutsch
Français
Español
Italiano

Anzeigen/Verbergen

Neueste Bildschirmfotos anzeigen 

Neueste Bildschirmfotos anzeigen
Anzeigen/Verbergen

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Aktuelle Uhrzeit: (Zeit einstellen)
So, 22 November 2009 01:48

Anzeigen/Verbergen

Buy Premium Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Anzeigen/Verbergen

5,049,352 BioWare-Benutzer:
  59 Eingeloggt
  2 Verborgen
  224 Gäste

1313 Playing Online
  100% NWN
  101% NWN: SoU
  101% NWN: HotU

447 Registered Guilds

8,768,526 Einträge in den Foren

Neueste Themen in den Foren:
1. Toolset work with Vista? (NWN2: Builders - NWN2 Toolset)

2. Vale of Merdelain (NWN2: Players - Storm of Zehir (Spoilers Warning))

3. Freezing at Specific character's... (Baldur's Gate II: SoA and ToB Technical Support)

4. Won't let me create new topic (Web Site Help)

5. BUILDERS - Showcase YOUR Talent! (NWN 1: Guilds and Registry - Ye Olde Tavern)