Dune 2 PAK: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks No edit summary |
imported>Ikskoks |
||
| Line 46: | Line 46: | ||
[[Category:Extension_pak | Extension: pak]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
Revision as of 19:34, 29 March 2022
Choose archive extension:
PAK
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// for each file
- uint32 {4} - File Offset
- char {X} - Filename
- byte {1} - null Filename Terminator
byte {X} - File Data
MultiEx BMS Script
ImpType SFileOff ; SavePos FF 0 ; Get TAILEND Long 0 ; GoTo FF 0 ; Do ; SavePos FSO 0 ; Get FILEOFF Long 0 ; Get FILENAME String 0 ; SavePos TAILOFF 0 ; Get FILESIZE Long 0 ; Math FILESIZE -= FILEOFF ; Log FILENAME FILEOFF FILESIZE FSO 0 ; SavePos THERE 0 ; GoTo TAILOFF 0 ; While THERE < TAILEND ;