Marvel’s Midnight Suns: Performance Fixes (Windows, Linux and Save files)

0
Why it stutters (skip if you just want it fixed)
No: It’s not Denuvo.
Denuvo is not the reason this, or any game other than RE8 (and that was Capcom ♥♥♥♥♥♥♥ with it adding their own layer of drm on top) run worse. Shader compilation stuttering is a plague on modern pc gaming caused by increased shader complexity on modern systems, the adevent of raytracing, DirectX12 and the terrible way Unreal Engine 4 handles shader compilation. Since it’s not a problem on console and there’s no one-button fix for it, many devs dont give a crap and saddle us with this. They have to implement either, a way to precompile, or an asychronous compiler. And they dont want to deal with that. This is devs ignoring a serious problem that mostly occurs with UE4.
The good news is the problems in this game seem to stem only partly from shader compiling, part from THE DAMNED 2K launcher, which opens the wrong version of the exe instead of the 64 bit executable. Plus, there seems to be trouble with the cloud save files. And the download cache helping the stutter somehow. Problems all around, but Denuvo isnt one of them.

Fixing the game
Bypass the 2K Launcher
  • Right click the game on your Steam Library, highlight Manage and click Browse Game Files
    In the game folder, go through these folders:
    MidnightSuns -> Binaries folder- >Win64
    to find MidnightSuns-Win64-Shipping.exe
  • Copy the filepath to the exe,
    if you dont know how here’s a way:
    Click the Windows Address Bar on top, add a \ (alt+92) and copy the suggested filepath for the exe
  • Right click the game on your Steam Library. Select Properties and paste the filepath we copied in between double quotes “” and add a space and %command% at the end

    Example of what this will look like:
    “D:\Program Files (x86)\Steam\steamapps\common\Marvel’s Midnight Suns\MidnightSuns\Binaries\Win64\MidnightSuns-Win64-Shipping.exe” %command%

    Clear Steam’s DL Cache

  • Go to Steam Settings (top left of steam Client, Click steam, then Settings.) ->Download and click Clear Download Cache. Log back into Steam
    I know it doesnt really make sense that this helps but it somehow does. Something weird, this game.
    Additional Settings
  • Go to the in-game settings and TURN OFF RAYTRACING. It’s busted.

    You should be good to go.

    If you are still having problems try:

  • On the Nvidia control panel, Change settings for this game and turn Low Latency to Ultra, and Energy Profile to Maximum Performance. (If you dont know how to use your driver’s control panel, don’t.)
  • You can also try, in game to set the renderer to Directx11 which does not generate shader caches. But YMMV as it may slow down the game in a different way.

Linux Fixes
On Proton, the launcher removes itself out of the way since a patch to make 2K games playable again, but given how much performance is improved on Windows, we might wanna remove it too

Launcher Bypass(recommended)

Put this on the Steam Launch Commands

eval $( echo “%command%” | sed “s/2KLauncher\/LauncherPatcher.exe’.*/MidnightSuns\/Binaries\/Win64\/MidnightSuns-Win64-Shipping.exe’/” )

Command by user Calvin. Mine was untested, apparently this one works fine

Steam deck says saves are snyced but they are not in the game

Originally posted by nilus:

:
For me it created the save location “\Documents\My Games\Marvel’s Midnight Suns\Saved_Steam_[My Steam-ID]”, which it also synced to the Deck. But on the Deck my Steam-ID was empty and it created the folder “Saved_Steam_”, which was not synced.

“Saved_Steam_[My Steam-ID]” kept getting synced, but the game accessed “Saved_Steam_”.

As a work-around I created a symbolic link in \Documents\My Games\Marvel’s Midnight Suns:

ln -s Saved_Steam_[My Steam-ID] Saved_Steam_

Don’t forget to rename/move “Saved_Steam_” before creating the link.

Additional instructions and clarifications here:
https://www.reddit.com/r/SteamDeck/comments/zadtvj/comment/iypn9o9/?utm_source=reddit&utm_medium=web2x&context=3

Save File Problems
The game apparently gets confused about the path to save files. Especially if you started before removing the launcher and then came back to the game. Or tried using cloud saves. Reports are mixed but, here are some fixes:

If you cant find your saves, chances are the game created another folder, you need to move the files from one to the other

Default Save game data location:
Windows

%USERPROFILE%\Documents\My Games\Marvel’s Midnight Suns\Saved_Steam_<user-id>\SaveGames

Linux

<Steam-folder>/steamapps/compatdata/368260/pfx/

*on linux: Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/368260/ in addition to or instead of this directory. The app ID (368260) may differ in some cases. Treat backslashes as forward slashes.

So, as reported by user wyndhambarnhill

Originally posted by wyndhambarnhill:

go to %USERPROFILE%\Documents\My Games\Marvel’s Midnight Suns\
There may be two directories.
Go to the steam one and copy the savegame directory to the other one.
Check the content of the directory before, must have one file per save.

For those having problems syncing saves:

Originally posted by nilus:

For me it created the save location “\Documents\My Games\Marvel’s Midnight Suns\Saved_Steam_[My Steam-ID]”, which it also synced to the Deck. But on the Deck my Steam-ID was empty and it created the folder “Saved_Steam_”, which was not synced.

“Saved_Steam_[My Steam-ID]” kept getting synced, but the game accessed “Saved_Steam_”.

As a work-around I created a symbolic link in \Documents\My Games\Marvel’s Midnight Suns:

ln -s Saved_Steam_[My Steam-ID] Saved_Steam_

Don’t forget to rename/move “Saved_Steam_” before creating the link.

Your antivirus might be the problem, as reported by cvendeen

Originally posted by cvendeen:

I resolved the issue by going to virus and ransomware protection and allowing the steamapps/common/Marvel’s Midnight Suns/Midnight Suns/binaries/Win64/MidnightSuns-Win64-Shipping.exe application through controlled folder access. I had previously allowed the application in Steamapps\common\Marvel’s Midnight Suns\MidnightSuns.exe access, but that wasn’t the correct executable. I also bypassed the 2k launcher, which may have been confusing the ransomware protection. Now I see a save file folder inside the Saved_Steam_[UserID] folder.

Performance Fixes (Windows, Linux and Save files) Detail

This game haveFavorites category. You will be able to access all the tips and tricks of the game in the pdf file we have prepared for you. The PDF file consists of 22 pages and it has a size of about 12 mb. You can send us the game guides you want us to prepare from our contact page.

Unzip game guides info with winrar. Open the PDF and follow instructions.

Leave A Reply

Your email address will not be published.