Need for Speed Modding Wiki

[Main page] [All tags] [All pages] [Git]

VPAK


Page index

Format
  Section 1 - Header
  Section 2 - Metadata
  Section 3 - Global string block
  Section 4 - Vault data
Notes

VPAK (likely short for "vault pack") files are made out of vaults. These vaults contain AttribSys databases, each containing BIN and VLT sections. VPAKs are used in Need for Speed Most Wanted, Carbon, ProStreet, Undercover and World.

The files may be compressed with JDLZ (.lzc).

Format#

On PC, all integers are little endian, 32-bit and unsigned. On Gamecube and XBOX 360, endianness of some or all numbers may be different.

Important: The sorting of vaults matters. Original VPAKs seem to have vaults sorted by their name, using C's strcmp.

Section 1 - Header#

The file's header.

Section 2 - Metadata#

Each vault has a metadata entry, describing it. Repeat this sequence NumEntries times.

At the end, there are nulls, padded to the nearest multiple of 64.

Section 3 - Global string block#

Contains strings.

Section 4 - Vault data#

Contains the actual data for the vaults. Repeat this sequence NumEntries times.

Notes#


Last updated: 2025-01-08 09:07, Log

Top