BakkesMod Wiki
(Restructuring, reworking, Protontricks The summary has been reworked and steps for using Protontricks have been added. The console instructions have been outsourced and the manual instructions have been reformatted and slightly adjusted.)
Tag: Visual edit
m (Fixup headings)
Tag: Visual edit
Line 23: Line 23:
   
 
==== Install prerequisites ====
 
==== Install prerequisites ====
 
Directions to download vc_redist.x86.exe at [[Troubleshooting]].
 
==== Directions to download vc_redist.x86.exe at [[Troubleshooting]]. ====
 
 
<code>env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 vc_redist.x86.exe
 
<code>env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 vc_redist.x86.exe
 
</code>
 
</code>
Line 30: Line 29:
   
 
==== Installing & Injecting BakkesMod ====
 
==== Installing & Injecting BakkesMod ====
 
Launch Rocket League from Steam (Be sure D9VK is [https://github.com/ValveSoftware/Proton/#runtime-config-options enabled]), after Rocket League is launched - run the following command:
 
==== Launch Rocket League from Steam (Be sure D9VK is [https://github.com/ValveSoftware/Proton/#runtime-config-options enabled]), after Rocket League is launched - run the following command: ====
 
 
<code>env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 BakkesMod.exe
 
<code>env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 BakkesMod.exe
 
</code>
 
</code>

Revision as of 19:15, 20 November 2019

It's possible to use BakkesMod on GNU/Linux when running the Windows edition of Rocket League via Valve's Proton. The in-game GUI is not showing up, but the console and plugins seem to function correctly.

Setup

BakkesMod needs to be injected from the same wineprefix using the same version of wine that is used to run Rocket League. Protontricks allows working with wine for Proton enabled games. It's also possible to setup with the wine environment manually.

Using Protontricks

It's required to install Microsoft Visual C++ libraries to run the injector. They can be installed using the vcrun2017 winetrick:

$ protontricks 252950 vcrun2017

The runtime configuration for Rocket League has to be adjusted to use D9VK.

After starting Rocket League, the injector can be launched:

$ protontricks -c 'wine ~/Downloads/BakkesModInjector/BakkesMod.exe' 252950

Be sure to launch the injector using the same in-process synchronization primitives as for running Rocket League. Set WINEFSYNC=1, WINEESYNC=1 or none of those according to your configuration.

Manually[1]

Test for the correct wine environment

The first step is to verify that you can run commands in the Proton instance of Wine. Errors at this step can occur due to a conflict from existing Wine settings via the ~/.wine directory.

Someone may have a better approach (if you are currently using wine frequently and have made config changes, you may not want to do this), whereas I just removed the ~/.wine directory all together and ran

env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 winecfg

This initialized ~/.wine and opened up the configuration pane. There were some custom entries in the Application Settings panel "Bayonetta.exe, NewColossus_x64k.exe" that I think are unique to proton. If this works, you can close winecfg and continue.

Install prerequisites

Directions to download vc_redist.x86.exe at Troubleshooting.

env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 vc_redist.x86.exe

Some concerning looking logs will be churned out from wine at this time, but as of yet it seems to install correctly after this.

Installing & Injecting BakkesMod

Launch Rocket League from Steam (Be sure D9VK is enabled), after Rocket League is launched - run the following command:

env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 BakkesMod.exe

References