2023-09-03 13:03:46 -04:00
# AlterWare Launcher
2023-06-01 06:23:23 -04:00
2023-09-03 13:03:46 -04:00
### [AlterWare.dev](https://alterware.dev)
##### IW4x | IW4-SP | IW5-Mod | IW6-Mod | S1-Mod
2023-12-22 15:29:04 -05:00
![GitHub tag (with filter) ](https://img.shields.io/github/v/tag/mxve/alterware-launcher?filter=!v*-pre&style=flat-square&label=Latest%20release&labelColor=F3F8FF&color=E26EE5 ) ![GitHub (Pre-)Release Date ](https://img.shields.io/github/release-date-pre/mxve/alterware-launcher?style=flat-square&label=Release%20date&labelColor=F3F8FF&color=E26EE5 ) ![GitHub all releases ](https://img.shields.io/github/downloads/mxve/alterware-launcher/total?style=flat-square&label=Total%20downloads&labelColor=F3F8FF&color=E26EE5 )
2023-09-03 13:03:46 -04:00
---
2024-02-09 13:13:11 -05:00
## Installation
2023-09-03 13:03:46 -04:00
2024-02-09 13:13:11 -05:00
1. Download the game from [Steam ](https://store.steampowered.com/ )
2. Download the [latest alterware-launcher.exe ](https://github.com/mxve/alterware-launcher/releases/latest/download/alterware-launcher.exe )
3. Place alterware-launcher.exe in the game directory
4. Run alterware-launcher.exe, after updating the game will launch automatically
2023-06-11 10:16:29 -04:00
---
2023-09-03 13:03:46 -04:00
#### Command line arguments
2023-09-14 03:37:35 -04:00
- ```iw4-sp```, ```iw4x```, ```iw5-mod```, ```iw6-mod```, ```s1-mod```
- Skip automatic detection and launch the specified game
2023-09-14 19:45:47 -04:00
- This should always be the first argument if used
2023-09-14 03:37:35 -04:00
- ```--update```, ```-u```
- Only update the game, don't launch it
- ```--skip-launcher-update```
- Don't update the launcher
- ```--bonus```
- Download bonus content
- ```--force```, ```-f```
- Force file hash recheck
2023-09-14 03:44:35 -04:00
- ```--path```, ```-p```
- Set the game path
2023-09-14 04:08:26 -04:00
- Do not include a trailing backslash in the path
2023-09-14 04:25:44 -04:00
- ```--pass```
2023-09-14 04:23:48 -04:00
- Pass additional arguments to the game
2023-10-07 07:24:26 -04:00
- See [client-args.md ](client-args.md )
2023-09-14 19:45:47 -04:00
- ```--version```, ```-v```
- Print the launcher version
2024-02-09 12:45:19 -05:00
- ```--ignore-required-files```
- Install client even if required files are missing
2023-09-14 03:37:35 -04:00
2023-09-14 04:23:48 -04:00
Example: ```alterware-launcher.exe iw4x --bonus -u --path "C:\Games\IW4x" --pass "-console"```
2023-09-10 12:29:30 -04:00
Some arguments can be set in alterware-launcher.json, args generally override the values of the config.
2023-09-03 13:03:46 -04:00
---
2023-10-07 07:24:26 -04:00
#### Config file
alterware-launcher.json
- ```update_only```
- See --update
- Default: false
- ```skip_self_update```
- See --skip-launcher-update
- Default: false
- ```download_bonus_content```
- See --bonus
- Default: false
- ```ask_bonus_content```
- Ask the user if they want to download bonus content
- Default: true; false after asking
- ```force_update```
- See --force
- Default: false
- ```args```
- See --pass
- Default: ""
2024-02-09 13:13:11 -05:00
- ```use_https```
- Use HTTPS for downloads
- Default: false
2023-10-07 07:24:26 -04:00
---
2023-09-03 13:03:46 -04:00
#### Support
Visit the [AlterWare Forum ](https://forum.alterware.dev/ ) or [Discord ](https://discord.gg/2ETE8engZM ) for support.
---
#### Building from Source
- [Install Rust ](https://rustup.rs/ )
- Clone the repository
- Run ```cargo build --release```
- The executable will be located in ```target/release```
---
2023-08-17 12:32:32 -04:00
### Note for server owners:
2023-12-22 15:29:04 -05:00
When the launcher updates itself __on Windows__ it will restart by spawning a new console. If you are automating this process, you should probably use ```--skip-launcher-update``` and download the latest launcher yourself from [here ](https://github.com/mxve/alterware-launcher/releases/latest/download/alterware-launcher.exe ).
The linux build does __not__ update itself.