Skip to content

PSPFS_V1

ProgSys edited this page Mar 28, 2016 · 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.

File structure

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
  • For each file:
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
  • For each file:
  • Data of each file
Clone this wiki locally