Necrodome POD: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 11: Line 11:
<tt><b>
<tt><b>
char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(PODFILE\0)</font> <br>  
char {8}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(PODFILE\0)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Version Number <font color="purple">107 - demo, 117 - release</font><br>  
uint32 {4}&nbsp;&nbsp; - Version Number <font color="purple">(107 - demo, 117 - release)</font><br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>  
uint32 {4}&nbsp;&nbsp; - Directory Offset <br>  
uint32 {4}&nbsp;&nbsp; - Directory Offset <br>  

Revision as of 12:52, 25 July 2021

POD


Format Specifications

char {8}     - Header (PODFILE\0)
uint32 {4}   - Version Number (107 - demo, 117 - release)
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Length (includes all directory entries and filenames)

byte {X}     - fileData

// Directory

// for each file 32 bytes
uint32 {4}   - Data Offset
uint32 {4}   - File Size
uint32 {4}   - Filename Offset [+dirOffset]


// Note that some files have 0 as the offset and size, this is marker
// for each file

char {X}     - Filename
byte {1}     - null


// FILE DATA

// for each file
byte {X}     - File Data

Compatible Programs