Frontier Developments ZAP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
Line 39: Line 39:
=== MultiEx BMS ===  
=== MultiEx BMS ===  


Not written yet<br><br>
Not written yet.
<br>
 
=== QuickBMS ===
 
* [https://aluigi.altervista.org/bms/wallace_gromit_zap.bms wallace_gromit_zap.bms]
 
=== Games ===
List of games using this file format:
* Wallace And Gromit Were Rabbit
 
=== Supported Programs ===  
=== Supported Programs ===  



Revision as of 21:52, 19 July 2021

Choose archive extension:

ZAP


Format Specifications

char {4}     - Header ("ZAP" + null)
uint32 {4}   - Padding Size (512)
uint32 {4}   - Number Of Files?
uint32 {4}   - Unknown Length

// for each file

uint32 {4}   - Hash? (2573=directory)
uint16 {2}   - File Type ID (0=directory)


if (directory){
uint16 {2}   - Directory Name Length (including null)
char {X}     - Directory Name
byte {1}     - null Directory Name Terminator
}


else if (file){
uint16 {2}   - Filename Length (including null)
char {X}     - Filename
byte {1}     - null Filename Terminator
}


byte {X}     - null Padding to a multiple of 512 bytes
byte {X}     - File Data

MultiEx BMS

Not written yet.

QuickBMS

Games

List of games using this file format:

  • Wallace And Gromit Were Rabbit

Supported Programs