Sonic Mania

Sonic Mania

30 ratings
Fix for "Steam user must be logged in to play this game"
By Tenjoin
This fixes the issues users are having during offline play of Sonic Mania through Steam.
   
Award
Favorite
Favorited
Unfavorite
NOTE: This is exclusively for the very first version, an update was released.
An update was pushed just today for Sonic Mania! The guide below may not work anymore.

Launch the game once online and it should work.
SpecialK fix by Kaldaien
Another patch that works during runtime (without editing any files) has been made by Kaldaien.

You can find SpecialK here[gitlab.com].

If you do not wish to use this (or for some reason can't), follow the guide below.
Otherwise, I recommend this method the most (due to file preservation).
IPS patch by shicky256
If you know how, you can simply use the IPS patch[drive.google.com] made by shicky256

Otherwise, you can follow the guide if you feel more comfortable hex editing :)
Simple instruction change with a hex editor
Follow these steps to ignore the user login checks:

  1. Make a copy of SonicMania.exe
  2. Open SonicMania.exe in a hex editor
  3. Go to 1CAABE
  4. Overwrite the byte with: EB

Before the edit, it should read: 75 30
After the edit, it should read: EB 30

And that's it! You're done! Enjoy playing Sonic Mania offline! :)
Using a hex editor
Before anything, you need to have a hex editor. If you already have and know how to use a hex editor, skip this step.

Basically, you can get just about any hex editor, but what I used in this particular instance was HxD, which can be acquired here[mh-nexus.de]. I recommend simply getting the portable version.

In this specific hex editor, as well as most others, you can go around offsets by either double clicking in the lower left corner or simply using the Ctrl+G shortcut. An offset is usually a large number indicating the position in a file.
For this guide this will be 1CAABE.

Once the offset box opens, type this number in and click OK.

The cursor will be moved to a different position now; this is normal. You basically moved the cursor to that said offset in the SonicMania.exe.
The next 4 bytes after the cursor should read:
75 30 6A 00

After you have done that, check what the status bar says - if it says "Overwrite", it's good. If it says "Insert", then click the insert key on your keyboard to change the status.

Once the status is on Overwrite, simply write EB in the place where the cursor was (it should be on that 75) and you're done!

If those 4 bytes after where the cursor was previously now read:
EB 30 6A 00
you're done!

Open the file menu, hit Save and you should be good to go!
A few closing words...
Please, keep in mind this is NOT bypassing any shape or form of a security check. The user with the modified binaries still MUST OWN the original game. The Steam API still checks wether or not the user owns the game.

It seems like a simple configuration oversight by the developers and as such it has a simple fix to it. This really took me about 5 minutes to figure out.
15 Comments
truealpha11 10 May, 2020 @ 4:55am 
sUpEr SaNiC
NARbluebear 2 Jun, 2018 @ 11:16am 
You gotta be kidding me, guiltypixel.

| The user with the modified binaries still MUST OWN the original game.

Proof that you NEED to buy it to play it.
Kryptyk 1 Sep, 2017 @ 6:25pm 
Thanks, now I know better than to buy this.:steammocking:
SilverAura 31 Aug, 2017 @ 1:00am 
Gotta be online once every two weeks? Man, what a pitty. Better give this absolutely fantastic game a negative rating, now.
Mr. (Ant) Tenna 30 Aug, 2017 @ 2:44pm 
Lol, so basically all they did was remove the previous "online locking" option which was not Denuvo and added the Denuvo option to make sure it's online at least each 2 weeks.

And then call it fixing a bug.
Not mentioning the rumors about delaying for two weeks just to dodge the steam refund policy.

Holy shit this is getting intense lol
Tenjoin  [author] 30 Aug, 2017 @ 1:52pm 
You basically need to connect once every 2 weeks to generate a token for your hardware which will enable offline play, basically. This is given that you do not change your hardware in the meantime.

There are details online for Denuvo. Until the game gets cracked, all we can do is deal with this crap for a bit.
Mr. (Ant) Tenna 30 Aug, 2017 @ 10:26am 
Oh don't worry you can't exactly tag people here. We just use @name out of habit. And i thought the game still asked for being online because i've seen some people reporting on it.
Tenjoin  [author] 30 Aug, 2017 @ 10:16am 
@Felixinius
(sorry don't know how to tag in Steam)

Well this was a fix for the Steam API calls, not for Denuvo so there isn't much I can do.

I could implement this fix in the new version, sure, but it wouldn't mean anything as it never even happens on the new version now.
Mr. (Ant) Tenna 30 Aug, 2017 @ 10:08am 
Would you consider updating this guide for the new version?
Postmodern 30 Aug, 2017 @ 1:37am 
Instead of doing this, you can just wait until they update it. It's less hassle if you mess something up.