BioWare Atari
BioWare Info BioWare Games Support Forums Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

4. ERF Resource List and Resource Data

[Printer Friendly]

The Resource List specifies where the data for each file is located and how big it is.

Resource List Format

The Resource List looks just like the Key list, except that it has Resource List elements instead of Key List elements. The ERF header's EntryCount specifies the number of elements in both the Key List and the Resource List, and there is a one-to-one correspondence between Keys and Resource List elements.

Resource List Element 0

Resource List Element 1

Resource List Element 2

....

Resource List Element (n-1)

Resource List Element Structure

Each Resource List Element corresponds to a single file packed into the ERF. The Resource structure specifies where the data for the file begins inside the ERF, and how many bytes of data there are.

OffsetToResource

32 bit

offset to file data from beginning of ERF

ResourceSize

32 bit

number of bytes

Resource Data

After the Resource List, all the data in an ERF consists of raw data for all the files that the ERF contains. The data for one file is packed right up against the data for the next file. The offsets and sizes in the Resource List specify where one file ends and another begins.

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

 

 

Mass Effect Galaxy
Neverwinter Nights 2 Forums
Hide/Show

English
Deutsch
Français
Español
Italiano

Hide/Show

View Latest Screenshots 

View Latest Screenshots
Hide/Show

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



Current time is: (set time)
Sun, 22 November 2009 02:21AM

Hide/Show

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

Hide/Show

5,049,649 BioWare Users:
  50 Logged In
  5 Hidden
  203 Guests

1344 Playing Online
  100% NWN
  99% NWN: SoU
  101% NWN: HotU

447 Registered Guilds

8,768,566 posts in forums

Newest Forum Topics:
1. Video games? (NWN 1: General Discussion (No Spoilers Allowed))

2. How to Change the Death Message (NWN 1: Toolset)

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

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

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