Necrodome POD: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
Line 29: Line 29:
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
<br>
<br>
<font color="blue"> ''' // FILE DATA ''' </font> <br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data<br>
</b></tt>
</b></tt>



Revision as of 12:52, 25 July 2021

POD


Format Specifications

char {8}     - Header (PODFILE\0)
uint32 {4}   - Version Number
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