EA SSH FSH Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 9: Line 9:




=== Format Specifications (SSH/SHPS type, e.g. NHL 2002 PS2) ===  
=== Format Specifications (FSH/SHPI type, e.g. Sim City 4 Deluxe PC) ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// NHL 2002
// Sim City 4 Deluxe
// SSH file format
// FSH file format
 
4 bytes (char) - magic  // "SHPI"
4 bytes (uint32) - total file size
4 bytes (uint32) - number of entries
4 bytes (char) - directory ID // e.g. "G354", "G264", "G266",
                              // "G290", "G315", "GIMX", G344"
 
num_of_entries *
{
  4 bytes (char) - file name  // e.g. "0905"
  4 bytes (uint32) - file offset
}


// little endian
8 bytes (char) - chunk name  // "Buy ERTS"


// Note: Whole SSH file may be compressed with LZSS or Huffman


// header
num of entries *
4 bytes (char) - magic // "SHPS"
{
  // FSH entry header - 16 bytes
  1 byte - record ID
  3 bytes (int24) - size of the block
  2 bytes (uint16) - width
  2 bytes (uint16) - height
  2 bytes (uint16) - X axis coordinate
  2 bytes (uint16) - Y axis coordinate
  2 bytes (uint16) - X axis position
  2 bytes (uint16) - Y axis position
  x bytes - palette & image data
}


// Note: Rest of the file format should be identical as in FSH/SHPI type.
</pre>
</pre>
</div>
</div>
Full FSH file format for Sim City 4 can be found [https://wiki.sc4devotion.com/index.php?title=FSH_Format here].
<br>


=== Format Specifications (FSH/ShpF type, e.g. NBA Live 06 PC) ===  
=== Format Specifications (SSH/SHPS type, e.g. NHL 2002 PS2) ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// NBA Live 06
// NHL 2002
// FSH file format
// SSH file format
 
// little endian


// litte endian/big endian
// Note: Whole SSH file may be compressed with LZSS or Huffman


// header
// header
4 bytes (char) - magic // "ShpF"
4 bytes (char) - magic // "SHPS"
4 bytes (uint32) - total file size
4 bytes (uint32) - number of images


// TODO - format is different, e.g. contains longer filenames
// Note: Rest of the file format should be identical as in FSH/SHPI type.
</pre>
</pre>
</div>
</div>
Line 75: Line 98:
</div>
</div>


=== Format Specifications (FSH/SHPI type, e.g. Sim City 4 Deluxe PC) ===  
=== Format Specifications (FSH/ShpF type, e.g. NBA Live 06 PC) ===  


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// Sim City 4 Deluxe
// NBA Live 06
// FSH file format
// FSH file format


4 bytes (char) - magic  // "SHPI"
// litte endian/big endian
 
// header
4 bytes (char) - magic  // "ShpF"
4 bytes (uint32) - total file size
4 bytes (uint32) - total file size
4 bytes (uint32) - number of entries
4 bytes (uint32) - number of images
4 bytes (char) - directory ID // e.g. "G354", "G264", "G266",
                              // "G290", "G315", "GIMX", G344"


num_of_entries *
// TODO - format is different, e.g. contains longer filenames
{
</pre>
  4 bytes (char) - file name  // e.g. "0905"
</div>
  4 bytes (uint32) - file offset
}
 
8 bytes (char) - chunk name  // "Buy ERTS"




num of entries *
{
  // FSH entry header - 16 bytes
  1 byte - record ID
  3 bytes (int24) - size of the block
  2 bytes (uint16) - width
  2 bytes (uint16) - height
  2 bytes (uint16) - X axis coordinate
  2 bytes (uint16) - Y axis coordinate
  2 bytes (uint16) - X axis position
  2 bytes (uint16) - Y axis position
  x bytes - palette & image data
}
</pre>
</div>
Full FSH file format for Sim City 4 can be found [https://wiki.sc4devotion.com/index.php?title=FSH_Format here].


=== MultiEx BMS ===  
=== MultiEx BMS ===  

Revision as of 17:45, 23 January 2021

Choose archive extension:

SSH, FSH, MSH, XSH


Format Specifications (FSH/SHPI type, e.g. Sim City 4 Deluxe PC)

// Sim City 4 Deluxe
// FSH file format

4 bytes (char) - magic  // "SHPI"
4 bytes (uint32) - total file size
4 bytes (uint32) - number of entries
4 bytes (char) - directory ID // e.g. "G354", "G264", "G266",
                              // "G290", "G315", "GIMX", G344"

num_of_entries *
{
   4 bytes (char) - file name  // e.g. "0905"
   4 bytes (uint32) - file offset 
}

8 bytes (char) - chunk name  // "Buy ERTS"


num of entries *
{
   // FSH entry header - 16 bytes
   1 byte - record ID
   3 bytes (int24) - size of the block
   2 bytes (uint16) - width
   2 bytes (uint16) - height
   2 bytes (uint16) - X axis coordinate
   2 bytes (uint16) - Y axis coordinate
   2 bytes (uint16) - X axis position
   2 bytes (uint16) - Y axis position
   x bytes - palette & image data
}

Full FSH file format for Sim City 4 can be found here.

Format Specifications (SSH/SHPS type, e.g. NHL 2002 PS2)

// NHL 2002
// SSH file format

// little endian

// Note: Whole SSH file may be compressed with LZSS or Huffman

// header
4 bytes (char) - magic // "SHPS"

// Note: Rest of the file format should be identical as in FSH/SHPI type.

Format Specifications (XSH/ShpX type, e.g. NBA Live 07 XBOX)

// NBA Live 07 XBOX
// XSH file format

// Note: Textures may be swizzled

4 bytes (char) - magic  //  "ShpX"

// Note: Rest of the file format should be identical as in FSH/SHPI type.

Format Specifications (MSH/SHPM type, e.g. Madden PSP)

// Madden PSP
// MSH file format


// header
4 bytes (char) - magic  // "SHPM"

// Note: Rest of the file format should be identical as in FSH/SHPI type.

Format Specifications (FSH/ShpF type, e.g. NBA Live 06 PC)

// NBA Live 06
// FSH file format

// litte endian/big endian

// header
4 bytes (char) - magic  // "ShpF"
4 bytes (uint32) - total file size
4 bytes (uint32) - number of images

// TODO - format is different, e.g. contains longer filenames


MultiEx BMS

Not written yet.

Notes

  • Some files inside SSH container may be compressed with LZSS compression or with Huffman compression.
  • PS2 games uses SSH extension, PC games uses FSH extension, PSP games uses MSH extension, XBOX games uses XSH extension.

Games

List of games using this file format:

  • Def Jam: Fight for NY
  • EA Cricket 2005 (PS2)
  • EA Cricket 07 (PS2)
  • FIFA Street 1 (PS2)
  • FIFA 2009
  • Harry Potter And The Chamber Of Secrets (PS2)
  • James Bond 007: Nightfire
  • Madden NFL 06 (PSP)
  • NBA Live 06 (PC)
  • NBA Live 07 (XBOX)
  • Need For Speed [Special Edition]
  • Need For Speed II [Special Edition]
  • Need For Speed III: Hot Pursuit
  • Need For Speed: High Stakes
  • Need For Speed: Road Challenge
  • Need For Speed: Porsche 2000
  • Need For Speed: Porsche Challenge
  • Need For Speed: Hot Pursuit II
  • NHL 2002 (PS2)
  • SSX Tricky
  • UEFA Euro 2004

Supported Programs

Gallery