Skip Navigation

Search

Play DODI/FitGirl repacks on Linux with Lutris

crosspostato da: https://slrpnk.net/post/12840703

> Hi, I recently discovered a post that finally allowed me to run the known repacks on Linux, so I decided to summarize everything and share it with you here on Lemmy; let me know if you would improve some steps to make the procedure even easier to follow. > > ### > Requirements > > lutris, protonup-qt, wine-staging > > ### > Set Up Lutris > > 1. Open Lutris > Preferences > Global Options > 2. Enable "Show advanced options" > 3. "Disable Lutris Runtime" (off) > 4. "Disable Desktop effects" (on) > 5. "Disable Screen Saver" (on) > 6. "Enable Feral GameMode" (on) > 7. Save > > ### > Wine Versions Management > > 1. Open ProtonUp-Qt > choose Lutris > Add version > 2. Choose and Install (ignore -LoL versions; Wine-GE suggested) > 3. Restart Lutris > > ### > Install Windows Repacks > > 1. Open Lutris > + > Add locally installed game > 2. Type the name of your game > 3. Select Wine as Runner > 4. Go to "Game options" tab > 5. In "Wine prefix" create "/home/user/Games/your-game" > 6. Go to "Runner options" tab > 7. On "Wine version" select the version you prefer > 8. Save > 8-1. (If FitGirl Repack) > 8-2. Click on the game your just added > 8-3. On the botton panel click the "Up" icon near the "Platform: Windows" text > 8-4. Run EXE inside Wine prefix > 8-5. Open the .bat file inside the FitGirl repack > 8-6. Wait then "Install" > 8-7. Wait the "Checking fg-01.bin" window and "All files OK" > 8-8. Close the window > 9. Click on the game your just added > 10. On the botton panel click the "Up" icon near the "Platform: Windows" text > 11. Run EXE inside Wine prefix > 12. Open the "setup.exe" file inside your repack > 13. Wait; click "Install" if any installation prompt appears > 14. Follow the DODI/FitGirl installer > 14-1. Use "C:\" as destination > 14-2. Don't create a desktop icon or a start menu entry > 14-3. Deselect every option that starts with "Update" for eg: "Update DirectX" > 15. After the installation > right click on the game > Configure > 16. Go to "Game Options" tab > 17. In "Executable" put "/home/user/Games/your-game/drive_c/Your Game/your_game.exe" > 18. Save > 19. (optional) Right click on your game > Create desktop shortcut > > ### > Credits > > Jack000999, SolarPunker > > Based on (https://www.reddit.com/r/LinuxCrackSupport/comments/yqfirv/how_to_install_fitgirl_or_dodi_windows_repacks_in/)

3

"WINEDLLOVERRIDES="steam_api64=n,b; %command%" suddenly not working on your Steam games? Are you receiving the message "SteamAPI_Init() failed" in your logs? Here's the fix!

So recently, for reasons unknown to me, the old trick of

WINEDLLOVERRIDES="steam_api64=n,b" %command%

has not been working, at least with SteamOS 3.5 on the Steam Deck.

So here is the fix if you've been having the problem of "SteamAPI_Init() failed" in your logs, particularly when using something like the Goldberg emulator that relies on implementing a replacement for steam_api64.dll. This should work for other cracks like TENOKE's which use the same method.

1.Navigate to the folder of the Proton version that you want to use for the game (it defaults here on the Steam Deck):

/home/deck/.local/share/Steam/steamapps/common/(THE PROTON VERSION THAT YOU USE)/user_settings.sample.py

2.Rename that file to:

user_settings.py

3.Within that file, erase everything and add one single line:

user_settings = {"WINEDLLOVERRIDES": "steam_api64=n,b"}

4.Save the file and check to see if your games are working through Steam.

I don't know why this works over WINEDLLOVERRIDES in the launch options - it really shouldn't. But I've found that it does.

Let me know your experience.

2

Running Steamworks fix/Online fix with Linux Steam + Proton instead of lutris+steam.exe

[Read my comment]

This guide will show you how to run a steamworks fix in linux with Steam and Proton.

This guide assumes basic knowledge of Linux,Steam and SteamTinkerLaunch.

  1. Install the game by any means ex: using Lutris or wine(standalone) to install it.

  2. Install Steam Tinker Launch as a compatibility tool in steam. Guide to add the tool.

  3. In the terminal run "steamtinkerlaunch addnonsteamgame" without quotes, this will open tinkerlaunch's GUI to add a game.

  4. Fill the app name, the exe path and the start dir(start dir is important for some games that report missing assets without it, usually it's the same folder where the game's exe is located).

  5. Restart Steam so the game shows up.

  6. In Steam select the new game entry and go to it's properties.

  7. Force a compatibility tool and select steamtinkerlaunch.

  8. Start the game, when a popup appears(That's the tinkerlaunch GUI) select "Main Menu".

  9. In the "Main Menu" press "GAME MENU"

  10. Scroll down to the botton until you see "WINE DLL OVERRIDES".

  11. In the Text Box place the dll's used by the fix in this manner ex: "OnlineFix64=n;SteamOverlay64=n;winmm=n,b;dnet=n;steam_api64=n" without quotes.

  12. Press "Save and Play" and your game will boot up with the fix active.

BONUS RUNNING TRAINERS INSIDE A STEAMWORKS FIX:

  1. Open the "Game Menu" inside steamtinkerlaunch GUI and in the misc options(right at the top) there should be a custom command section.

  2. Select "Use Custom Command" and in the text box select the trainer.exe or cheat engine.exe.

  3. Select the option "Inject Custom Command"

  4. Press "Save and Play" and your trainer should pop up with the game.

EDIT: It's also be possible to skip steamtinkerlaunch and just use the options to launch the game as normal from Steam, but this aproach will not let you run trainers for your games! > WINEDLLOVERRIDES="OnlineFix64=n;SteamOverlay64=n;winmm=n,b;dnet=n;steam_api64=n" %command%

In STEAM launch options for the game but SteamTinker let's us well....tinker alot more like running trainers and stuff.

EDIT 2: IF THE GAME STILL TAKES YOU TO THE STORE OR REFUSES TO OPEN STEAMTINKERLAUNCH, PLEASE VERIFY THAT A FILE CALLED "steam_api.txt" IS NOT IN THE GAME'S FOLDER, IF IT IS REMOVE IT.

3