Star Wars - Galactic Battlegrounds DRS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
 
(10 intermediate revisions by 4 users not shown)
Line 8: Line 8:
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  


* ''' [http://www.ferazelhosting.net/~bryce/re.html SWGB Files] ''': Information about DRS and SLP, Python language tools.
<br>


=== Format Specifications ===  
=== Format Specifications ===  
Line 29: Line 31:
=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  


Not written yet<br><br>
<pre>IDString 0 Copyright ;
ImpType Standard ;
GoTo 80 0 ;
Get FS Long 0 ;
GoTo 88 0 ;
Get FIS Long 0 ;
Set FN Long FS ;
Math FN -= FIS ;
Math FN /= 12 ;
GoTo FIS 0 ;
For TE = 1 To FN ;
Get D Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Log "" FO FS FOO FSO ;
Next TE ;
</pre>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[MultiEx Commander|MultiEx Commander]]
* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
[[Category:File Format]]

Latest revision as of 15:00, 21 January 2021

Choose archive extension:

DRS

  • SWGB Files : Information about DRS and SLP, Python language tools.


Format Specifications

byte {80}    - Unknown
uint32 {4}   - Archive Length
uint32 {4}   - Unknown
uint32 {4}   - Directory Offset

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - Unknown
uint32 {4}   - File Offset
uint32 {4}   - File Length


MultiEx BMS Script

IDString 0 Copyright ;
ImpType Standard ;
GoTo 80 0 ;
Get FS Long 0 ;
GoTo 88 0 ;
Get FIS Long 0 ;
Set FN Long FS ;
Math FN -= FIS ;
Math FN /= 12 ;
GoTo FIS 0 ;
For TE = 1 To FN ;
Get D Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Log "" FO FS FOO FSO ;
Next TE ;

Compatible Programs