Sonic Mania

From PCGamingWiki, the wiki about fixing PC games
Sonic Mania
Sonic Mania cover
Developers
Christian Whitehead
Headcannon
PagodaWest Games
Publishers
Sega
Engines
Retro Engine
Release dates
Windows August 29, 2017
Sonic Mania guide at StrategyWiki
Sonic Mania at Wikipedia
Sonic the Hedgehog
Sonic CD (1996) 1996
Sonic 3D Blast 1997
Sonic & Knuckles Collection 1997
Sonic R (1998) 1998
Sonic R (2004) 2004
Sonic Adventure (series)
Sonic Heroes 2004
Sonic Mega Collection Plus 2006
Sonic Riders 2006
Sonic Racing (series)
Sonic 3D Blast (2010) 2010
Sonic the Hedgehog 2010
Dr. Robotnik's Mean Bean Machine 2010
Sonic Spinball 2010
Sonic the Hedgehog 2 2011
Sonic 3 & Knuckles 2011
Sonic Generations 2011
Sonic CD (2012) 2012
Sonic the Hedgehog 4: Episode I 2012
Sonic the Hedgehog 4: Episode II 2012
Sonic Dash 2014
Sonic Lost World 2015
Sonic Mania 2017
Sonic Forces 2017

General information

Official website
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Retail
Icon overlay.png
Includes the Mania Plus expansion.
Windows
Humble Store
Icon overlay.png
Windows
Steam
Icon overlay.png
Windows
All versions require Steam and Denuvo Anti-Tamper DRM.[1][2]

Downloadable content (DLC) and expansions

Name Notes
Encore DLC (Sonic Mania Plus) Includes two additional characters, an enhanced multiplayer mode, and a new set of levels - among other enhancements.
Windows

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\Settings.ini
Linux (Proton) <Steam-folder>/steamapps/compatdata/584400/pfx/[Note 1]

Save game data location[edit]

System Location
Steam <Steam-folder>\userdata\<user-id>\584400\remote\
Linux (Proton) <Steam-folder>/steamapps/compatdata/584400/pfx/[Note 1]

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

Video settings.
Video settings.
Graphics option Option Notes
Widescreen resolution
See Widescreen resolution.
Multi-monitor
Ultra-widescreen
Game is pillarboxed to keep a 16:9 aspect ratio.
4K Ultra HD
See Widescreen resolution.
Field of view (FOV)
Windowed
Uses fixed window sizes (1x, 2x, 3x, 4x, 5x) that cannot be stretched by the user.
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
60 FPS
Gameplay is locked to the frame rate and refresh rate. See Frame rate (FPS).
120+ FPS

Widescreen resolution[edit]

The game is made on a definition of 424x240. If you want to have a sharp and clean image, you need to multiply that definition by two each time in windowed mode. On a 1920x1080 monitor, x4 is the best choice, but since this multiplier is not available in the options, you have to set it manually.[3]
Set windowed resolution manually[3]
  1. Go to <path-to-game>.
  2. Open Settings.ini, if it doesn't exist start the game at least once and it'll create the file.
  3. Under [Video] find winWidth and winHeight parameters. On a 1920x1080 monitor, x4 is:
winWidth=1696
winHeight=960

Notes

On a 4K monitor, the sharpest image would be x8 (3392x1920).
You may also want to add shaderSupport=n to get it even more clean.
You can use Window Borders Manager to add black bars around the game window.
If you have filter issue after adding the 4x support, you can delete Settings.ini, the x4 multiplier will still be usable in game with correct filter.

Borderless fullscreen windowed[edit]

Edit game settings manually[citation needed]
  1. Go to <path-to-game>.
  2. Open Settings.ini, if it doesn't exist start the game at least once and it'll create the file.
  3. Under [Video] set windowed=n and exclusiveFS=n.
  4. Save file and run the game.

Frame rate (FPS)[edit]

The frame rate is partially locked to the refresh rate of the monitor, regardless of V-Sync. A refresh rate of 40 or below will cap the frame rate at 40 FPS, while a refresh rate of 60 or above will cap the frame rate at 60 FPS. A refresh rate between 40 and 60 will cap the frame rate to that refresh rate (so 50 Hz locks the game to 50 FPS).
The gameplay is synced to the frame rate, and targets 60 FPS to deliver a full speed (100%) experience. This means that 40 FPS (40 Hz or below) will run the game at 66.67% speed (a 1/3 slowdown) and 50 FPS (50 Hz) at 83% speed (a 1/6 slowdown).
Configure the monitor to run at 60 Hz or higher to play the game at full speed[4]
If you are using a really old PC that cannot keep up, try changing the screen filter to "clean" under options to boost FPS, apparently "none" is applying an upscaling filter that can be taxing on midrange PCs from 2005 or so[citation needed]

Input settings[edit]

Keyboard configuration screen. Only accessible when there are no controllers connected.
Keyboard configuration screen. Only accessible when there are no controllers connected.
Controller layout for XInput compatible controllers.
Controller layout for XInput compatible controllers.
Default Steam Input configuration for the DualShock 4
Default Steam Input configuration for the DualShock 4
Default Steam Input configuration for the Steam Controller
Default Steam Input configuration for the Steam Controller
Keyboard and mouse Native Notes
Remapping
Make sure no controller is connected when accessing "Controls" in the Options Menu, otherwise the Steam controller configuration interface opens instead.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Full controller support
Controller remapping
Selecting "Controls" in the Options Menu with a compatible controller connected sends the user to Steam's controller configuration interface.
Controller sensitivity
Controller Y-axis inversion
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
DualShock 4 controllers
Enable PlayStation 4 controller support in Steam.
DualShock button prompts
Use PS4 HUD with Mania Mod Loader for PlayStation prompts.
Light bar support
Connection modes unknown
Tracked motion controllers
Generic/other controllers
See the glossary page for potential workarounds.
Additional information
Button prompts
Use PS4 HUD with Mania Mod Loader for PlayStation prompts.
Button prompts for other types of controllers can be found here.
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M
Limited to one device/input scheme per player.
Steam Input
Steam Input API support
Official controller preset(s)
DualShock 4 and Steam Controller.
Steam Controller button prompts
Xbox style prompts only.

Audio settings[edit]

Volume settings.
Volume settings.
Audio options Native Notes
Separate volume controls
Music and SFX each have their own sliders in the Options Menu.
Surround sound
Subtitles
Closed captions
Mute on focus lost
Game pauses when focus is lost.
Language options.
Language options.

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Spanish
Japanese

Issues fixed[edit]

Blurry screen and/or black and white cutscenes[edit]

Enable shader support[5]
  1. Go to <path-to-game>
  2. Open settings.ini
  3. Change shaderSupport=n to shaderSupport=y
  4. Close and save the file.

Gameplay is slowed down[edit]

Gamepad issues[edit]

"The game favors USB HID for gamepad input, but will fallback to XInput in some situations. Generally this would not be that bad, but it is not very smart about which USB HID input device it chooses. If you have input remapping software present, disable it... do everything you can to avoid your controller showing up in multiple different input APIs. A DualShock 4 controller natively supports USB HID, you do not need the Steam overlay or DS4Windows further confusing this poor little game."[6]
Fix gamepad issues[6]
  1. Disable any input remapping software that might be present (x360ce, Steam's Controller support in Big Picture Mode, etc.)
  2. Download the Sonic Mania Offline K Enabler Pre-Compiled Binaries (usually called SMOKE_00x.7z) archive.
  3. Go to <path-to-game>.
  4. Extract the archive to the installation folder.
  5. Add these lines to d3d9.ini.
[Input.Gamepad]
DisablePS4HID=true
EnableNativePS4=true

[Input.XInput]
Rehook=true
PlaceholderMask=1

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 9
64-bit executable

Mania Mod Loader[edit]

Loader that allows the use of fan-made mods.
Original topic

Developer menu[edit]

Enable developer menu[7]
  1. Go to the installation folder.
  2. Open Settings.ini.
  3. Under [Game] add devMenu=y.
  4. Start the game and press Esc anywhere to access the developer menu.

Notes

Load a save slot before accessing the developer menu if you want progress to be saved on that slot.

Debug mode[edit]

Access debug mode[7]
  1. Enable the Developer menu.
  2. Start the game and press Esc anywhere to access the developer menu.
  3. Go to Stage Select -> Presentation -> Level Select and select a level and wait for it to load.
  4. Click on Q to toggle the debug mode. The sprite of the player will turn into a golden ring while enabled.

Notes

Keybindings:
Q = Toggle debug mode
A = Cycle through objects
S = Cycle through types of boxes (only when the box object is selected)
W = Spawn an instance of the object

Trinitron CRT shader[edit]

A custom CRT screen shader more closely matching the old Trinitron CRTs.
Use custom ReShade config[6]
  1. Download the Sonic Mania Offline K Enabler Pre-Compiled Binaries (usually called SMOKE_00x.7z) and the Improved CRT Effect archive.
  2. Go to <path-to-game>.
  3. Extract both archives to the installation folder.
  4. Launch the game. The custom CRT shader will automatically be used.
  5. Turn off the game's built-in screen shader effect.

System requirements[edit]

Windows
Minimum
Operating system (OS) 7, 8.1, 10
Processor (CPU) Intel Core 2 Duo 2.0 GHz
System memory (RAM) 2 GB
Hard disk drive (HDD) 400 MB
Video card (GPU) 256 MB of VRAM
DirectX 9.0c compatible
The game launches on Windows Vista too, but this version is not officially supported.[8]

Notes

  1. 1.0 1.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/584400/ in addition to or instead of this directory. The app ID (584400) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References