From 179beda96c58ffe6b419cf2d2e50cc1a054b82aa Mon Sep 17 00:00:00 2001 From: Brett Mayson Date: Fri, 18 Oct 2024 19:58:58 -0600 Subject: [PATCH] use linux arma3-tools --- .github/workflows/build.yaml | 7 +------ book/installation/arma3tools.md | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 16f17c25..626f0a8a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -110,14 +110,9 @@ jobs: run: | cd mod && hemtt dev - name: Install Arma 3 Tools - uses: arma-actions/arma3-tools@typescript + uses: arma-actions/arma3-tools@linux with: toolsUrl: ${{ secrets.ARMA3_TOOLS_URL }} - - name: Install Wine - if: startsWith(matrix.os.runner, 'ubuntu') - run: | - sudo apt-get update - sudo apt-get install -y wine64 - name: Run `hemtt build` on ${{ matrix.mod.repo }} run: | cd mod && hemtt build diff --git a/book/installation/arma3tools.md b/book/installation/arma3tools.md index 4cd55ccc..1684d0fb 100644 --- a/book/installation/arma3tools.md +++ b/book/installation/arma3tools.md @@ -10,8 +10,16 @@ Arma 3 Tools can be installed using [Steam](https://store.steampowered.com/app/2 ### Linux -Arma 3 Tools can be installed using [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD). After installation, run the tools at least once to ensure the registry keys are set. +HEMTT can use either Proton or Wine to run the tools. `wine64` is highly recommended, as using Proton will be much slower and may cause windows to pop up while running the tools. HEMTT will always use `wine64` if it is available. -```bash -steamcmd +login anonymous +force_install_dir /path/to/arma3tools +app_update 233780 validate +quit -``` +#### Steam + +Arma 3 Tools can be installed using [Steam](https://store.steampowered.com/app/233800/Arma_3_Tools/) with Proton. You can also use [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD) to install the tools on servers. + +#### ~/.local/share/arma3tools + +The tools can be installed manually into `~/.local/share/arma3tools` by copying the files from a Windows installation. If the tools are installed with Steam and inside this directory, HEMTT will prefer to use `~/.local/share/armatools`. + +#### HEMTT_BI_TOOLS Environment Variable + +If you have the tools installed in a different location, you can set the `HEMTT_BI_TOOLS` environment variable to the path of the tools. HEMTT will always use this path if it is set.