Sacred: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
imported>Ikskoks
(Redirected page to Sacred PAK)
 
(49 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* [[GRAFs|Return to the list of games]]
#REDIRECT [[Sacred PAK]]
 
Choose archive extension:
 
== PAK ==
 
* ''' Format Type ''':    Archive <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
 
 
=== Format Specifications ===
 
<tt><b>
byte {3}&nbsp;&nbsp;&nbsp;&nbsp; - Header <br>
byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - Type ID <br>
<br>
<font color="blue"> ''' if (header == TEX && id == 3){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: byte {244}&nbsp;&nbsp; - null <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Type ID <br>
:: uint32 {4}&nbsp;&nbsp; - Offset <br>
:: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
:: uint16 {2}&nbsp;&nbsp; - X Image Size <br>
:: uint16 {2}&nbsp;&nbsp; - Y Image Size <br>
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: byte {40}&nbsp;&nbsp;&nbsp; - null Padding <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
<font color="blue"> ''' else if (header == CIF && id == 0){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {64}&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
<font color="blue"> ''' else if (header == WPN && id == 8){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {322}&nbsp;&nbsp; - File Data <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
<font color="blue"> ''' else if (header == SND && id == 1){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: byte {244}&nbsp;&nbsp; - null <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Type ID <br>
:: uint32 {4}&nbsp;&nbsp; - Offset <br>
:: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
<font color="blue"> ''' else if (header == ITM && id == 5){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: byte {244}&nbsp;&nbsp; - null <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Type ID <br>
:: uint32 {4}&nbsp;&nbsp; - Offset <br>
:: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {56}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
<font color="blue"> ''' else if (header == ITM && id == 3){ ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
: byte {244}&nbsp;&nbsp; - null <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Type ID <br>
:: uint32 {4}&nbsp;&nbsp; - Offset <br>
:: uint32 {4}&nbsp;&nbsp; - Compressed Size <br>
<br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
: <font color="blue"> ''' } ''' </font> <br>
<br>
</b></tt>
 
=== MultiEx BMS Script ===
 
Not written yet<br><br>
 
=== Compatible Programs ===
 
* [[Game Extractor|Game Extractor]]<br>

Latest revision as of 19:19, 25 July 2021

Redirect to: