Wing Commander 3 BUN

From XentaxWiki
Revision as of 18:23, 12 June 2007 by imported>Xh9Knu
Jump to navigation Jump to search

punk ringtones buy viagra phentermine xanax online buy ultram valium online cingular ringtones adipex online order cyclobenzaprine cheap propecia cheap tenuate cheap carisoprodol ultracet online cheap pharmacy online free wwe ringtones cheap diazepam cheap xenical free nokia ringtones free qwest ringtones zanaflex online cheap diazepam free verizon ringtones motorola ringtones cheap lortab prozac online ericsson ringtones but ortho cyclobenzaprine online celexa online free ringtones phentermine online cool ringtones prozac online free qwest ringtones cialis online free sprint ringtones cheap nexium real ringtones free sagem ringtones free tracfone ringtones nokia ringtones free punk ringtones free mp3 ringtones free sony ringtones ativan online but hgh midi ringtones alltel ringtones cheap flexeril free sony ericsson ringtones motorola ringtones vicodin online tracfone ringtones soma online order levitra motorola ringtones cheap didrex cheap sildenafil pharmacy online online zoloft online hydrocodone online free sony ringtones cingular ringtones viagra buy paxil ambien online buy lortab hydrocodone online cheap vigrx cheap ativan buy hgh cheap sildenafil viagra online ortho online free nextel ringtones online lisinopril funny ringtones sony ericsson ringtones vicodin online but hydrocodone ativan online free mono ringtones clonazepam levitra sprint ringtones cheap cialis sony ringtones cheap levitra cheap zanaflex but phentermine cheap celexa cheap ultracet wwe ringtones sharp ringtones buy norco soma online ultracet online cingular ringtones adipex online xenical online albuterol online tenuate online ortho online free music ringtones sagem ringtones lisinopril online meridia online propecia online vigrx online diethylpropion online cheap albuterol mp3 ringtones cheap meridia free free ringtones ultram online soma online cheap lortab cheap sildenafil free nextel ringtones lorazepam online free funny ringtones buy diethylpropion free ringtones free funny ringtones cingular ringtones cheap soma free nokia ringtones clonazepam online cheap zyban clomid online prozac online valium cheap lisinopril meridia online tramadol online sharp ringtones midi ringtones cheap flexeril free real ringtones cheap celexa zoloft online nextel ringtones ericsson ringtones music ringtones free mtv ringtones order ultram buy valium cheap viagra lorazepam online cialis online phentermine online buy nexium free samsung ringtones cheap norco meridia online free sprint ringtones rivotril online cheap carisoprodol order carisoprodol cyclobenzaprine online free qwest ringtones qwest ringtones fioricet online free verizon ringtones punk ringtones cheap hoodia cheap pharmacy online free tracfone ringtones tramadol cheap rivotril cheap tramadol didrex online cheap fioricet free music ringtones albuterol online free nokia ringtones viagra online buy alprazolam xenical online pharmacy online online free funny ringtones order zanaflex ericsson ringtones cheap cyclobenzaprine adipex online cheap xanax alltel ringtones qwest ringtones ultram online sonyericsson ringtones free samsung ringtones cheap lortab free mono ringtones samsung ringtones cheap zyban cheap celexa funny ringtones free wwe ringtones rivotril online but clomid * Return to the list of games

BUN

BUN files are found on the 3DO version of Wing Commander III (in contrast to the PC version which uses TRE files).

Format Specifications

A BUN resource begins as follows:

 bytes 0-3    'FORM'
 bytes 4-7    total length of resource file, minus this 8-byte preamble
 bytes 8-11   'BUND'

Next, the file is comprised of a series of chunks with the following structure:

 bytes 0-3    chunk tag
 bytes 4-7    chunk length, not including 8-byte preamble
 bytes 8..    chunk payload

There are 2 known tags: 'DIR_' and 'FILE'. The 'DIR_' chunk contains a 12-byte record for each 'FILE' chunk in the resource:

 bytes 0-3    this appears to be a checksum/hash of the file; algorithm unknown
 bytes 4-7    absolute offset of 'FILE' chunk payload (not beginning of 'FILE' chunk itself)
 bytes 8-11   length of 'FILE' chunk payload (again, not length of entire 'FILE' chunk)

The remainder of the file is comprised of 'FILE' chunks. If a BUN resource contains 11 files, there will be 12 records in the 'DIR_' chunk and 12 corresponding 'FILE' chunks. Why the extra record? The first 'FILE' chunk contains filename information. The payload of this file chunk contains free-form strings separated by line-feed (ASCII 0xA) characters. The format of this payload appears to be:

compression_type = 0<lf><resource file name><lf><first file path and name><lf><second file path and name><lf> ... <lf><final file path and name>

Note that a directory path often precedes the filename. The rest of the 'FILE' chunks in the file simply have their represented raw file as the chunk payload.

MultiEx BMS Script

Not written yet

Compatible Programs

None yet