From a13b70c179ed99288e9fd6178521db469030fd94 Mon Sep 17 00:00:00 2001 From: steven carpenter Date: Tue, 1 Jul 2025 21:20:00 -0400 Subject: [PATCH 1/2] updated scripts for proper true path vs relative path --- scripts/reforger_update | 2 +- scripts/start.sh | 2 +- scripts/update.sh | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/reforger_update b/scripts/reforger_update index d76cf63..e5613e5 100644 --- a/scripts/reforger_update +++ b/scripts/reforger_update @@ -1,6 +1,6 @@ @ShutdownOnFailedCommand 1 @NoPromptForPassword 1 -force_install_dir /home/speccon18/Documents/code/test/reforger +force_install_dir /var/lib/steam/reforger login anonymous app_update 1874900 validate quit diff --git a/scripts/start.sh b/scripts/start.sh index 4853320..2bddb6c 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1 +1 @@ -export NIXPKGS_ALLOW_UNFREE=1 && nix-shell -p steam-run --run "steam-run ./ArmaReforgerServer -config ./Configs/default.json -maxFPS 60" +steam-run /var/lib/steam/reforger/ArmaReforgerServer -config /var/lib/steam/reforger/Configs/default.json -maxFPS 60 diff --git a/scripts/update.sh b/scripts/update.sh index cb7fb4f..8253686 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,16 +1,15 @@ #!/bin/sh set -e -server_root_path="/home/speccon18/Documents/code/test/reforger" +server_root_path="/var/lib/steam/reforger" config_path="$server_root_path/Configs" start_script_path="$server_root_path/start.sh" -steamcmd_script_path="./reforger_update" +steamcmd_script_path="/var/lib/steam/reforger_update" # Step 1: Download updater script if missing if [ ! -f "$steamcmd_script_path" ]; then echo "Downloading reforger_update script..." curl -L -o "$steamcmd_script_path" "https://git.skdevstudios.com/SK-Development-Studios/Ground-Zero-Conflict-Configuration/raw/branch/main/scripts/reforger_update" - chmod +x "$steamcmd_script_path" fi # Step 2: Missing files — download, run steamcmd, move into root From 6b06f76c9e995b15b2425ffb4265c0d493132207 Mon Sep 17 00:00:00 2001 From: specCon18 Date: Wed, 2 Jul 2025 02:18:25 +0000 Subject: [PATCH 2/2] Update Configs/default.json --- Configs/default.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Configs/default.json b/Configs/default.json index 4511e61..82f36a0 100644 --- a/Configs/default.json +++ b/Configs/default.json @@ -98,11 +98,6 @@ "name": "ACE Carrying", "version": "1.3.2" }, - { - "modId": "61C2509A023211FE", - "name": "M4 MAAWS", - "version": "0.3.70" - }, { "modId": "620E426C34BE0D17", "name": "Laser Rangefinder",