Skip to content

Commit 2bf0f8b

Browse files
committed
refactor(hlwon): install from a single linuxgsm.download archive
The WON2 server is a fixed legacy release, so it now installs like the other archived servers through fn_install_server_files. The archive bundles HLDS 3.1.1.1 with the 3.1.1.1e update, the patched hlds_run, the WON2 protection libraries and valvecomm.lst. This removes install_hlwon.sh, which carved a tarball out of a Wayback Machine copy of the 4Players installer and pulled six files from a third-party repository, and the unused WON query test script.
1 parent 0e5349e commit 2bf0f8b

4 files changed

Lines changed: 8 additions & 109 deletions

File tree

‎.github/scripts/test_query_won2.py‎

Lines changed: 0 additions & 77 deletions
This file was deleted.

‎lgsm/modules/core_modules.sh‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -865,11 +865,6 @@ install_retry.sh() {
865865
fn_fetch_module
866866
}
867867

868-
install_hlwon.sh() {
869-
modulefile="${FUNCNAME[0]}"
870-
fn_fetch_module
871-
}
872-
873868
install_server_dir.sh() {
874869
modulefile="${FUNCNAME[0]}"
875870
fn_fetch_module

‎lgsm/modules/install_hlwon.sh‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎lgsm/modules/install_server_files.sh‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ fn_install_server_files() {
7373
run="norun"
7474
force="noforce"
7575
md5="2c6be1bb66ea631b9b2e7ae6216c6680"
76+
elif [ "${shortname}" == "hlwon" ]; then
77+
remote_fileurl="https://linuxgsm.download/HalfLifeWON2/hlds_l-3111e-won2-linuxgsm.tar.xz"
78+
local_filedir="${tmpdir}"
79+
local_filename="hlds_l-3111e-won2-linuxgsm.tar.xz"
80+
chmodx="nochmodx"
81+
run="norun"
82+
force="noforce"
83+
md5="83164405c744a5e424814e67eacf27fb"
7684
elif [ "${shortname}" == "mohaa" ]; then
7785
remote_fileurl="https://linuxgsm.download/MedalofHonorAlliedAssault/moh_revival_v1.12_RC3.5.1.tar.xz"
7886
local_filedir="${tmpdir}"
@@ -267,8 +275,6 @@ elif [ "${shortname}" == "vints" ]; then
267275
update_vints.sh
268276
elif [ "${shortname}" == "bb" ]; then
269277
update_bb.sh
270-
elif [ "${shortname}" == "hlwon" ]; then
271-
install_hlwon.sh
272278
elif [ "${shortname}" == "ut99" ]; then
273279
fn_install_server_files
274280
update_ut99.sh

0 commit comments

Comments
 (0)