Very unfinished but well planned (I think), slightly useful library for reading save data from
- Pokémon Ruby
- Pokémon Sapphire
- Pokémon Leaf Green
- Pokémon Fire Red
- Pokémon Emerald
PRs welcome to add missing functionality.
pip install git+https://github.com/pmdevita/pkmn3save
There are no docs but stuff is typed so your IDE should help you fumble through it.
from pkmn3save import SaveFile
data = SaveFile("emerald.sav")
print(data.game_save_a.trainer_info)
print(data.game_save_a.team_items.team)
Library built using the Bulbapedia article as a reference Thanks to the authors!