Hitman BIN: Difference between revisions
Jump to navigation
Jump to search
imported>Mr.Mouse mNo edit summary |
imported>Mr.Mouse mNo edit summary |
(No difference)
| |
Revision as of 21:30, 23 May 2005
Choose archive extension:
BIN
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// MexCom - Recreation of D:\Code\All Official MexFormats\Hitman\BIN.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
Just searches for RIFF wave files.
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
None