Descent HOG: Difference between revisions

From XentaxWiki
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 47: Line 47:
* Descent *.hog
* Descent *.hog
* Descent 2 *.hog
* Descent 2 *.hog
[[Category:File Format]]

Latest revision as of 11:53, 4 January 2021

HOG


Format Specifications

char {3}     - Header (DHF)

// for each file

char {13}    - Filename (null)
uint32 {4}   - Size
byte {X}     - File Data


MultiEx BMS Script

IDString 0 DHF ;
SavePos FILESTART 0 ;
GoTo EOF 0 ;
SavePos D 0 ;
Do ;
GoTo FILESTART 0 ;
GetDString FILENAME 13 0 ;
Get FILESIZE Long 0 ;
SavePos FILEOFF 0 ;
SavePos FILESTART 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math FILESTART += FILESIZE ;
Set F Long FILESTART ;
Math F += 17 ;
While F < D ;

Compatible Programs


Other Games

These games also use this file format

  • Descent *.hog
  • Descent 2 *.hog