From 3027994d340f09892efa08e22c1f2e1ae6d7010d Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 8 Oct 2023 21:21:52 +0300 Subject: docs: mostly tweak structure and formatting + Still have to check that everything renders properly on GitHub. --- docs/DRIVER.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/DRIVER.md (limited to 'docs/DRIVER.md') 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. -- cgit v1.3