The Lost Vikings DAT: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page The Lost Vikings to The Lost Vikings DAT) |
||
| (8 intermediate revisions by 3 users not shown) | |||
| Line 21: | Line 21: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre>SavePos ST 0 ; | |||
Get FNum Long 0 ; | |||
Math FNum /= 4 ; | |||
Math FNum -= 1 ; | |||
For T = 1 To FNum ; | |||
GoTo ST 0 ; | |||
Get FO Long 0 ; | |||
SavePos ST 0 ; | |||
Get FS Long 0 ; | |||
Math FS -= FO ; | |||
Log "" FO FS 0 0 ; | |||
Next T ; | |||
GoTo ST 0 ; | |||
Get FO Long 0 ; | |||
GoTo EOF 0 ; | |||
SavePos FS 0 ; | |||
Math FS -= FO ; | |||
Math FS += 1 ; | |||
Log "" FO FS 0 0 ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[MultiEx Commander|MultiEx Commander]] | |||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 21:25, 21 January 2021
Choose archive extension:
DAT
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// for each file
- uint32 {4} - File Offset
byte {X} - File Data
MultiEx BMS Script
SavePos ST 0 ; Get FNum Long 0 ; Math FNum /= 4 ; Math FNum -= 1 ; For T = 1 To FNum ; GoTo ST 0 ; Get FO Long 0 ; SavePos ST 0 ; Get FS Long 0 ; Math FS -= FO ; Log "" FO FS 0 0 ; Next T ; GoTo ST 0 ; Get FO Long 0 ; GoTo EOF 0 ; SavePos FS 0 ; Math FS -= FO ; Math FS += 1 ; Log "" FO FS 0 0 ;