Format:PSU and MAX (PS2 save containers)
| On this wiki | Facts · Code · Notes · Topics |
|---|
Single-save export files of PlayStation 2 memory cards: .psu is a plain sequence of 512-byte directory entries each followed by its data padded to 1 KiB; .max (ActionReplay MAX) has a header starting "Ps2PowerSave", a CRC and an LZARI-compressed body; .cbs and .xps are other cheat-device containers.
Overview
A PS2 save is a directory on the Format:PS2 memory card image containing icon.sys, one to three icon models and the game's data files. Export tools write it as one file. The formats here are described from the Apollo save tool, which cites Cheat Device PS2 as its source for them.
PSU
The .psu file is a flat copy of the card's entries: first the 512-byte entry of the save directory (its length field is the number of entries inside, including . and ..), then the entries for . and .., then for each file a 512-byte entry (mode, length, dates, name) followed by the file's bytes and zero padding up to a multiple of 1024 bytes. There is no magic number; recognise it by a first entry with the directory bit (0x0020) in the mode, a printable name and the two dot entries. The entry layout is the same as the card's directory entry (see the PS2 memory card page).
MAX
The .max (ActionReplay MAX) header is: 12-byte magic Ps2PowerSave, CRC-32 u32, 32-byte directory name, 32-byte icon.sys name, compressed size u32, number of files u32, then the LZARI-compressed body whose first u32 is the decompressed size; entries inside are {length u32, name[32]}. Apollo checks the CRC over the whole file with the CRC field taken as zero, and treats a stored 0 as not set. Header values are little-endian (the code byte-swaps only on big-endian hosts).
icon.sys
The icon.sys file in a save starts with the text PS2D; its fields are: a second-line offset, transparency 0-0x80, four background corner colours, three light directions and colours, the ambient light, a 68-byte Shift-JIS title and three 64-byte file names (normal, copy and delete icon).
The full layout with offsets, byte order and the differences between readers is on Format:PS2 icon.sys.
Other containers
.cbs (header CFU\0; encrypted with an RC4 variant by CodeBreaker) and .xps (header SharkPortSave) are cheat-device exports, recognition only. .psv (header \0VSP) is the PS3 wrapper for the same saves and is signed.
Code & repositories
- https://github.com/bucanero/apollo-ps3 @
7c0686d2f242773ac3f3230b8a9c7cd2aabc52b9· license: GPL-3.0
PS3 save manager (GPL-3.0) with PS2 save converters: include/ps2mc.h (entry, icon.sys, MAX structs) and source/psv_ps2.c (PSU, MAX, CBS, XPS readers).
Tested on: source read, not run: source read, not run or built · checked 2026-10-19; last activity 2026-10-17