Silent Hill 3 ARC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 39: Line 39:
Log "" FO ComSize FOO FSO ;
Log "" FO ComSize FOO FSO ;
Next T ;
Next T ;
</pre><br><br>
</pre><br>


=== QuickBMS Script ===
=== QuickBMS Script ===

Revision as of 18:18, 29 November 2022

ARC


Format Specifications

uint32 {4}   - Unknown
uint32 {4}   - Number Of Files
uint32 {4}   - Length of blank padding after directory and before file data
uint32 {4}   - null

// for each file

uint32 {4}   - Offset
uint32 {4}   - File ID?
uint32 {4}   - Length
uint32 {4}   - Length


byte {X}     - null Padding (size according to the 3rd field)
byte {X}     - File Data

MultiEx BMS Script

ImpType Standard ;
Get U1 Long 0 ;
Get FileNum Long 0 ;
Get Dir2Size Long 0 ;
Get U2 Long 0 ;
For T = 1 To FileNum ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get OffDir2 Long 0 ;
SavePos FSO 0 ;
Get ComSize Long 0 ;
Get UnComSize Long 0 ;
Log "" FO ComSize FOO FSO ;
Next T ;


QuickBMS Script

Compatible Programs