Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

How to: Modify Save Data

A Tutorial for Sonic 3 A.I.R

No ads for members. Membership is 100% free. Sign up!

Finally, they say!

1. Introduction:

Hello, and welcome to a long awaited tutorial on how to edit your OWN save data for Sonic 3 A.I.R. A lot of you are requesting things on my 100% Save File I have here on this same page, so why not learn how to do it yourself?

Before I get started, I would like to first mention this is using values that were already found in Sonic & Knuckles Collection (both games share almost all the same values.) With this, credit goes mostly to the Sonic Community Hacking Guide page for S&KC on Sonic Retro. Since Sonic 3 A.I.R introduces a few new values, plus reworks some of them, as well as finding the rest of the values that were not already found (they were found by me), this guide should also work for Sonic & Knuckles Collection (albeit using a different save data name for the file, and the deprecation of Knuckles & Tails).

You will need:
  • sram.bin (found in %appdata%\Sonic3AIR) (use Win key + R to access Run terminal and use that directory)
  • A hex editor (preferably HxD Hex Editor)
  • A brain (duh!)

Each save slot spans 09 bytes. The next save slot is stored right after the first one.

The last 4 values in the sram.bin are not related to save slots, don't modify these.

Also, after modifying save files, DELETE persistentdata.bin, this stores game data from last game and will revert the save file if not deleted.

------------------------------------------------------------------------------------------------

2. Value $00 - $01: Save Data Completion:

8000 - New Game
0000 - Game in Progress

0100 - Game Complete (No Emeralds)
You must have less than all 7 Chaos Emeralds, at least 6 or lower, or none for this to count as a 'legit' run

0200 - Game Complete (Chaos Emeralds) 
You must have your emerald count set to All Chaos Emeralds Collected for this to count as a 'legit' run.

0300 - Game Complete (Super Emeralds) 
You must have your emerald count set to All Super Emeralds Collected for this to count as a 'legit' run.

------------------------------------------------------------------------------------------------

3. Value $02: Character:

NOTE: This value seems to increase when you have completed a Sonic 3 Special Stage (not an S&K stage). This doesn't matter as it only flags which ones have been completed.

00 - Sonic & Tails
01 - Sonic
02 - Tails
03 - Knuckles
04 - Knuckles & Tails

------------------------------------------------------------------------------------------------

4. Value $03: Level:

00 - Angel Island
01 - Hydrocity
02 - Marble Garden
03 - Carnival Night
04 - Ice Cap
05 - Launch Base
06 - Mushroom Hill
07 - Flying Battery
08 - Sandopolis
09 - Lava Reef
0A - Hidden Palace

0B - Sky Sanctuary
Use if you set the Save Data Completion value to anything that is 0100 or higher, and if character is Knuckles/Knuckles & Tails.

0C - Death Egg
Use if you set the Save Data Completion value to 0100 with Sonic/Sonic & Tails, or 0100 or higher with Tails. Can also be used to select Death Egg with Knuckles on the Data Select.

0D - Doomsday
Use if you set the Save Data Completion value to anything that is 0200 or higher with Sonic/Sonic & Tails. Can also be used to select up to Doomsday with Tails/Knuckles/Knuckles & Tails on the Data Select.

------------------------------------------------------------------------------------------------

5. Value $04: ???:

This does things that we don't know yet.

------------------------------------------------------------------------------------------------

6. Value $05: Special Stage Array:

It's unknown as to how this works completely.
Needs more investigation.

------------------------------------------------------------------------------------------------

7. Value $06 - $07: Emeralds:

These have been ordered by emerald collections and how many you can have per collection. 
There are a random amount of values (e.g. You could have two Chaos Emeralds, and only one Super Emerald, etc.) These values above have not been documented.

0000 - No Emeralds

4000 - Chaos Emeralds: Green
5000 - Chaos Emeralds: Green, Yellow
5400 - Chaos Emeralds: Green, Yellow, Magenta
5500 - Chaos Emeralds: Green, Yellow, Magenta, Blue
5540 - Chaos Emeralds: Green, Yellow, Magenta, Blue, White
5550 - Chaos Emeralds: Green, Yellow, Magenta, Blue, White, Red
5554 - All Chaos Emeralds Collected

AAA8 - Hidden Palace (No Chaos Emeralds, Super Emeralds Obtainable)

EAA8 - Super Emeralds: Green
FAA8 - Super Emeralds: Green, Yellow
FEA8 - Super Emeralds: Green, Yellow, Magenta
FFA8 - Super Emeralds: Green, Yellow, Magenta, Blue
FFE8 - Super Emeralds: Green, Yellow, Magenta, Blue, White
FFF8 - Super Emeralds: Green, Yellow, Magenta, Blue, White, Red
FFFC - All Super Emeralds Collected

------------------------------------------------------------------------------------------------

8. Value $08: Lives:

Since the amount of lives goes up by one value (00 = 1 Live, 01 = 2 Lives), it should be easy to find out how many you want

63 = 99 Lives (For those who are curious.)

Remember that values have 15 values per numeral (0 has 00 - 0F, 1 has 10 - 1F, etc.)

------------------------------------------------------------------------------------------------

9. Value $09: Continues:

This is exactly the same as the lives value, so refer to that.

------------------------------------------------------------------------------------------------

10. Conclusion:

So that is most of the values you will need to get started! Have fun modifying your save files!

Todos

Discover byte 04 Low Priority Reverse-engineer Special Stage Array Low Priority
Sign up to access this!
  • NXXZX avatar
    NXXZX Joined 3mo ago
    Offline
    1,736 points Ranked 21310th
    8 medals 1 rare
    • Returned 1000 times Medal icon
    • Submission featured Medal icon
    • Returned 100 times Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • Reached 1,000 Points Medal icon
    access_time 1mo
    Great Tutorial! But, what about achivements? Do you know how to edit those?
    A modding rookie
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
ChaosWeeb avatar
ChaosWeeb username pic Joined 2y ago
Offline
127 points Ranked 63959th
Tutorial Writer, Finder of Values
Sonic Retro
Original Values on SCHG

Submitter

ChaosWeeb avatar
ChaosWeeb username pic Joined 2y ago
Online
127 points Ranked 63959th
ChaosWeeb avatar
ChaosWeeb

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Save Files
Hex Editing

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 1
  • 1.1k
  • 3
  • 1mo
  • 29d