Kingdom O Magic DAT: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Mr.Mouse |
||
| Line 26: | Line 26: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<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 === | ||
Revision as of 08:25, 24 May 2005
Choose archive extension:
DAT
- Format Type : Archive
- Endian Order : Little Endian
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