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
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
#### Installation
|
|
|
|
|
|
|
|
1. Download the [latest alterware-launcher.exe](https://github.com/mxve/alterware-launcher/releases/latest/download/alterware-launcher.exe)
|
|
|
|
2. Place alterware-launcher.exe in the game directory
|
2023-06-12 12:34:47 -04:00
|
|
|
3. 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
|
|
|
|
- ```--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
|
|
|
|
|
|
|
|
Example: ```alterware-launcher.exe iw4x --bonus -u```
|
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
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
#### 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-09-03 13:03:46 -04:00
|
|
|
When the launcher updates itself it needs to be restarted. It will return exit code 201 in this case.
|
|
|
|
|
|
|
|
```
|
|
|
|
@echo off
|
|
|
|
:loop
|
|
|
|
start /wait alterware-launcher.exe update
|
|
|
|
if %errorlevel% equ 201 (
|
|
|
|
goto loop
|
|
|
|
)
|
|
|
|
```
|