Arx Fatalis PAK: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Mr.Mouse |
||
| Line 35: | Line 35: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre> | |||
ImpType StandardTail ; | |||
SavePos TailOffOff 0 ; | |||
Get TO Long 0 ; | |||
GoTo TO 0 ; | |||
Get TS Long 0 ; | |||
SavePos T 0 ; | |||
Math T += 5 ; | |||
GoTo T 0 ; | |||
Get Path String 0 ; | |||
Get FN Long 0 ; | |||
For D = 1 To FN ; | |||
Set Name String Path ; | |||
Get Name String 0 ; | |||
SavePos FOO 0 ; | |||
Get FO Long 0 ; | |||
Get ZipState Long 0 ; | |||
Get OrSize Long 0 ; | |||
SavePos FSO 0 ; | |||
Get FS Long 0 ; | |||
Log Name FO FS FOO FSO ; | |||
Next D ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
Revision as of 19:48, 16 May 2005
Choose archive extension:
PAK
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
uint32 {4} - Directory Offset
byte {X} - File Data
// Directory
- uint32 {4} - Unknown
- byte {5} - Unknown
- char {X} - Path
- byte {1} - null Path Terminator
- uint32 {4} - Number Of Files
- // for each file
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - File Offset
- uint32 {4} - Compressed Length
- uint32 {4} - Decompressed Length
- uint32 {4} - File Length
- char {X} - Filename
MultiEx BMS Script
ImpType StandardTail ; SavePos TailOffOff 0 ; Get TO Long 0 ; GoTo TO 0 ; Get TS Long 0 ; SavePos T 0 ; Math T += 5 ; GoTo T 0 ; Get Path String 0 ; Get FN Long 0 ; For D = 1 To FN ; Set Name String Path ; Get Name String 0 ; SavePos FOO 0 ; Get FO Long 0 ; Get ZipState Long 0 ; Get OrSize Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Log Name FO FS FOO FSO ; Next D ;