STAR Files: Difference between revisions

From PS2 Developer wiki
Jump to navigation Jump to search
(Created page with "== Overview == STAR files store packages on the PSX Update Disc 2.11. It is a fairly simple archive format. Each entry consists of the following segments: * a header (size...")
 
Line 23: Line 23:
| 0x2
| 0x2
| 4
| 4
| 32 bit file data size
| 32 bit file data size (without file name or hash)
|-
|-
| 0x6
| 0x6
| 1
| 1
| Size of file name alone
| Size of file name
|-
|-
| 0x7
| 0x7

Revision as of 21:28, 22 June 2022

Overview

STAR files store packages on the PSX Update Disc 2.11. It is a fairly simple archive format. Each entry consists of the following segments:

  • a header (size: 0x8 bytes)
  • a file name (size is specified in header)
  • the actual file data (size specified in header)
  • sha-1 hash of file data (size: 0x14 bytes)

Header structure

Start Length Description
0x0 1 Size of header + file name
0x1 1 Padding (always 0x00)
0x2 4 32 bit file data size (without file name or hash)
0x6 1 Size of file name
0x7 1 Padding (always 0x00)