Generation 6 & 7 Save Files
Save file implementations for Nintendo 3DS Pokemon games.SAV6 (Abstract Base)
Base class for X, Y, Omega Ruby, and Alpha Sapphire save files.Class Definition
PKHeX.Core/Saves/SAV6.cs
Storage Specifications
| Property | Value |
|---|---|
| Box Count | 31 |
| Box Slot Count | 30 |
| Party Size | 6 |
| Total Capacity | 930 Pokemon |
Key Properties
Trainer Information
Regional Information
Game Sync
Time Tracking
Game-Specific
Block Accessors
Records System
Form Arguments
Gen 6 introduced form arguments for time-limited forms:JPEG Photo
SAV7 (Abstract Base)
Base class for Sun, Moon, Ultra Sun, and Ultra Moon save files.Class Definition
PKHeX.Core/Saves/SAV7.cs
Storage Specifications
| Property | Value |
|---|---|
| Box Count | 32 |
| Box Slot Count | 30 |
| Party Size | 6 |
| Total Capacity | 960 Pokemon |
Key Properties
Trainer Information
Block Accessors
Daycare System
Box Management
Battle Teams
Fused Pokemon
Gen 7 stores fused Pokemon (Kyurem, Necrozma) separately:Form Arguments
QR Code Support
MemeCrypto Signature
Gen 7 uses MemeCrypto signature system:SAV7b
Save file for Pokemon: Let’s Go, Pikachu! and Let’s Go, Eevee!Class Definition
PKHeX.Core/Saves/SAV7b.cs
Storage Specifications
| Property | Value |
|---|---|
| Box Count | 40 |
| Box Slot Count | 25 (1000 total) |
| Party Size | 6 |
| Total Capacity | 1,000 Pokemon |
Unique Features
Box Layout
Let’s Go uses a different box layout:Storage Compression
Starter Pokemon
Block Accessors
Go Park
Integration with Pokemon GO:Capture Records
Spirit Mood
Let’s Go Pokemon have spirit/mood mechanics:Game Sync
Technical Notes
SAV_BEEF Base Class
Gen 6, 7, and 7b all inherit fromSAV_BEEF, which provides:
- Block-based save structure
- Checksum validation per block
- Automatic block detection
- Memory-efficient data handling
Block System
String Encoding
- Gen 6: UTF-16 with custom encoding (StringConverter6)
- Gen 7/7b: UTF-16 with custom encoding (StringConverter7/StringConverter8)
PKM Format
- Gen 6: PK6 (0xE8 bytes stored, 0x104 bytes party)
- Gen 7: PK7 (0xE8 bytes stored, 0x104 bytes party)
- Gen 7b: PB7 (0x104 bytes for both stored and party)