Difference between revisions of "Baldurs Gate - Dark Alliance XBox"

From XentaxWiki
Jump to: navigation, search
Line 28: Line 28:
 
=== MultiEx BMS ===  
 
=== MultiEx BMS ===  
  
<pre>ImpType Standard ;
+
<bms ext="LMP" games="'Baldurs Gate - Dark Alliance'" platforms="'XBox'" author="PXR" version="1.0">
 +
ImpType Standard ;
 
Get FILENUM Long 0 ;
 
Get FILENUM Long 0 ;
 
For F = 1 To FILENUM ;
 
For F = 1 To FILENUM ;
Line 37: Line 38:
 
Get FSIZE Long 0 ;
 
Get FSIZE Long 0 ;
 
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
 
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;</pre><br>
+
Next F ;</bms>
 +
<br>
  
 
=== Supported Programs ===  
 
=== Supported Programs ===  

Revision as of 08:27, 27 August 2006

Choose archive extension:

LMP


Format Specifications

uint32 {4}   - Number Of Files

// for each file

char {56}    - Filename (null terminated) (filled with junk)
uint32 {4}   - File Offset
uint32 {4}   - File Length


byte {0-255} - null Padding to a multiple of 256 bytes

// for each file

char {X}     - File Data
byte {0-1023}      - null Padding to a multiple of 1024? bytes


MultiEx BMS

<bms ext="LMP" games="'Baldurs Gate - Dark Alliance'" platforms="'XBox'" author="PXR" version="1.0"> ImpType Standard ; Get FILENUM Long 0 ; For F = 1 To FILENUM ; GetDString FNAME 56 0 ; SavePos FOFFSETX 0 ; Get FOFFSET Long 0 ; SavePos FSIZEX 0 ; Get FSIZE Long 0 ; Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ; Next F ;</bms>

Supported Programs