GRAF:Abomination CLT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Mr.Mouse
Line 22: Line 22:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


<tt><pre>
<tt><bms author="Mr.Mouse" games="'Abomination: The Nemesis Project'" platforms="'PC'" version="1.0" ext="CLT" verbose="no">
IDString 0 AWAD ;
IDString 0 AWAD ;
Get FILECNTL Long 0 ;
Get FILECNTL Long 0 ;
Line 42: Line 42:
Math EXTRCNT += 1 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;
While EXTRCNT <> FILECNTL ;
</pre></tt>
</bms></tt>


Requires [[MultiEx_Commander|MexCom]] 4.0
Requires [[MultiEx_Commander|MexCom]] 4.0

Revision as of 17:14, 18 September 2006

CLT


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


byte {X}     - File Data

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>

Requires MexCom 4.0

Compatable Programs