Lemmings Paintball

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

VSR


Format Specifications

char {4}     - Header (CRID)
uint32 {4}   - Archive Size [+8]
uint32 {4}   - Number Of Directories
uint32 {4}   - Type? (3)
uint32 {4}   - File Size (not including first 2 fields) (the size of THIS chunk, not the archive size!)

// for each directory

char {X}     - Filename
byte {1}     - null Filename Terminator
byte {0-3}   - padding to make filename+null a multiple of 4


uint32 {4}   - Unknown
uint32 {4}   - Unknown

// for each directory

char {4}     - Header (CRID)
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Size
byte {16}    - null
uint32 {4}   - Unknown
uint32 {4}   - File ID


// go to each Directory Offset

char {4}     - Header (CRID)
uint32 {4}   - Directory Size (same as in the dirEntry above)
uint32 {4}   - Number Of Files in directory
uint32 {4}   - Type? (3)
uint32 {4}   - Offset to First File in the directory [+8]


// for each file in the directory
char {X}     - Filename (null)
byte {0-3}   - padding to make filename+null a multiple of 4


uint32 {4}   - Unknown
uint32 {4}   - Unknown


// for each file in the directory
char {4}     - Type/Extension (reversed)
uint32 {4}   - File Offset
uint32 {4}   - File Size
byte {16}    - null
uint32 {4}   - Unknown
uint32 {4}   - File ID



// for each file

char {4}     - Type/Extension (reversed)
uint32 {4}   - File Size
byte {X}     - File Data


MultiEx BMS Script

Not written yet

Notes and Comments

  • This archive has a directory tree structure, with each directory and file sorted in a chunk format. Each chunk with a CRID header is a directory.
  • CRID reversed is DIRC (Directory Chunk)



Compatible Programs