Format:PSF (PARAM.SFO)
| Platforms | Platform:PlayStation Portable, Platform:PlayStation 3, Platform:PlayStation Vita |
|---|---|
| Magic | 00 50 53 46 (\0PSF) |
| Extensions | .sfo |
| Endianness | little |
| On this wiki | Facts · Code · Notes · Topics |
System File Object (PARAM.SFO) used by the PSP, PS3 and PS Vita to describe a title: magic 00 50 53 46 (\0PSF), version 01 01 00 00, a key table, a data table and 16-byte index entries; values are strings or 32-bit integers keyed by names such as TITLE, TITLE_ID, CATEGORY and APP_VER.
Overview
A small little-endian key/value database. It sits at the start of an Format:PBP (PSP EBOOT), in the root of PS3 game folders (PS3_GAME/PARAM.SFO), and as sce_sys/param.sfo in a PS Vita Format:VPK (PS Vita). The same layout serves all three consoles; only the key names differ.
Layout
Header (20 bytes): magic 00 50 53 46, version u32 0x00000101 (bytes 01 01 00 00), key table offset, data table offset, entry count.
Index entries (16 bytes each, directly after the header): key offset u16 (relative to the key table), alignment u8, type u8, used value size u32, total (padded) value size u32, value offset u32 (relative to the data table). RPCS3 reads alignment and type together as a u16 format: 0x0004 UTF-8 array not necessarily terminated, 0x0204 zero-terminated UTF-8 string, 0x0404 32-bit integer. Keys are sorted alphabetically and stored zero-terminated in the key table.
Format word in PPSSPP and Vita3K: 0x0004 UTF-8 special (raw bytes, length = used size, no terminator required), 0x0204 UTF-8 NUL-terminated string (used size counts the NUL), 0x0404 u32; Vita3K adds 0x0402 ASCII. PPSSPP warns, but still parses, when the version is not 0x00000101, and its writer pads the key table to 4 bytes. Keys PPSSPP uses on a PSP disc: DISC_ID, TITLE, DISC_VERSION, PSP_SYSTEM_VER, MEMSIZE, DISC_TOTAL; Vita3K reads app version, category, content id, parental level, short title and title id (APP_VER, CATEGORY, CONTENT_ID, PARENTAL_LEVEL, STITLE, TITLE, TITLE_ID). Unverified: the exact Vita key names listed here were inferred from Vita3K's SfoAppInfo field names, not read from the key strings.
Common keys
- PSP (pspsdk mksfo defaults): BOOTABLE (int), CATEGORY (
MGfor a game), DISC_ID, DISC_VERSION, PARENTAL_LEVEL, PSP_SYSTEM_VER, REGION (0x8000), TITLE. - PS3 (PSL1GHT template): APP_VER, ATTRIBUTE, BOOTABLE, CATEGORY (
HGHDD game), LICENSE, PARENTAL_LEVEL, PS3_SYSTEM_VER (01.8000), RESOLUTION (bit mask), SOUND_FORMAT (bit mask), TITLE, TITLE_ID, VERSION. - RPCS3 names the RESOLUTION bits 480, 576, 720, 1080, 480 16:9, 576 16:9 (bits 0 to 5) and SOUND_FORMAT bits LPCM 2.0 (bit 0), LPCM 5.1 (bit 2), LPCM 7.1 (bit 4), AC3 (bit 8), DTS (bit 9).
Tools
mksfo and mksfoex (pspsdk), sfo.py and sfo.c (PSL1GHT), vita-mksfoex (vita-toolchain).
Pitfalls
- The version bytes are
01 01 00 00; some descriptions call this 1.1. - Value sizes are padded to the alignment; read the used size, not the padded one, for strings.
Code & repositories
See Platform:PlayStation Portable, Platform:PlayStation 3 and Platform:PlayStation Vita.
- https://github.com/RPCS3/rpcs3 @
cbfcf1f6b5de6aed8db54b9a59a5e99b9277e2b3· license: GPL-2.0-only (declared by the contributor for the files used; GitHub reports GPL-2.0 for the repository)
PS3 emulator (GPL-2.0): Crypto/unself.h, unpkg.h, Loader/PSF.h and PPUModule.cpp document SELF, PKG, SFO and SPRX import structures
Tested on: source read, not run: headers read through a summarising fetch, not cloned · checked 2026-10-18; last activity 2026-10-17 - https://github.com/hrydgard/ppsspp @
0c6aa15f9be365bb88265636881814914ee8ac58· license: GPL-2.0 (declared by the contributor for the files used; GitHub reports BSD-2-Clause (read from LICENSE.TXT; GitHub's detector did not classify it) for the repository)
PSP emulator (GPL-2.0): Core/ELF/ParamSFO.cpp (SFO read/write), Core/FileSystems/BlockDevices.cpp (CSO, NPDRM PBP), Core/PSPLoaders.cpp (disc paths), Core/Font/PGF.h (font header)
Tested on: source read, not run: source read, not run; raw files fetched at the pinned commit · checked 2026-10-19; last activity 2026-10-18; Note: the latest release ships binaries; the wiki links only the source, never the binaries - https://github.com/Vita3K/Vita3K @
7059dc2a40f1e416ce5403de31db209c75018f99· license: GPL-2.0 (declared by the contributor; GitHub's detector did not recognize COPYING.txt)
PS Vita emulator (GPL-2.0): vita3k/packages pkg.h/pkg.cpp (plain PKG header, info items) and sfo.h/sfo.cpp (SFO parser)
Tested on: source read, not run: source read, not run; raw files fetched at the pinned commit · checked 2026-10-19