Chicken Little HOG: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>PXR
(Added BMS-script + made some other changes)
imported>Ikskoks
No edit summary
 
(One intermediate revision by the same user not shown)
Line 73: Line 73:
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>
[[Category:File Format]]

Latest revision as of 12:00, 4 January 2021

Choose archive extension:

HOG


Format Specifications

uint16 {2}   - Version Major (2)
uint16 {2}   - Version Minor (1)
uint32 {4}   - Number Of Files
uint32 {4}   - Directory Length
uint32 {4}   - Padding Size
byte {0-x}   - null Padding to offset "Padding Size"

// for each file

uint32 {4}   - File ID?
uint32 {4}   - File Offset
uint32 {4}   - File Length


// for each file

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


byte {0-("Padding Size"-1)}  - null Padding to a multiple of "Padding Size" bytes

// for each file

byte {X}                     - File Data
byte {0-("Padding Size"-1)}  - null Padding to a multiple of "Padding Size" bytes


MultiEx BMS

ImpType Standard ;
Get FOOBAR Long 0 ;
Get FILENUM Long 0 ;
Get DIRSIZE Long 0 ;
Get PADSIZE Long 0 ;
Set TEMP Long PADSIZE ;
GoTo TEMP 0 ;
SavePos ENTOFF 0 ;
For Z = 1 To FILENUM ;
GoTo TEMP 0 ;
Math TEMP += 12 ;
Next Z ;
GoTo TEMP 0 ;
SavePos FNAMEOFF 0 ;
For X = 1 To FILENUM ;
GoTo ENTOFF 0 ;
Get FOOBAR Long 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
SavePos ENTOFF 0 ;
GoTo FNAMEOFF 0 ;
Get FNAME String 0 ;
SavePos FNAMEOFF 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next X ;

Other Games

These games also use this format...

  • Chicken Little *.hog
  • Tak 3: The Great Juju Challenge (XBox) *.hog

Supported Programs