
Kobolt
Published
WINEDLLOVERRIDES="XAudio2_9.dll=n" %command%
I used the specific custom Proton-GE "Anonymous;Code" by Hawkheart, which is linked to on this GitHub issue page: https://github.com/ValveSoftware/Proton/issues/7083 Note that this custom proton uses libraries that require Vulcan 1.3 support and will crash the game on launch if your video driver setup is too old. I also added the XAudio dll file, but cannot say for certain if it is actually required. I played through the entire game without the CoZ patch.
protontricks 316160 dinput dinput8 d3dcompiler_43 d3dx9 dxvk122 vcrun2005 vcrun2008 vcrun2017 devenum
Without the tinkering the game starts, but just displays a black screen.
Proton-Experimental
Lots of glitches, but this is present on all platforms on the moment.
Installed on slackware-current (dated 16/12-2020)
At the time of writing, slackware-current comes with Mesa 20.3, so some additional actions are needed to install the 21.0 beta version.
Use the official Mesa Slackbuild from the slackware-current source repository as a basis, then modify the "get-mesa.sh" script to clone from the git master branch and run it. The "mesa.Slackbuild" file also needs to be modified to these configuration settings:
-Dgallium-opencl=disabled
-Dosmesa=true
-Ddri-drivers-path=/usr/lib${LIBDIRSUFFIX}/dri
Build the package for 64-bit as usual, but then switch to the 32-bit environment and make a 32-bit package also:
. /etc/profile.d/32dev.sh
ARCH=i586 ./mesa.SlackBuild
convertpkg-compat32 -i /tmp/mesa-master_<git-commit>-i586-1.txz
Install those new packages, and since the Mesa DRI libraries are installed in a different directory (as required by newer Proton at the moment) you need to make a symlink to make X find them as well:
cd /usr/lib64/xorg/modules
ln -s ../../dri .
I actually got better performance on Linux compared to Windows 7. When running on Windows the game would have annoying micro-stutters in both video and audio appearing around every 30 second or so, this is completely gone with Linux.
Works out of the box.
The game drops out to the desktop every time when loading a save or a new level, but then goes back in. This is apparently normal and is caused by some glitch in the game engine.
I tried installing the "Visible Upgrade" mod, but this just made things worse and cause the frame rate to drop to 5 fps, so played the game as originally designed instead.
Used launch settings as suggested by others: PROTON_FORCE_LARGE_ADDRESS_AWARE=1 PROTON_NO_ESYNC=1 %command%
Played through the first mission without any issues.
Did see some graphical glitches, like people walking through walls.
eval $(echo "%command%" | sed "s/2KLauncher\/LauncherPatcher.exe'.*/pc\/Mafia II Definitive Edition.exe'/")
Turn off PhysX
Copied and altered the technique listed in the Mafia 1 Definitive Edition guides to disable the 2K launcher.
Works out of the box
However, it did not install correctly until i switched my locale to UTF-8 (from latin1) probably due to Japanese characters in file paths.
Sudden crashes maybe 4-5 times during 25 hours of play
Used the older Proton version 7 since that was worked fine for me with R;N Elite. Installed the CoZ patch manually (not using the "Polyversal" installer) by using the same proton instance as used by the game itself:
STEAM_COMPAT_CLIENT_INSTALL_PATH=$HOME/.steam/steam STEAM_COMPAT_DATA_PATH=$HOME/.local/share/Steam/steamapps/compatdata/1111390 $HOME/.local/share/Steam/steamapps/common/Proton\ 7.0/proton run RNDPatch-Installer.exe
Used the older Proton version 7 since that was mentioned in the CoZ documentation. Installed the CoZ patch manually (not using the "Polyversal" installer) by using the same proton instance as used by the game itself:
STEAM_COMPAT_CLIENT_INSTALL_PATH=$HOME/.steam/steam STEAM_COMPAT_DATA_PATH=$HOME/.local/share/Steam/steamapps/compatdata/1111380 $HOME/.local/share/Steam/steamapps/common/Proton\ 7.0/proton run RNEPatch-Installer.exe
Works out of the box
Played this with a gamepad, which it is designed for.
Works fine after a little tinkering and accepting slightly lower graphic settings.
Had to play on "medium" graphic settings. On higher settings, significant stuttering would occur, sometimes slowing everything down.
Had to max out the limit for open files trough "ulimit" to 524288 for Origin to install and launch correctly. Also ran with PROTON_NO_ESYNC=1 launch options just to be sure.
Works perfect after modifying the startup and running on older Proton
Need to do the trick with renaming "launcher.exe" to "boot.bat" and setting "EN" in the launch options. Also, I could not get this game to start at all with Proton 5, it just terminated immediately. When I forced it to use the older Proton 4.11 it worked perfectly.
Works fine with the DLL fix and a functioning mouse.
This game has big problems with certain modern mice, making it unplayable. I plugged in a old PS/2 ball mouse on a USB adapter and this worked perfectly for some reason.
Game would sometimes hang during loading a new level or save.
Like mentioned by others, the game needs a 32-bit version of the msvcirt.dll file to start correctly. I copied this from a Windows 7 installation.
The launch settings used: PROTON_NO_ESYNC=1 PULSE_LATENCY_MSEC=30 PROTON_USE_D9VK=1 %command%
Works with Proton 4 and quartz
I got a black screen and hang during the intro with Proton 5, so I tried again with Proton 4.11 instead, and then it was OK. Also installed quartz through protontricks as others suggested.
Works out of the box with Proton 4
Did not even try with Proton version 5, just used Proton 4 right away since it was recommended by others.