View source: IDX (revision 186)
Jump to navigation
Jump to search
2018-11-10T22:20:31Z · PhilYeahz · Download source
[[Category:Shenmue]]
[[Category:Shenmue II]]
[[Category:Files]]
[[Category:Containers]]
The IDX file is an [[AFS]] indices mapping file with filenames for the game.
===IDX0===
====Header====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || string || Identifier (IDX0)
|-
| 0x04 || 0x02 || ushort || Entry Count + Self?
|-
| 0x06 || 0x02 || ushort || Entry Count
|-
| 0x08 || 0x0C || ? || Reserved
|}
====Entry====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x0C || string || Filename
|-
| 0x0C || 0x02 || ushort || AFS index
|-
| 0x0E || 0x02 || ushort || AFS last index
|-
| 0x10 || 0x04 || ? || Unknown
|}
===IDXB,IDXC,IDXD===
These IDX types have an token based structure.
====TABL====
This token contains the entries.
====SIXD====
Unknown.
====ENDI====
End of the IDX file.
===IDXB===
====Header====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || string || Identifier (IDXB)
|-
| 0x04 || 0x04 || ? || Unknown
|-
| 0x08 || 0x02 || ushort || Entry Count + Self?
|-
| 0x0A || 0x02 || ushort || Entry Count
|-
| 0x0C || 0x04 || ? || Reserved
|}
====Entry====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || ? || Unknown
|-
| 0x04 || 0x04 || string || Filename
|-
| 0x08 || 0x04 || ? || Unknown
|-
| 0x0C || 0x04 || ? || Unknown
|}
===IDXC===
====Header====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || string || Identifier (IDXC)
|-
| 0x04 || 0x04 || ? || Unknown
|-
| 0x08 || 0x02 || ushort || Entry Count + Self?
|-
| 0x0A || 0x02 || ushort || Entry Count
|-
| 0x0C || 0x04 || ? || Reserved
|}
====Entry====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || ? || Unknown
|-
| 0x04 || 0x04 || string || Filename
|-
| 0x08 || 0x04 || ? || Unknown
|}
===IDXD===
====Header====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || string || Identifier (IDXD)
|-
| 0x04 || 0x04 || ? || Unknown
|-
| 0x08 || 0x02 || ushort || Entry Count + Self?
|-
| 0x0A || 0x02 || ushort || Entry Count
|-
| 0x0C || 0x04 || ? || Reserved
|}
====Entry====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || ? || Unknown
|-
| 0x04 || 0x04 || string || Filename
|}
===HUMANS===
The HUMANS.IDX file only has half as much entries as the HUMANS.AFS file.<br>
This is due to the fact that the HUMANS.AFS consists out [[PKF]] and [[PKS]] pairs, so each pair has one IDX entry.
====Header====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || ushort || Entry Count
|}