Difference between revisions of "Argonaut WAD"

From XentaxWiki
Jump to: navigation, search
(Format Specifications)
(Format Specifications)
Line 8: Line 8:
 
=== Format Specifications ===  
 
=== Format Specifications ===  
  
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;">
+
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
 
<pre>
 
<pre>
 
// WAD file format
 
// WAD file format
  
4 bytes (uint32) - offset to the end of WAD archive  // in newer games 2048 needs to be added  
+
4 bytes (uint32) - offset to the end of WAD archive  // in newer games 2048  
 +
                                                      // needs to be added  
  
 
num_of_sections *
 
num_of_sections *

Revision as of 12:29, 24 July 2021

Back to index | Edit this page

WAD


Format Specifications

// WAD file format

4 bytes (uint32) - offset to the end of WAD archive   // in newer games 2048 
                                                      // needs to be added 

num_of_sections *
{
   x bytes - section data
}

Sections

WAD archive can store one or more sections from the list below:

  • TPSX / XSPT: Textures
  • SPSX / XSPS: Sound effects and ambient tracks
  • UNIF / FINU: Fonts and text management
  • LPSX / XSPL: Localization, translated strings
  • DPSX / XSPD: 3D models, animations, actors and level
  • PORT / TROP: Rendering groups / zones and more
  • 'END ' / ' DNE': Marks the end of the file. May contain some data.


TPSX (XSPT) section

4 bytes (char) - signature  // "XSPT"
4 bytes (uint32) - section size
x bytes - texture header
x bytes - texture data

SPSX (XSPS) section

4 bytes (char) - signature  // "XSPS"
4 bytes (uint32) - section size
x bytes - SPSX flags
x bytes - common sound effects count

UNIF (FINU) section

//HEADER
4 bytes (uint32) - signature "FINU"
4 bytes (uint32) - chunk size
2 bytes - unknown // char table size * 2 (?)
2 bytes (uint16) - number of supported languages?
4 bytes (uint32) - number of entries in char table
4 bytes - unknwon
2 bytes - unknown  // size of some rel_offsets data block? (look below)


//CHARACTER TABLE
num_of_entries *
{
  2 bytes - unknown  // always "\x00\x00"
  2 bytes - unknown  // height?
  2 bytes - character
  2 bytes - some relative offset
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • This file format occurs in games made by Argonaut.

Games

List of games using this file format:

  • Croc 2 (PS1) (*.WAD)
  • Harry Potter and the Sorcerer's Stone / Harry Potter and the Philosopher's Stone (PS1) (*.WAD)
  • Harry Potter and the Chamber of Secrets (PS1) (*.WAD)

Compatible Programs