GRAF:Abomination CLT: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 mNo edit summary |
imported>Ikskoks No edit summary |
||
| (14 intermediate revisions by 5 users not shown) | |||
| Line 2: | Line 2: | ||
== CLT == | == CLT == | ||
{{GRAFPageMisc | {{GRAFPageMisc}} | ||
=== Format Specifications === | === Format Specifications === | ||
{{GRAFPageFormat|1=char {4} - Header {{ | {{GRAFPageFormat|1=char {4} - Header {{Constant|(AWAD)}}<br> | ||
uint32 {4} - Number Of Files | uint32 {4} - Number Of Files | ||
{{ | {{BlockDescription| // for each file }} | ||
: char {260} - Filename {{ | : char {260} - Filename {{Constant|(null)}} | ||
: uint32 {4} - File Length | : uint32 {4} - File Length | ||
: uint32 {4} - File Offset | : uint32 {4} - File Offset | ||
| Line 58: | Line 58: | ||
[[Category:BMS Author Mr.Mouse|Abomination CLT]] | [[Category:BMS Author Mr.Mouse|Abomination CLT]] | ||
[[Category:CE None|Abomination CLT]] | [[Category:CE None|Abomination CLT]] | ||
[[Category:File Format]] | |||
Latest revision as of 00:42, 3 January 2021
Back to index | Edit this page
CLT
- Format type: Archive
- Endianness: Little-endian
Format Specifications
char {4} - Header (AWAD)
uint32 {4} - Number Of Files
// for each file
- char {260} - Filename (null)
- uint32 {4} - File Length
- uint32 {4} - File Offset
Notes and Comments
The below BMS script requires MexCom v. 4.0 or later.
MultiEx BMS Script
<bms author="Mr.Mouse" games="'Abomination: The Nemesis Project'" platforms="'PC'" version="1.0" ext="CLT" verbose="no"> IDString 0 AWAD ; Get FILECNTL Long 0 ; SavePos FILESTART 0 ; Set DUMMYL Long 65 ; Set TAILOFF Long DUMMYL ; Math TAILOFF *= 4 ; Do ; Math FILESTART += 1 ; GoTo FILESTART 0 ; Get FILENAME String 0 ; Math FILESTART += TAILOFF ; Math FILESTART -= 1 ; GoTo FILESTART 0 ; Get FILESIZE Long 0 ; Get FILEOFF Long 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ; </bms>
Supported by Programs
Links
None