Editing STAR Files
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
STAR files | 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 header (size: 0x8 bytes) | ||
* a file name (size specified in header) | * a file name (size specified in header) | ||
Line 6: | Line 6: | ||
* sha-1 hash of file data (size: 0x14 bytes) | * sha-1 hash of file data (size: 0x14 bytes) | ||
Subfolders are handled by simply writing out the full path in the file name, with subfolders being separated with / | Subfolders are handled by simply writing out the full path in the file name, with subfolders being separated with /. | ||
== Header structure == | == Header structure == | ||
Line 27: | Line 25: | ||
| 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 | | Size of file name | ||
|- | |- | ||
| 0x7 | | 0x7 |