Interstate ZFS: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 52: | Line 52: | ||
* Interstate '76 | * Interstate '76 | ||
* Interstate '82 | * Interstate '82 | ||
[[Category:File Format]] | |||
Latest revision as of 15:09, 10 January 2021
ZFS
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (ZFSF)
uint32 {4} - Version (1)
uint32 {4} - Unknown (16)
uint32 {4} - Number Of Files in each directory (100)
uint32 {4} - Total Number Of Files in the archive
uint32 {4} - null
uint32 {4} - Unknown (28)
// for each directory
- uint32 {4} - Next Directory Offset (null for the last directory)
- // for each file in this directory
- char {16} - Filename (null)
- uint32 {4} - File Offset
- uint32 {4} - File ID (incremental stating from 0)
- uint32 {4} - Length
- uint32 {4} - Hash?
- uint32 {4} - null
- char {16} - Filename (null)
- if (the last directory){
- byte {X} - null padding to fill up the directory - ie. up to (numFilesInEachDir*36 + 4)
- }
- byte {X} - null padding to fill up the directory - ie. up to (numFilesInEachDir*36 + 4)
- byte {X} - File Data (for the files in this directory)
MultiEx BMS Script
Not written yet
Notes and Comments
- The archive is stored in directory chunks of 100 files, each with their own directory. So you need to read the directory for 100 files, then skip to the next directory.
Compatible Programs
Other Games
These games also use this file format
- Interstate '76
- Interstate '82