Esoteria 22K: Difference between revisions
imported>WATTO No edit summary |
imported>Mr.Mouse |
||
| Line 25: | Line 25: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre>IDString 0 cgds ; | |||
Get FNum Long 0 ; | |||
Math FNum -= 1 ; | |||
For T = 1 To FNum ; | |||
SavePos FOO 0 ; | |||
Get FO Long 0 ; | |||
SavePos ST 0 ; | |||
Get FS Long 0 ; | |||
Math FS -= FO ; | |||
Log "" FO FS FOO 0 ; | |||
GoTo ST 0 ; | |||
Next T ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
Revision as of 19:20, 23 May 2005
Choose archive extension:
22K
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (cgds)
uint32 {4} - Number Of Files [-1]
// for each file
- uint32 {4} - Offset
uint32 {4} - Archive Size
byte {X} - File data
MultiEx BMS Script
IDString 0 cgds ; Get FNum Long 0 ; Math FNum -= 1 ; For T = 1 To FNum ; SavePos FOO 0 ; Get FO Long 0 ; SavePos ST 0 ; Get FS Long 0 ; Math FS -= FO ; Log "" FO FS FOO 0 ; GoTo ST 0 ; Next T ;
Compatible Programs
E3
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {7} - Header (ESv1.0 )
byte {1} - Sub-type (byte)96 or (byte)97 or (byte)99 or (byte)104 or (byte)105)
uint32 {4} - Number Of Files
// for each file
- char {64} - Filename (null)
- uint32 {4} - Offset
- uint32 {4} - Length
byte {X} - File Data
MultiEx BMS Script
Not written yet
Compatible Programs
E3 (INTERNAL TYPE)
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {7} - Header (ESv1.0 )
byte {1} - Sub-type ((byte)48 or (byte)83 or (byte)84 or (byte)94)
uint32 {4} - null
uint32 {4} - Type Name Length (including null)
// Note: The following 2 fields don't appear if TypeNameLength=99
char {X} - Type Name
byte {1} - null
uint32 {4} - null
uint32 {4} - Filename Length (sometimes including null)
char {X} - Filename (null) (without extension)
byte {18} - null
byte {X} - File Data
MultiEx BMS Script
Not written yet