O erro "Save data corrupted" (ou "The save file will be loaded. The file can be erased.") no VBA / mGBA / hardware real é comum. Hierarquia diagnóstico:
1. Mismatch Save Type no Emulador (Mais Comum)
Carts GBA usam hardware save diferente: EEPROM (512B/8KB), SRAM (32KB), FLASH (64KB/128KB). VBA costuma chutar errado.
- Fix no VBA-M / mGBA: Options → Emulator → Save Type → Force "Flash 128K" (funciona para Pokémon Emerald, Ruby, Sapphire, FireRed, LeafGreen)
- Depois: Delete
.sav antigo → Reinicie jogo → Salve in-game → "Save data corrupted" some
2. Problemas Real-Time Clock (RTC) (Pokémon Emerald/Sapphire/Ruby)
- Esses carts têm chip RTC para crescimento berries, marés, shoal cave, eventos diários
- VBA/mGBA emulam RTC via hora sistema host. Se hora sistema pula / emulador fechado incorretamente → checksum RTC falha → "Corrupted"
- Fix: Use mGBA (melhor emulação RTC). Ative "RTC" nas configurações. Defina hora sistema correta antes de lançar
- Fix Homebrew (Cart Real): Rode GBATA ou RTC Tool via flashcart para resetar RTC
3. Corrupção/Truncamento Arquivo Save
- Perda energia / crash durante write →
.sav parcial (tamanho não 32KB/64KB/128KB)
- Fix: Delete
.sav. Novo jogo. Use Save States (F1-F10) só backup, não save primário. Save in-game (Start → Save) escreve estrutura completa válida
4. Extensão/Pasta Arquivo Errada
- VBA usa
.sav / .sgm. mGBA usa .sav. Garanta emulador lê mesmo arquivo que jogo escreve
- Cheque: Options → Paths → Save Directory. Coloque ROM e
.sav mesma pasta
5. Códigos Cheats / Hacks Deram Errado
- Códigos Action Replay / GameShark escritos no bloco save → corrupção
- Fix: Desative todos cheats. Delete
.sav. Comece limpo
6. Hardware (GBA/SP/DS Lite Real + Flashcart)
- EZ-Flash Omega / EverDrive GBA: Atualize kernel/firmware. Auto-detect save type geralmente funciona
- Cart Original: Bateria morta (SRAM) → saves somem no power off. Troque CR1616/CR2025. Flash carts (Pokémon) não usam bateria save — mas bateria RTC morre → eventos tempo param
🛠️ Setup Moderno Recomendado
- Emulador: mGBA (Windows/Mac/Linux/Switch/3DS/Wii/U/PSP/Vita) — accurado, RTC, sensor solar, link cabo (local/net), save states, cheat search
- Core (RetroArch):
mgba core — mesma accurácia, UI unificada
- Hardware: EZ-Flash Omega Definitive Edition — melhor flashcart, RTC, save instant, sleep mode
TL;DR: Save Type = Flash 128K no emulador. Delete .sav velho. Use mGBA. Salve in-game (não só save states).