aboutsummaryrefslogtreecommitdiff
path: root/docs/DRIVER.md
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-10-14 20:16:26 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-10-14 20:16:26 +0300
commita3aba95241247c5aa5c8e16c839cf6909ffe80a9 (patch)
tree5f4692527eb9a82d95d08754e4eb96be7df90ba5 /docs/DRIVER.md
parentb2872a893afd0f9cd0bfd4644348f3b8645edbed (diff)
parent1ac3f52cfd972787e4684350f7593614837b6b19 (diff)
downloadhid-tmff2-a3aba95241247c5aa5c8e16c839cf6909ffe80a9.tar.gz
hid-tmff2-a3aba95241247c5aa5c8e16c839cf6909ffe80a9.zip
Merge branch 'RaySlash-rebase'
Diffstat (limited to 'docs/DRIVER.md')
-rw-r--r--docs/DRIVER.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/DRIVER.md b/docs/DRIVER.md
new file mode 100644
index 0000000..053ee41
--- /dev/null
+++ b/docs/DRIVER.md
@@ -0,0 +1,49 @@
+There are some reports that games will work better with the Thrustmaster Windows
+drivers installed.
+
+# Installing the Windows drivers inside a proton prefix
+
+1. Install [protontricks](https://github.com/Matoking/protontricks).
+
+2. Download the
+ [Thrustmaster drivers](https://support.thrustmaster.com/en/product/t300rs-en/).
+
+3. Look up the ID of your game with `protontricks -s NAME`. For example:
+ ```shell
+ $ protontricks -s Dirt
+ Found the following games:
+ DiRT 3 Complete Edition (321040)
+ DiRT 4 (421020)
+ DiRT Rally (310560)
+ DiRT Rally 2.0 (690790)
+
+ To run Protontricks for the chosen game, run: $ protontricks APPID COMMAND
+
+ NOTE: A game must be launched at least once before Protontricks can find the
+ game.
+ ```
+
+4. Run the driver installer with protontricks.
+ ```shell
+ protontricks -c 'wine ~/Downloads/DRIVER_INSTALL_EXE' APPID
+ ```
+
+ Dirt 4 for example:
+ ```shell
+ protontricks -c 'wine ~/Downloads/2022_TTRS_1.exe' 421020
+ ```
+
+Note that `protontricks` may change the working directory, so relative paths may
+end up not working as expected.
+
+# Installing the Windows drivers manually
+
+Assuming you've already downloaded the installer:
+
+```shell
+WINE_PREFIX=/path/to/prefix wine ./DRIVER_INSTALL_EXE
+```
+
+[Lutris](https://lutris.net/) is an excellent way to keep track of which
+non-steam games exist in which prefixes, and allows you to run executables in
+prefixes from a GUI if that's more your thing.