Generation 8 Save Files
Save file implementations for Nintendo Switch Pokemon games.SAV8SWSH
Save file for Pokemon Sword and Shield.Class Definition
PKHeX.Core/Saves/SAV8SWSH.cs
Save Revisions
Sword and Shield has 3 save revisions based on DLC:Storage Specifications
| Property | Base | IoA | CT |
|---|---|---|---|
| Box Count | 32 | 32 | 32 |
| Max Species | 400 | 500 | 664 |
| Max Move | 796 | 826 | 850 |
| Max Item | 1278 | 1489 | 1589 |
| Max Ability | 258 | 260 | 267 |
SCBlock System
Gen 8 introduced the SCBlock (Save Block) architecture:Block Accessors
Key Properties
Box Management
Battle Teams
Max Raid Battles
Diglett Hunt (IoA)
Form Arguments
Record Tracking
No Traditional Checksums
SAV8BS
Save file for Pokemon Brilliant Diamond and Shining Pearl.Class Definition
PKHeX.Core/Saves/SAV8BS.cs
Save Revisions
Storage Specifications
| Property | Value |
|---|---|
| Box Count | 40 |
| Box Slot Count | 30 |
| Party Size | 6 |
| Daycare Slots | 2 |
Block Structure
BDSP uses a fixed-offset block system:Version-Specific Blocks
Key Properties
Position Data
Daycare System
Event Work
Battle Teams
Checksums
BDSP uses MD5 hashing:SAV8LA
Save file for Pokemon Legends: Arceus.Class Definition
PKHeX.Core/Saves/SAV8LA.cs
Save Revisions
Storage Specifications
| Property | Value |
|---|---|
| Box Count | 32 |
| Box Slot Count | 30 |
| Party Size | 6 |
| Total Capacity | 960 Pokemon |
SCBlock System
Similar to SWSH, uses SCBlock architecture:Block Accessors
Key Properties
Pokedex System
Legends Arceus uses a research-based Pokedex:Area Spawners
Manages wild Pokemon spawns:Box Management
No Traditional Checksums
Technical Notes
SwishCrypto
Gen 8 Switch games use SwishCrypto for encryption:SCBlock Architecture
SCBlocks use 32-bit FNV-1a hashes as keys:PKM Formats
- SWSH: PK8 (stored and party both 0x148 bytes)
- BDSP: PB8 (stored and party both 0x158 bytes)
- PLA: PA8 (stored 0x168 bytes, party 0x168 bytes)