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!
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
- GitLab takes down Nintendo Switch emulator suyu due to the DMCA
- Horizon Forbidden West Complete Edition out now on Steam - works on Steam Deck
- AMD FSR 3.1 announced with Vulkan support, upscaling quality improvements
- Founder of Baldur's Gate 3 developer blasts publisher greed
- GE-Proton 9-2 released, ULWGL gets renamed to umu (Unified Linux Wine Game Launcher)
- > See more over 30 days here
-
Orange Pi Neo Linux gaming handheld starts at $499 with…
- novhack -
EA Anticheat arrives for Battlefield V in April, will b…
- Termy -
EA Anticheat arrives for Battlefield V in April, will b…
- soulsource -
EA Anticheat arrives for Battlefield V in April, will b…
- Kaarlo -
EA Anticheat arrives for Battlefield V in April, will b…
- omer666 - > See more comments
Latest Forum Posts
- How to find out if a game is native for sure?
- Myrhan - Weekend Players' Club 3/22/2024
- Pengling - Nintendo-style gaming, without Nintendo!
- Linux_Rocks - I wish there was a truly trustworthy browser company...…
- Kuduzkehpan - GPU recommendations to make a gaming system with some older compo…
- bonkmaykr - See more posts
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