Rollercoaster Tycoon DAT
From XentaxWiki
Choose archive extension:
Contents
DAT
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// MexCom - Recreation of formats\Rollercoaster Tycoon Css\DAT.bms // THIS IS AN AUTOMATED SPECIFICATION // READ WITH CARE // ---------------------------- // LEGEND // ---------------------------- // ==> (Jump to offset) // #DECLARE (Set variable to value) // $$ CALCULATE (Calculate a new value) // ** (Section that repeats itself on condition) // // (Comment) // uint32{4} (Unsigned 32-bit value, 4 bytes) // uint16{2} (Unsigned 16-bit value, 2 bytes) // ubyte{1} (Unsigned 8-bit value, 1 byte) // char{n} (String value, n bytes in length // ---------------------------- // Format Specification (ArchSize) S ** Start Repeated entry (T) {S} ** Search for a char{} with value RIFF // If found, store it in B ==>B uint32{4} D uint32{4} FSI $$ CALCULATE FSI + 8 $$ CALCULATE T + FSI // Resources have no name, are located at B and have a size of FSI ** End Repeated entry (T) // ---------------------------- // MexCom - Recreation complete
MultiEx BMS
Get S ASize 0 ; For T = 1 To S ; FindLoc B String RIFF 0 ; GoTo B 0 ; Get D Long 0 ; Get FSI Long 0 ; Math FSI += 8 ; Set T Long B ; Math T += FSI ; Log "" B FSI 0 0 ; Next T ;
Notes and Comments
This is just a simple RIFF wave file search