Kingdom O Magic DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
m (Ikskoks moved page Kingdom O Magic to Kingdom O Magic DAT)
 
(9 intermediate revisions by 3 users not shown)
Line 26: Line 26:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>Get FILECNTL Int 0 ;
Do ;
GetDString FILENAME 14 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
GoTo FILEOFF 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
GoTo FILESTART 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;
</pre>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[MultiEx Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br><br>
* [[Game Extractor|Game Extractor]]<br><br>


Line 35: Line 47:


These games also use this file format<br>
These games also use this file format<br>
* [[Kingdom O Magic|Kingdom O Magic]]
* Kingdom O Magic
* [[Wacky Wheels|Wacky Wheels]]
* Wacky Wheels
 
 
[[Category:File Format]]

Latest revision as of 15:30, 10 January 2021

Choose archive extension:

DAT


Format Specifications

uint16 {2}   - Number Of Files [+1?]

// for each file

char {13}    - Filename (null, padded with junk)
byte {1}     - null
uint32 {4}   - File Size
uint32 {4}   - File Offset


byte {X}     - File Data

MultiEx BMS Script

Get FILECNTL Int 0 ;
Do ;
GetDString FILENAME 14 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
GoTo FILEOFF 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
GoTo FILESTART 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs

Other Games

These games also use this file format

  • Kingdom O Magic
  • Wacky Wheels