| Offset (hex) | Size (bytes) | Description | Typical Value (HEX) | |--------------|--------------|-------------|---------------------| | 0x00 | 12 | Magic identifier | RESIDENT EVIL 4 (ASCII) | | 0x0C | 1 | Save slot index | 0x00 – 0x0F | | 0x0D | 1 | Region code | 0x01 = Japan, 0x02 = US, 0x03 = Europe | | 0x10 | 32 | Player name (ASCII, null-padded) | LEON | | 0x30 | 4 | Save counter (increments each save) | 0x0000000A (10 saves) |
| Modification | Offset (in decrypted block) | Original | Modified | |--------------|-----------------------------|----------|----------| | Max Pesetas (money) | 0x08 (4 bytes, little-endian) | 0x0000FFFF | 0x0098967F (10M) | | Infinite Rocket Launcher in inventory | Search for item code 0x0008 | 0x00 | 0x63 (quantity) | | Unlock Professional difficulty | 0x24 (bit 4) | 0x00 | 0x10 | Resident Evil 4 - -PCSX2 Memory Card Save File-
The emulator uses these fields to populate the PCSX2 browser menu (e.g., showing "LEON – 10 saves"). From offset 0x200 onward lies the actual save data, compressed and lightly XOR-encrypted. The encryption is not true cryptographic (not AES) but a rolling XOR with a static 8-byte key ( 0xAB, 0xCD, 0xEF, 0xFE, 0xDC, 0xBA, 0x98, 0x76 ) derived from Capcom’s internal engine. | Offset (hex) | Size (bytes) | Description