BioWare Atari
Information de BioWare Jeux BioWare Assistance Forums 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
Cacher/Afficher

English
Deutsch
Français
Español
Italiano

Cacher/Afficher

Voir les dernières captures d'écran 

Voir les dernières captures d'écran
Cacher/Afficher

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Il est actuellement: (régler heure)
dim, 22 novembre 2009 02:10

Cacher/Afficher

Download 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

Cacher/Afficher

5,049,567 utilisateurs sur le site de BioWare:
  63 connectés
  4 invisibles
  214 invités

1324 Playing Online
  100% NWN
  100% NWN: SoU
  100% NWN: HotU

447 Registered Guilds

8,768,561 messages dans les forums

Sujets les plus récents dans les forums:
1. How to Change the Death Message (NWN 1: Toolset)

2. Toolset work with Vista? (NWN2: Builders - NWN2 Toolset)

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

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

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