Difference between revisions of "Lemmings Paintball VSR"
From XentaxWiki
m (Moving to new category.) |
m (Ikskoks moved page Lemmings Paintball to Lemmings Paintball VSR) |
||
(One intermediate revision by the same user not shown) | |||
Line 79: | Line 79: | ||
[[Category:BMS None|Lemmings Paintball]] | [[Category:BMS None|Lemmings Paintball]] | ||
+ | [[Category:File Format]] |
Latest revision as of 16:44, 10 January 2021
Choose archive extension:
Contents
VSR
- Format Type : Archive
- Endian Order : Little Endian
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
- char {X} - Filename (null)
- 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
- char {4} - Type/Extension (reversed)
// 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)