protonscr

Mafia III: Definitive Edition

protonopen appid 360430Game compatibility - Unofficial.NET
ValveSoftware/Proton#2142 · opened 2018-12-26 by Holzhaus · updated 2025-09-16 · 30 comments · github · game page · search this game
1 matching comments, n / p to jump
HHolzhaus 2018-12-26 github

Compatibility Report

  • Name of the game with compatibility issues: Mafia III
  • Steam AppID of the game: 360430

System Information

I confirm:

  • [X] that I haven't found an existing compatibility report for this game.
  • [X] that I have checked whether there are updates for my system available.

Symptoms

Game crashes instantly after launching it.

Log file: steam-360430.log

Reproduction

Install Mafia III and click the "Play" button.

Kkisak-valve maintainer 2018-12-26 github

Hello @Holzhaus, err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed in the log points towards #18.

HHolzhaus 2018-12-26 github

Mono/.NET Framework 4.5.1 seems to be the culprit:

45710.090:0008:0009:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5.1" not implemented
45710.090:0008:0009:fixme:mscoree:parse_probing privatePath=L"LauncherLanguages" not implemented
45710.090:0008:0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
45710.090:0008:0009:trace:module:LdrShutdownProcess ()

Thus, I tried running protontricks:

$ protontricks 360430 dotnet45

This didn't help though, since I'm still getting .NET related errors:

47187.730:0008:0009:warn:module:load_dll Failed to load module L"mscoree.dll"; status=c0000135
47187.730:0008:0009:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"launcher.exe" cannot be loaded
47187.730:0008:0009:err:module:attach_dlls Importing dlls for L"Z:\\data\\jan\\Steam\\steamapps\\common\\Mafia III\\launcher.exe" failed, status c0000135

I also tried to run mafia3.exe without the launcher:

$ mv launcher.exe launcher.exe.bak && ln -s mafia3.exe launcher.exe

This made the Mafia III splash screen appear and a black window open in fullscreen mode. The game then locked up though.

HHolzhaus 2019-06-01 github

I just retested using Proton 4.2-5. Although #18 has been resolved, the launcher still crashes instantly.

I guess this is the relevant part from the logfile:

44399.577:0027:0028:trace:mscoree:mono_assembly_preload_hook_fn "PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
44399.579:0027:0028:trace:mscoree:mono_assembly_preload_hook_fn "PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
The entry point method could not be loaded due to Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
44399.589:0027:0028:trace:mscoree:_CorDllMain (0x6700000, 0, (nil))

Logfile: https://gist.github.com/Holzhaus/d91e220c91af2df11c21da7e1c52d3df#file-steam-360430-log
System info: https://gist.github.com/Holzhaus/d91e220c91af2df11c21da7e1c52d3df#file-sysinfo

Gguustflater 2019-10-15 github

Game still crashes because of the full screen mode.

Turn this of like mentioned in protondb works, but no full screen.. :(

({steamlibrary root}/steamapps/compatdata/360430/pfx/drive_c/users/steamuser/Local Settings/Application Data/2K Games/Mafia III/Saves/ and change the line in videoconfig.cfg to "0 0 1280 720 0 0 0 0".)

Gguustflater 2019-10-16 github

nooo unplayable.. suddenly runs 2FPS in the "A Friend in Jesus" mission. Before it was playable between 40 and 70 FPS. proton version 4.11-7

system information

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD Ryzen 5 1600 Six-Core Processor            
    CPU Family:  0x17
    CPU Model:  0x1
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  3200 Mhz
    12 logical processors
    6 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 19.04 (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.0.0-31-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12004000
    X Window Manager:  GNOME Shell
    Steam Runtime Version:  steam-runtime_0.20190711.3

Video Card:
    Driver:  X.Org Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 5.0.0-31-generic, LLVM 8.0.0)
    Driver Version:  4.5 (Compatibility Profile) Mesa 19.3.0-devel
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x67df
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 23.54" x 13.23" (26.97" diag)
                                            59.8cm x 33.6cm (68.5cm diag)
    Primary VRAM: 8192 MB

Sound card:
    Audio device: ATI R6xx HDMI

Memory:
    RAM:  16049 Mb

Miscellaneous:
    UI Language:  English
    LANG:  nl_NL.UTF-8
    Total Hard Disk Space Available:  121022 Mb
    Largest Free Hard Disk Block:  82741 Mb
    VR Headset: HTC Vive detected

steam-360430-2.log

Rrandom2324 2020-03-12 github

Tested with 5.0-4 but still crashing when trying to launch the game.
steam-360430.log
Tried installing dotnet 4.0 + 4.71 but no luck. Still crashing.

Renaming Mafia3.exe to launcher.exe still circumvents the problem.
Setting following in videoconfig.cfg avoids the hang at start: -6 0 1920 1080 0 0 0 0
You can switch to fullscreen in game but on every new launch the game needs to be in windowed mode or it hangs again.
steam-360430-hang.log

The game is really slow. For me the problem was frame cap was set to 30 fps and vsync on. Once both are deactivated, the game runs 55-60 fps with Vega 56.

Rrandom2324 2020-03-28 github

Got now the launcher running. Tested with a custom Proton 5.4 build, but I guess that also Proton 5.0 should do.

  1. WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/360430/pfx/ winetricks -q dotnet471 (it needs at least dotnet 4.51, so lower versions should do the trick too)
  2. WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/360430/pfx/ winetricks d3dcompiler_47
  3. (In my case, I also had to disable winegstreamer.dll. Don't know if that's needed everytime.)

From there its easy to configure the game to run windowed. On the other hand, installing that dotnet stuff is a quite heavy, given that the game later doesn't need dotnet at all.

Also heads up, with wine 5.5, the game crashes at start: wineserver: ../../wine-mirror-git/server/thread.c:1309: copy_context: Assertion `to->cpu == from->cpu' failed.

Ssoredake 2020-03-29 github

After installing dotnet launcher is fixed, but game did not launch, only process is started.
steam-360430.log

Rrandom2324 2020-03-29 github

Hey sorry, it was a little bit to early to say that proton 5.0-5 is working. I actually thought its working but I just tested myself and getting a very similar log like you. So that means you probably need wine 5.4 to run this.

Gguustflater 2020-05-19 github

back again.. it worked, now the mafia III definitive edition is released it won't start using proton 5.8-GE-2-MF and proton 5.0-7

Error (full log included):
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: MILCreateEventProxy assembly: type: member:(null)

steam-360430.log

System:
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor

Operating System Version:
Ubuntu 20.04 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 5.4.0-31-generic
Steam Runtime Version: steam-runtime_0.20200417.0

Video Card:
Driver: X.Org Radeon RX 580 Series (POLARIS10, DRM 3.35.0, 5.4.0-31-generic, LLVM 10.0.0)
Driver Version: 4.6 (Compatibility Profile) Mesa 20.0.7 - kisak-mesa PPA
OpenGL Version: 4.6
Monitor Refresh Rate: 119 Hz
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 3840 x 1200
Desktop Resolution: 3840 x 1200
Primary Display Size: 41.73" x 12.99" (43.70" diag)
106.0cm x 33.0cm (111.0cm diag)
Primary VRAM: 8192 MB
Memory:
RAM: 16024 Mb

Gguustflater 2020-05-20 github

back again.. it worked, now the mafia III definitive edition is released it won't start using proton 5.8-GE-2-MF and proton 5.0-7

Error (full log included):
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: MILCreateEventProxy assembly: type: member:(null)

steam-360430.log

System:
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 1600 Six-Core Processor

Operating System Version:
Ubuntu 20.04 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 5.4.0-31-generic
Steam Runtime Version: steam-runtime_0.20200417.0

Video Card:
Driver: X.Org Radeon RX 580 Series (POLARIS10, DRM 3.35.0, 5.4.0-31-generic, LLVM 10.0.0)
Driver Version: 4.6 (Compatibility Profile) Mesa 20.0.7 - kisak-mesa PPA
OpenGL Version: 4.6
Monitor Refresh Rate: 119 Hz
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 3840 x 1200
Desktop Resolution: 3840 x 1200
Primary Display Size: 41.73" x 12.99" (43.70" diag)
106.0cm x 33.0cm (111.0cm diag)
Primary VRAM: 8192 MB
Memory:
RAM: 16024 Mb

Ok update reverted the renaming of mafia.exe to launcher.exe, did this, black screen. reverted the changes in videoconfig.cfg to windowed mode and it starts again.
Only problem now is, setting is back to fullscreen, this works perfect in game, but the game won't start again, next start gives me only a black screen. Too bad since this is the only problem now and was solved for me before the update. Game performance for the rest is perfect on high settings

Ssoredake 2020-05-21 github

Sadly, 10 fps on rx 560 on lowest settings/720p

?ghost 2020-05-22 github

Can confirm that with the new Definitive Edition, the old workaround still applies and works. Sadly you can still only run it in window mode, but you have to have V-sync off and frames set to unlimited or it slows down to a snail pace. You can change to fullscreen when you're in-game but it crashes at a cutscene. On the plus side, mine is running on Proton 5.0-7 and hasn't crashed in a 2 hour session with full high graphics.

Specifications
CPU: 9th Gen i7 Intel
GPU: NVIDIA GTX 1650
Driver: NVIDIA 440
OS: Ubuntu 20.04
RAM: 15853 MB
VRAM: 4096 MB

Ssoredake 2020-06-01 github

Figured out, in-game fps lock is causing massive fps drop, disabling it boosts fps to 60.

Rrandom2324 2020-06-02 github

Figured out, in-game fps lock is causing massive fps drop, disabling it boosts fps to 60.

Yes, I also figured that out - https://github.com/ValveSoftware/Proton/issues/2142#issuecomment-605524370
Given that also nvidia guys report this, this could be a wine bug.

BTW, do you see any corruption with mesa and especially with ACO turned on?

Ssoredake 2020-06-02 github

Yes, mainly with trees, and yes, with aco.

LLepidos 2020-06-22 github

In my case, the loading icon freezes before jumping to game, I thought it was a corrupted save and tried starting new game, I was wrong. Previous to the game update the game load successfully but the performance was very bad.

Every ty to load the game stops the loading icon freezes the same way.
20200622225644_1
20200622225244_1
steam-360430.log

JJhackler 2020-07-06 github

Any one find a fix for the flickering trees on amd llvm or the graphics in aco?

Rrandom2324 2020-07-07 github

I've sent a patch for DXVK which already got accepted upstream (to my own surprise) to fix the flickering of the trees. Until a new DXVK release is out, you can also just create a dxvk.conf file in game main directory with d3d11.invariantPosition = True which should be enough. This makes the game playable with LLVM backend, didn't played long though.

I see totally messed up polygons, melting and transforming faces with ACO and the problem is still not resolved months after initial report. Unfortunately RADV developer can't reproduce. Means I don't know if it just me or more people effected.

If you guys see the same issue, it would be very nice if you can send a message with your system specs to the report @ gitlab to raise awareness.

JJhackler 2020-07-07 github

I've sent a patch for DXVK which already got accepted upstream (to my own surprise) to fix the flickering of the trees. Until a new DXVK release is out, you can also just create a dxvk.conf file in game main directory with d3d11.invariantPosition = True which should be enough. This makes the game playable with LLVM backend, didn't played long though.

I see totally messed up polygons, melting and transforming faces with ACO and the problem is still not resolved months after initial report. Unfortunately RADV developer can't reproduce. Means I don't know if it just me or more people effected.

If you guys see the same issue, it would be very nice if you can send a message with your system specs to the report @ gitlab to raise awareness.

I have the same ACO issue (last I checked anyway) thought this was a common issue where do I send the report?

Rrandom2324 2020-07-08 github

Please drop a message here (with the output of inxi -GSC -xx if possible):
https://gitlab.freedesktop.org/mesa/mesa/-/issues/2768

You can sign in in gitlab using your github account.

JJhackler 2020-07-08 github

do I put inxi -GSC -xx in the launcher flags or is this a terminal command?

Rrandom2324 2020-07-10 github

This is a small app which every distro should have in its repos. Simply put the command in a terminal and copy its output to your reply.

Jjqadev 2021-06-12 github

@kisak-valve please rename the title of this issue to Mafia III: Definitive Edition.

@aeikum @kisak-valve I found in this report https://www.protondb.com/app/360430#TgxHDBqB3a
that the issue with not working full screen has been finally fixed in Proton-6.9-GE1 but it's not mentioned in it's change log https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.9-GE-1
so I guess that it was fixed directly in Wine, maybe
in https://www.winehq.org/announce/6.6 in https://bugs.winehq.org/show_bug.cgi?id=43437 (Zanzarah game opens a black fullscreen window and then crashes)
or
in https://www.winehq.org/announce/6.8 in winex11.drv: Correct a full screen condition.

Jjqadev 2021-06-14 github

@aeikum I purchased this game and tested it on my own.
When I run the game using Proton Experimental it works correctly in full screen but using Proton 6.3-4 there is only black screen.

Nnded03 2022-05-17 github

This game almost works well on Steam Deck save for its botched Steam Input API integration that leaves the game unresponsive to Steam Deck inputs and causing in-game button prompts show up as "?" or gray rectangles. You can load a template that translates to Xinput but the broken button prompts remain.

Mmassatt212 2023-03-28 github

This game almost works well on Steam Deck save for its botched Steam Input API integration that leaves the game unresponsive to Steam Deck inputs and causing in-game button prompts show up as "?" or gray rectangles. You can load a template that translates to Xinput but the broken button prompts remain.

my buttons show but they are clustered together, and the UI is overlapping each other.

Mmotpol 2024-10-29 github

Steam Deck
SteamOS 3.6
Proton 9.0-3
Steam App ID: 360430

Game launches with wrong controller setup, which makes it difficult to accept the agreements on first launch. Setting it to steam deck default (gamepad with joystick trackpad) solves this issue. In-game controller icons are missing, this makes it hard to find out which buttons to push for the right action. Icons in the menu are correct. Performance is overall good or as expected, low FPS but good frame times.

Kkisak-valve maintainer 2025-09-16 github

Sounds breaking on Hibernation on Mafia 3 Definitive edition

Issue transferred from https://github.com/ValveSoftware/Proton/issues/9046.
@OmenioPL posted on 2025-09-16T07:50:38:

Compatibility Report

  • Name of the game with compatibility issues: Mafia 3: Definitive edition
  • Steam AppID of the game: 360430

System Information

  • GPU: Steam deck Oled
  • Proton version: 10 Beta

I confirm:

  • [ X] that I haven't found an existing compatibility report for this game.
  • [X ] that I have checked whether there are updates for my system available.

Symptoms

No sound on Steam Deck Hibernation on Mafia 3

Reproduction

When hibernating a steam deck in any time will break the audios

Proton versions

Launch options

Upstream links

DLLs