-
Notifications
You must be signed in to change notification settings - Fork 6
PSPFS_V1
ProgSys edited this page Oct 17, 2018
·
8 revisions
PSPFS_V1 (acronym for 'Playstation Portable File System Version 1'?) is used for the two top level archives DATA.DAT
and SUBDATA.DAT
and contains a variety of different files, like Textures (.TX2), Sounds (.OGG), Maps (.MPP/.MDP) and other types of archives.
Even though the names of the files are stored, the order of most files is imported, as the game doesn't seem to search a file by it's name, but rather by it's position in the archive. Therefor padding is used ('DUMMY.DAT'), so on deletion of a file the file order is not destoyed.
Most sound files (.OGG) can be moved out the archive and the game will still find them.
Type | Size | Description |
---|---|---|
String | 8 byte | Magic number, always 'PSPFS_V1' |
uInt | 4 byte | Number of files |
Unknown | 4 byte | always zero, it could be that the 'Number of files' is a long |
- Next is a mapping table wich contains inforamtion about each file:
- Size: Number of files * 52 bytes
Type | Size | Description |
---|---|---|
String | 40 byte | always upper case, you will need to remove empty spaces |
uInt | 4 byte | Decompressed file size, if 0 file is uncompressed |
uInt | 4 byte | File size |
uInt | 4 byte | Pointer to file |
- The remaining data contains the actual files