Confused on Steam Play and Proton? Be sure to check out our guide.
How to get Mafia II Definitive Edition working with Steam
Koopacabras May 21, 2020
So got this game is free for owners of Mafia II CLASSIC... maybe if you search key resellers you can buy a key for Mafia II classic for cheap (and you get also the Definitive edition for free), because they increased the price for the Definitive Edition.

This is how I got it working.

First you need to edit the Launch Options.
Right click on the Game, go to Properties, click on Launch Options, and add this.

PROTON_DUMP_DEBUG_COMMANDS=1 %command%

Now launch the game and wait a few seconds.

This will create a script on /tmp/proton_user.
Open that location with you favourite file manager, look for a file called "run", leave that file manager open.
Now go to your steam Library again and right click on Properties of the game again, now click on "Local Files" tab and then "browse local files". This should open another file manager windows.
Now double click or click inside pc folder, then over Mafia2Launcher. Now copy the "run" script from the other file manager window over Mafia2Launcher folder.
Now you need to edit that file, open it with you favourite text editor and edit this lines, look for the lines that say
cd "/home/user/.steam/steamapps/common/Mafia II Definitive Edition/pc/Mafia2Launcher"
DEF_CMD=("/home/user/.steam/steamapps/common/Mafia II Definitive Edition/pc/Mafia2Launcher/Launcer.exe")


replace those line so they look like this (I use /home/user as an example but yours might be different)

cd "/home/user/.steam/steamapps/common/Mafia II Definitive Edition/pc/"
DEF_CMD=("/home/user/.steam/steamapps/common/Mafia II Definitive Edition/pc/Mafia II Definitive Edition.exe")


Now save the run script.
Next rename Launcher.exe in /home/user/.steam/steamapps/common/Mafia II Definitive Edition/pc/Mafia2Launcher to Launcher.exe.bak
Now rename the "run" script to Launcher.exe.

That's all ^_^ it should work as normal launching from the Steam Library, remember to change the Launch Options (in "right click" >> properties ), back to normal.

Last edited by Koopacabras on 21 May 2020 at 7:29 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.