Formats/Common:SSH: Difference between revisions

no edit summary
(Pasted in SSH Research Data)
 
No edit summary
=== Overview ===
EA's SSH Texture Files
 
==== Magic words ====
{| class="wikitable"
|????
|ShpS (SSX On Tour)
|}
|}<!-- Editor's note: ShpS is the "new" format. Tools as early as 2004 call SHPS "old" -->
 
== SHPS ==
 
=== Header ===
{| class="wikitable"
|Gimex Version/Creator Code
|}
 
=== Texture Entries ===
{| class="wikitable"
| Type    |   Description  |
|+
!Type
| Type   | !Description |
|-
|Char[4]
|Short Name
|-
|UInt32
|Offset
|}
 
=== Header End ===
|---------|----------------|
{| class="wikitable"
 
|+
| Char[4] | Short Name     |
!Type
 
!Description
| UInt32  | Offset         |
|-
 
|Char[4]
=== Header End ===<!-- Editor's note: I believe this is padding, and they chose to make it funny cause.. it's padding. -->
|Group
 
|-
| Type   | Description |
|Char[4]
 
|String?
|--------|------------|
|}
 
| Char[4]| Group      |
 
| Char[4]| String?    |<!-- rewrite this section from #file-formats info -->
 
=== Texture Entry ===
 
==== Entry Texture Types ====
All shape entries start with a header that looks like this:<syntaxhighlight lang="c++" line="1">
};
</syntaxhighlight>| Chunk Type           | Description                  |
 
|----------------------|-------------------------------|
 
 
If `(type & 0x80) == 1` the data will be compressed with RefPack.
 
=== Texture Header ===
| Type   | Description |
 
| 32-bit     | BGRA8888 Direct Colors          |
 
=== Colour Pallet Header ===
| Type   | Description |
 
After the header is *Width* count BGRA8888 colors.
 
=== Long Name Header ===
| Type     | Description  |