Skip to content

Commit

Permalink
use linux arma3-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 19, 2024
1 parent b146c16 commit 179beda
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 12 additions & 4 deletions book/installation/arma3tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 179beda

Please sign in to comment.