Baldurs Gate - Dark Alliance XBox: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
No edit summary
imported>Dinoguy1000
(cleanup)
Line 1: Line 1:
* [[GRAFs|Return to the list of games]]
{{GRAFPageHeader}}


Choose archive extension:
== LMP ==
{{GRAFPageMisc}}


== LMP ==  
=== Format Specifications ===
{{GRAFPageFormat|1=<nowiki/>
: uint32 {4}&nbsp;&nbsp; - Number Of Files


* ''' Format Type ''':   Archive <br>
{{BlockDescription| // for each file }}
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
: char {56}&nbsp;&nbsp;&nbsp; - Filename {{InlineComment|(filled with junk and null terminated)}}
: uint32 {4}&nbsp;&nbsp; - File Offset
: uint32 {4}&nbsp;&nbsp; - File Length


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


=== Format Specifications ===
{{BlockDescription| // for each file }}
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data
: byte {0-1023}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - {{Unknown|null Padding to a multiple of 1024? bytes}}
}}


<tt><b>
=== MultiEx BMS ===
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
* Author: PXR
<br>
* Version: 1.0
<font color="blue"> ''' // for each file ''' </font> <br>
<syntaxhighlight lang="mexscript">
: char {56}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null terminated)</font> <font color="purple">(filled with junk)</font> <br>
: uint32 {4}&nbsp;&nbsp; - File Offset <br>
: uint32 {4}&nbsp;&nbsp; - File Length <br>
<br>
byte {0-255} - null Padding to a multiple of 256 bytes <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
: byte {0-1023}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' null Padding to a multiple of 1024? bytes '' </font> <br>
</b></tt><br>
 
=== MultiEx BMS ===
 
<bms ext="LMP" games="'Baldurs Gate - Dark Alliance'" platforms="'XBox'" author="PXR" version="1.0">
ImpType Standard ;
ImpType Standard ;
Get FILENUM Long 0 ;
Get FILENUM Long 0 ;
Line 38: Line 33:
Get FSIZE Long 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next F ;</bms>
Next F ;
<br>
</syntaxhighlight>


=== Supported Programs ===  
=== Supported Programs ===
* [[Game Extractor|Game Extractor]]
* [[MultiEx Commander|MultiEx Commander]]


* [[Game Extractor|Game Extractor]]<br>
=== Games ===
* [[MultiEx Commander|MultiEx Commander]]<br><br>
* [[Baldurs Gate - Dark Alliance]] (Xbox) [[LMP|*.lmp]]


[[Category:BMS]] [[Category:XBox]]
[[Category:Xbox formats]]

Revision as of 03:48, 22 October 2011

Back to index | Edit this page

LMP

Format Specifications

uint32 {4}   - Number Of Files

// for each file

char {56}    - Filename (filled with junk and null terminated)
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

  • Author: PXR
  • Version: 1.0

<syntaxhighlight lang="mexscript"> 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 ; </syntaxhighlight>

Supported Programs

Games