BakkesMod Wiki
(formatting)
Tag: Visual edit
(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
Line 1: Line 1:
  +
It's possible to use BakkesMod on GNU/Linux when running the Windows edition of Rocket League via [https://github.com/ValveSoftware/Proton/ Valve's Proton]. The in-game GUI is not showing up, but the [[console]] and plugins seem to function correctly.
There has been success running BakkesMod via Steam Proton, with some minor exceptions. The BakkesMod UI does not work, meaning that many commands need to be performed through the BakkesMod console. Most functionality is still available and BakkesMod plugins can be installed as well.
 
   
  +
== Setup ==
'''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.
 
  +
BakkesMod needs to be injected from the same wineprefix using the same version of wine that is used to run Rocket League. [https://github.com/Matoking/protontricks 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 [https://github.com/ValveSoftware/Proton/#runtime-config-options 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<ref>https://www.reddit.com/r/linux_gaming/comments/djvs78/some_success_with_bakkesmod_in_rocket_league_with/</ref> ===
  +
  +
==== 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
 
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
Line 7: Line 22:
 
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.
 
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 ====
'''Next to install vc_redist.x86.exe'''
 
  +
* Directions to download vc_redist.x86.exe here: https://bakkesmod.fandom.com/wiki/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>
 
Some concerning looking logs will be churned out from wine at this time, but as of yet it seems to install correctly after this.
 
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 '''https://linuxgamecast.com/2019/08/enable-d9vk-in-steam-performance-tests/), 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>
 
'''Enable Console input & Control '''
 
   
 
==== Installing & Injecting BakkesMod ====
In the BakkesMod conf file (config.cfg) The options you need to enable are:
 
* cl_console_enabled "1"
 
* cl_console_toggleable "1"
 
   
 
==== 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: ====
Additional notes: https://www.reddit.com/r/linux_gaming/comments/djvs78/some_success_with_bakkesmod_in_rocket_league_with/
 
 
<code>env WINEPREFIX="~/.steam/steam/steamapps/compatdata/252950/pfx" WINEESYNC=1 ~/.steam/steam/steamapps/common/Proton\ 4.11/dist/bin/wine64 BakkesMod.exe
 
</code>
   
  +
== References ==
Todo: Try without ESYNC (possible better performance without video syncing)
 
  +
<references />

Revision as of 19:12, 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