Frank Herberts Dune DUN: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Frank Herberts Dune to Frank Herberts Dune DUN) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 30: | Line 30: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre>Set FS Long 8 ; | |||
ImpType Standard ; | |||
GoTo FS 0 ; | |||
SavePos TailOffOff 0 ; | |||
Get TAO Long 0 ; | |||
Get FN Long 0 ; | |||
GoTo TAO 0 ; | |||
For A = 1 To FN ; | |||
GetCT FIN String 10 0 ; | |||
SavePos FOO 0 ; | |||
Get FO Long 0 ; | |||
SavePos FSO 0 ; | |||
Get FS Long 0 ; | |||
Log FIN FO FS FOO FSO ; | |||
Next A ; | |||
</pre> | |||
=== Notes and Comments === | === Notes and Comments === | ||
| Line 38: | Line 53: | ||
=== 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 13:02, 6 January 2021
Choose archive extension:
DUN
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
byte {4} - Header? (114 16 234 244)
uint32 {4} - null
uint32 {4} - Directory Offset
uint32 {4} - Number Of Files
byte {X} - File Data
// Directory
- // for each file
- char {X} - Filename (some starting with "..\" or "R:\")
- byte {1} - Filename Terminator (10)
- uint32 {4} - File Offset
- uint32 {4} - File Length
- char {X} - Filename (some starting with "..\" or "R:\")
MultiEx BMS Script
Set FS Long 8 ; ImpType Standard ; GoTo FS 0 ; SavePos TailOffOff 0 ; Get TAO Long 0 ; Get FN Long 0 ; GoTo TAO 0 ; For A = 1 To FN ; GetCT FIN String 10 0 ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Log FIN FO FS FOO FSO ; Next A ;
Notes and Comments
The files in the directory are in a different order to the files in the archive. eg. File 1 in the directory may be File 482 in the archive.