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
- GE-Proton 9-3 and 9-4 released with a new option to help with modded games
- MineClone2, inspired by Minecraft, gets renamed to VoxeLibre
- Bazzite v2.5 has fixes for Lenovo Legion Go and ASUS ROG Ally, plus smoother installs
- Half-Life remake Black Mesa has a big upgrade with DXVK 2.3.1, optimizations and bug fixes
- OpenTTD 14.0 brings a scalable font, a new ship pathfinder, social platform integration
- > See more over 30 days here
-
Stardew Valley 1.6.4 brings even more new free content
- Purple Library Guy -
Team Fortress 2 64bit support released, plus Vulkan for…
- WorMzy -
Stardew Valley 1.6.4 brings even more new free content
- Linux_Rocks -
World of Goo 2 delayed until August 2nd
- Lembritt -
Former Nouveau driver lead joins NVIDIA and sent a mass…
- whizse - > See more comments
Latest Forum Posts
- Weekend Players' Club 4/19/2024
- StoneColdSpider - The Evercade Outpost!
- Pengling - What sorta display and audio setup do you folks got?
- Shmerl - Weekend Players' Club 4/12/2024
- Pengling - Deus Ex GOTY Weird Resolution Issue on Steam But Not GOG…
- Vortex_Acherontic - 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