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)

 

 

Dragon Age: Origins Preorder
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)
Sat, 21 November 2009 11:33AM

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,039,493 BioWare Users:
  58 Logged In
  3 Hidden
  175 Guests

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

446 Registered Guilds

8,767,802 posts in forums

Newest Forum Topics:
1. Spawn door OnEnter / Despawn doo... (NWN 1: Scripting)

2. ***Theory on Scars + Ashley/Kaid... (Mass Effect 2 General Discussion (No Spoilers Allowed))

3. Sword of Truth module (NWN 1: Modules Discussion)

4. PRC level 9 spells (NWN 1: Custom Content)

5. Default Summoned AI/Scripts (NWN 1: Scripting)