Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Savegame editor for Snoopy vs. the Red Baron

tl;dr

./srb.py --profile 1 --unlock-everything --buy-everything "Profile 1.sav"

Article

Previous posts in this 3-part series:

  1. Initial research for hacking savegame files for Snoopy vs. the Red Baron (2024-03-22)
  2. The checksum for the savegame file for Snoopy vs. the Red Baron (2024-03-26)

I have finished my Savegame Editor for Snoopy vs. the Red Baron! Go check out the source code now.

This python tool lets you query, and set, values for the different user profiles in the savegame file. You can change the username, or give yourself a lot of money, or mark levels completed with rank "General," and so on.

All of this is possible because of the checksum I learned in part 2.

You can use my savegame editor to change a profile name:

./srb.py --profile 1 --set-name "blogger" "Profile 1.sav"

You can purchase any specific plane by name even if you don't have the letters for it. (Not terribly useful on PC, but still.)

./srb.py --profile 1 --add-purchased-plane "rerun" "Profile 1.sav"

Reset balloons for a level.

./srb.py --profile 1 --set-level-balloons 5,none "Profile 1.sav"

You can read information too; you don't just have to set values.

./srb.py --profile 2 --get-levelset 0 "Profile 1.sav"

I would call this script as of the time of this writing as minimum viable product. It doesn't always respect debuglevel, or have a great layout of the output. But it does the bare minimum I wanted it to be able to do.

Happy cheating at a kid's game! Contributions welcome.

Comments