You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I would like to add the following to a new "Opentrack in Lutris" wiki page (for wich I don't have perms)
Opentrack in Lutris
One can successfully run Opentrack win32 portable version with Linux games through Lutris and Proton.
For that:
Download Opentrack win32 portable from the GH releases, and put it somewhere where Lutris can access it.
For example: /home/deck/Games/IL2/gamefiles/opentrack/opentrack.exe
Automatically start Opentrack before the game, and close it afterwards, by creating and selecting Lutris pre-launch and post-exit scripts.
Create a home/deck/Games/pre-launch.sh and give it executable perms:
#!/bin/sh# Optional:# create a reverse tunnel to the android device running HeadMob app (or similar) to reduce latency# this needs gnirehtet in the path and working with the android device already.# see: https://github.com/Genymobile/gnirehtet## Deps: adb, gnirehtet, enable adb usb debugging in android phone## Note: if using Lutris Flatpak, you need to use Flatseal to expose PATH to Lutris so it can# find gnirehtet, adb.# GNIREHTET_APK=/$HOME/.local/share/gnirehtet/gnirehtet.apk gnirehtet run -p 4242 &# Start Opentrack for Windows on the same WINEPREFIX. This allows Opentrack to communicate# with the game.# Note: one must have configured Opentrack already to start when the game executable starts# (if not, alt-tab and click start).${WINE} /home/deck/Games/opentrack/opentrack.exe
Create a home/deck/Games/post-exit.sh and give it executable perms:
#!/bin/sh
pkill gnirehtet
pkill opentrack.exe
Open Lutris, game -> configure -> system options -> game execution -> set Pre-launch script & Post-launch script to the created files (don't check "wait for pre-launch script completion"). save.
Play. Voila!
Notes
Since the Opentrack portable version is not installed in the specific WINEPREFIX, it can be shared between games. Effectively reusing all profiles, listening to executables to start, etc. All works.
Examples
This is known to work at least for IL-2 1946, IL-2 Battle of Stalingrad (BoX).
The text was updated successfully, but these errors were encountered:
Hello, I would like to add the following to a new "Opentrack in Lutris" wiki page (for wich I don't have perms)
Opentrack in Lutris
One can successfully run Opentrack win32 portable version with Linux games through Lutris and Proton.
For that:
For example:
/home/deck/Games/IL2/gamefiles/opentrack/opentrack.exe
pre-launch
andpost-exit
scripts.home/deck/Games/pre-launch.sh
and give it executable perms:home/deck/Games/post-exit.sh
and give it executable perms:#!/bin/sh pkill gnirehtet pkill opentrack.exe
Notes
Since the Opentrack portable version is not installed in the specific WINEPREFIX, it can be shared between games. Effectively reusing all profiles, listening to executables to start, etc. All works.
Examples
This is known to work at least for IL-2 1946, IL-2 Battle of Stalingrad (BoX).
The text was updated successfully, but these errors were encountered: