BioWare Atari
Informazioni BioWare Giochi BioWare Supporto Forum 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
Mostra/nascondi

English
Deutsch
Français
Español
Italiano

Mostra/nascondi

Vedi le immagini più recenti 

Vedi le immagini più recenti
Mostra/nascondi

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



L'ora attuale è: (imposta ora)
dom, 22 novembre 2009 05:06

Mostra/nascondi

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

Mostra/nascondi

5,050,900 utenti BioWare:
  50 collegati
  0 nascosti
  160 ospiti

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

447 Registered Guilds

8,768,679 messaggi nei forum

Nuove discussioni:
1. "Open Your Browser and Close You... (Mass Effect 2 General Discussion (No Spoilers Allowed))

2. A List Gleaned from Dev Statemen... (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. Drowned Dead Test (NWN2: Players - Storm of Zehir (Spoilers Warning))

4. 2 newb problems: Lever puzzle, a... (NWN2: Builders - NWN2 Scripting)

5. Vorcha + Krogans o_0 (Mass Effect 2 General Discussion (No Spoilers Allowed))