BioWare Atari
Información sobre BioWare Juegos de BioWare Soporte Foros 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
Mostrar/Ocultar

English
Deutsch
Français
Español
Italiano

Mostrar/Ocultar

Ver las últimas pantallas 

Ver las últimas pantallas
Mostrar/Ocultar

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



La hora actual es: (insertar hora)
sáb, 21 noviembre 2009 11:58

Mostrar/Ocultar

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

Mostrar/Ocultar

5,048,377 usuarios de BioWare:
  59 conectados
  6 ocultos
  241 invitados

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

447 Registered Guilds

8,768,420 mensajes en los foros

Temas más recientes de los foros:
1. Another update coming next week? (Mass Effect 2 General Discussion (No Spoilers Allowed))

2. Inferno armor available at Amaz... (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. Will ME2 feature "ME1" or "DAO" ... (Mass Effect 2 General Discussion (No Spoilers Allowed))

4. conversation node spawning an it... (NWN2: Builders - NWN2 Scripting)

5. Stupid MAKO!! (Mass Effect 1 General Discussion (No spoilers allowed))