Game: Mafia II: Director's Cut
Installer MD5s: fcb579508014c11660760eef7a10fb8b setup_mafia_ii_update5_(19642)-1.bin
7146d28ae2f997a08cae9da4d034adfb setup_mafia_ii_update5_(19642)-2.bin
6a22e2245595414c665ae01b52b49eeb setup_mafia_ii_update5_(19642).exe
WineHQ AppDB link: https://appdb.winehq.org/objectManager.php?sClass=application&iId=11920 Distro: Linux Mint 18.3 Cinnamon 64-bit
Kernel version: 4.15.0-15
Graphics card: AMD RX 480 8GB
Graphics driver & version: Open source, with Mesa 18 from Padoka's stable Mesa PPA
Wine version(s) tested: Wine 3.7 (with CSMT enabled)
Install notes: Requires physx
Run the game from/create a shortcut for "mafia2.exe"
How well does it run: Very well
Details: With this version of Wine shadows are now working and it seems to run great, however for shadows to work on AMD GPUs a workaround is needed (or at least it was necessary with my RX480). Two registry entries are required; run these two commands to add them (this is the same workaround used for getting Fallout 3 to run on Intel GPUs):
reg add "HKCU\Software\Wine\Direct3D" /v VideoPciDeviceID /t REG_DWORD /d 0x402 /f
reg add "HKCU\Software\Wine\Direct3D" /v VideoPciVendorID /t REG_DWORD /d 0x10de /f
This appears to be an issue with the game itself as I've heard reports of issues with shadows on ATI/AMD GPUs on Windows too.
Aside from that, the sky flickers occasionally - not a major issue.
If you encounter a stuck loading screen, be aware that this is a bug with the game itself & not a Wine issue. I encountered this issue during chapter 10 during my playthrough with Wine 3.0 & had to restart the chapter from the beginning (use the "load chapter" option from the menu) to fix it.
Some users at WineHQ's AppDB reported regular crashing unless PhysX is disabled so that's something to keep in mind if you experience the game crashing a lot. I've only been playing with PhysX disabled and the game seems to be mostly stable - I've had it crash three times, but I couldn't reproduce them & they may just be the result of game bugs.
Wine wrapper I have put together a Linux Wine wrapper for this game. For more information, see the release thread in the game's forum:
https://www.gog.com/forum/mafia/mafia_2_for_linux