Mortyr HAL: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Mortyr to Mortyr HAL) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 29: | Line 29: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre> | |||
IDString 0 APUK ; | |||
Get FILECNTL Long 0 ; | |||
Set FILESTART Long 32 ; | |||
Do ; | |||
GoTo FILESTART 0 ; | |||
Get FILESIZE Long 0 ; | |||
Get FILEOFF Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
Get DUMMYL Long 0 ; | |||
GetDString FILENAME 16 0 ; | |||
SavePos FILESTART 0 ; | |||
Log FILENAME FILEOFF FILESIZE 0 0 ; | |||
Math EXTRCNT += 1 ; | |||
While EXTRCNT <> FILECNTL ; | |||
</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 22:13, 16 January 2021
Choose archive extension:
HAL
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (APUK)
uint32 {4} - Number Of Files
byte {24} - Unknown
// for each file
- uint32 {4} - File Length
- uint32 {4} - File Offset
- uint32 {4} - Unknown
- uint32 {4} - Unknown
- char {16} - Filename (null)
byte {X} - File Data
MultiEx BMS Script
IDString 0 APUK ; Get FILECNTL Long 0 ; Set FILESTART Long 32 ; Do ; GoTo FILESTART 0 ; Get FILESIZE Long 0 ; Get FILEOFF Long 0 ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; GetDString FILENAME 16 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;