Descent HOG2: 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 48: | Line 48: | ||
* [[MultiEx_Commander|MultiEx Commander]] | * [[MultiEx_Commander|MultiEx Commander]] | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 11:54, 4 January 2021
HOG, D3C, D3M, MN3
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (HOG2)
uint32 {4} - Number Of Files
uint32 {4} - First File Offset
byte {56} - Padding (all (byte)255's)
// for each file
- char {36} - Filename (null)
- uint32 {4} - null
- uint32 {4} - Size
- uint32 {4} - Timestamp
byte {X} - File Data
MultiEx BMS Script
IDString 0 HOG2 ; Get FILECNTL Long 0 ; Get FILESTART Long 0 ; SavePos DUMMYL 0 ; Math DUMMYL += 56 ; Do ; GoTo DUMMYL 0 ; GetDString FILENAME 40 0 ; Get FILESIZE Long 0 ; Get DUMMYL Long 0 ; SavePos DUMMYL 0 ; GoTo FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; SavePos FILESTART 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;