Skip to content

Commit

Permalink
alter launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
SoScared committed Sep 29, 2018
1 parent 8020791 commit a3f6224
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions launch-dedicated.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

@echo on

set Name="Dedicated Server"
set Name="Big Kahuna Server"
set ListenPort=1234
set AdvertiseOnline=True
set EnableSingleplayer=False
set EnableSingleplayer=True
set Password=""

@echo off
Expand Down
4 changes: 2 additions & 2 deletions launch-dedicated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ fi

require_variables "MOD_ID" "ENGINE_VERSION" "ENGINE_DIRECTORY"

NAME="${Name:-"Dedicated Server"}"
NAME="${Name:-"Big Kahuna Server"}"
LAUNCH_MOD="${Mod:-"${MOD_ID}"}"
LISTEN_PORT="${ListenPort:-"1234"}"
ADVERTISE_ONLINE="${AdvertiseOnline:-"True"}"
ENABLE_SINGLE_PLAYER="${EnableSingleplayer:-"False"}"
ENABLE_SINGLE_PLAYER="${EnableSingleplayer:-"True"}"
PASSWORD="${Password:-""}"

cd "${TEMPLATE_ROOT}"
Expand Down
2 changes: 1 addition & 1 deletion launch-game.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
setlocal EnableDelayedExpansion
title OpenRA
title Red Alert: Unplugged

FOR /F "tokens=1,2 delims==" %%A IN (mod.config) DO (set %%A=%%B)
if exist user.config (FOR /F "tokens=1,2 delims==" %%A IN (user.config) DO (set %%A=%%B))
Expand Down

0 comments on commit a3f6224

Please sign in to comment.