Browse Source

feat(btl): rename bt1944 to btl (#4124)

* fix(bt1944): update binary file

* feat(btl): rename bt1944 to btl
pull/4128/head
Daniel Gibbs 2 years ago
parent
commit
e8cb43a058
  1. 4
      .github/labeler.yml
  2. 6
      lgsm/config-default/config-lgsm/btlserver/_default.cfg
  3. 2
      lgsm/data/almalinux-8.csv
  4. 2
      lgsm/data/almalinux-9.csv
  5. 2
      lgsm/data/centos-7.csv
  6. 2
      lgsm/data/centos-8.csv
  7. 2
      lgsm/data/centos-9.csv
  8. 2
      lgsm/data/debian-10.csv
  9. 2
      lgsm/data/debian-11.csv
  10. 2
      lgsm/data/debian-9.csv
  11. 2
      lgsm/data/rhel-7.csv
  12. 2
      lgsm/data/rhel-8.csv
  13. 2
      lgsm/data/rhel-9.csv
  14. 2
      lgsm/data/rocky-8.csv
  15. 2
      lgsm/data/rocky-9.csv
  16. 2
      lgsm/data/serverlist.csv
  17. 2
      lgsm/data/ubuntu-16.04.csv
  18. 2
      lgsm/data/ubuntu-18.04.csv
  19. 2
      lgsm/data/ubuntu-20.04.csv
  20. 2
      lgsm/data/ubuntu-21.04.csv
  21. 2
      lgsm/data/ubuntu-21.10.csv
  22. 2
      lgsm/data/ubuntu-22.04.csv
  23. 10
      lgsm/functions/info_game.sh
  24. 6
      lgsm/functions/info_messages.sh
  25. 6
      lgsm/functions/install_config.sh

4
.github/labeler.yml

@ -68,8 +68,8 @@
- "/(Avorion)/i" - "/(Avorion)/i"
"game: Ballistic Overkill": "game: Ballistic Overkill":
- "/(Ballistic Overkill)/i" - "/(Ballistic Overkill)/i"
"game: Battalion 1944": "game: BATTALION: Legacy":
- "/(Battalion 1944)/i" - "/(BATTALION: Legacy)/i"
"game: Barotrauma": "game: Barotrauma":
- "/(Barotrauma)/i" - "/(Barotrauma)/i"
"game: Counter-Strike: Global Offensive": "game: Counter-Strike: Global Offensive":

6
lgsm/config-default/config-lgsm/bt1944server/_default.cfg → lgsm/config-default/config-lgsm/btlserver/_default.cfg

@ -151,7 +151,7 @@ consoleinteract="no"
## Game Server Details ## Game Server Details
# Do not edit # Do not edit
gamename="Battalion 1944" gamename="BATTALION: Legacy"
engine="unreal4" engine="unreal4"
glibc="2.17" glibc="2.17"
@ -159,9 +159,9 @@ glibc="2.17"
# Edit with care # Edit with care
## Game Server Directories ## Game Server Directories
systemdir="${serverfiles}/Linux/Battalion" systemdir="${serverfiles}/Battalion"
executabledir="${systemdir}/Binaries/Linux" executabledir="${systemdir}/Binaries/Linux"
executable="./BattalionServer" executable="./BattalionServer-Linux-Shipping"
servercfgdir="${systemdir}/Saved/Config/LinuxServer" servercfgdir="${systemdir}/Saved/Config/LinuxServer"
servercfg="${selfname}.ini" servercfg="${selfname}.ini"
servercfgdefault="DefaultGame.ini" servercfgdefault="DefaultGame.ini"

2
lgsm/data/almalinux-8.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/almalinux-9.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/centos-7.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/centos-8.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/centos-9.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-10.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-11.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-9.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rhel-7.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rhel-8.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rhel-9.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rocky-8.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rocky-9.csv

@ -17,7 +17,7 @@ bmdm,ncurses-libs.i686
bo bo
bs bs
bt,libicu,dos2unix bt,libicu,dos2unix
bt1944 btl
cc cc
cd cd
ck,xorg-x11-server-Xvfb ck,xorg-x11-server-Xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/serverlist.csv

@ -15,7 +15,7 @@ bmdm,bmdmserver,Black Mesa: Deathmatch,ubuntu-22.04
bo,boserver,Ballistic Overkill,ubuntu-22.04 bo,boserver,Ballistic Overkill,ubuntu-22.04
bs,bsserver,Blade Symphony,ubuntu-22.04 bs,bsserver,Blade Symphony,ubuntu-22.04
bt,btserver,Barotrauma,ubuntu-22.04 bt,btserver,Barotrauma,ubuntu-22.04
bt1944,bt1944server,Battalion 1944,ubuntu-22.04 btl,btlserver,BATTALION: Legacy,ubuntu-22.04
cc,ccserver,Codename CURE,ubuntu-22.04 cc,ccserver,Codename CURE,ubuntu-22.04
cd,cdserver,Crafting Dead,ubuntu-22.04 cd,cdserver,Crafting Dead,ubuntu-22.04
ck,ckserver,Core Keeper,ubuntu-22.04 ck,ckserver,Core Keeper,ubuntu-22.04

Can't render this file because it has a wrong number of fields in line 7.

2
lgsm/data/ubuntu-16.04.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-18.04.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-20.04.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-21.04.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
cd cd
ck,xvfb ck,xvfb

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-21.10.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev bt,libicu-dev
bt1944 btl
cc cc
ck,xvfb ck,xvfb
cmw cmw

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-22.04.csv

@ -17,7 +17,7 @@ bmdm,libncurses5:i386
bo bo
bs bs
bt,libicu-dev,dos2unix bt,libicu-dev,dos2unix
bt1944 btl
cc cc
ck,xvfb ck,xvfb
cd cd

Can't render this file because it has a wrong number of fields in line 2.

10
lgsm/functions/info_game.sh

@ -264,7 +264,7 @@ fn_info_game_bt() {
fi fi
} }
fn_info_game_bt1944() { fn_info_game_btl() {
# Config # Config
if [ ! -f "${servercfgfullpath}" ]; then if [ ! -f "${servercfgfullpath}" ]; then
servername="${unavailable}" servername="${unavailable}"
@ -307,7 +307,7 @@ fn_info_game_cd() {
fi fi
} }
fn_info_game_ck(){ fn_info_game_ck() {
if [ ! -f "${servercfgfullpath}" ]; then if [ ! -f "${servercfgfullpath}" ]; then
servername="${unavailable}" servername="${unavailable}"
maxplayers="${zero}" maxplayers="${zero}"
@ -318,7 +318,7 @@ fn_info_game_ck(){
queryport=$((port + 1)) queryport=$((port + 1))
} }
fn_info_game_cmw(){ fn_info_game_cmw() {
# Config # Config
if [ ! -f "${servercfgfullpath}" ]; then if [ ! -f "${servercfgfullpath}" ]; then
adminpassword="${unavailable}" adminpassword="${unavailable}"
@ -2402,8 +2402,8 @@ elif [ "${shortname}" == "bo" ]; then
fn_info_game_bo fn_info_game_bo
elif [ "${shortname}" == "bt" ]; then elif [ "${shortname}" == "bt" ]; then
fn_info_game_bt fn_info_game_bt
elif [ "${shortname}" == "bt1944" ]; then elif [ "${shortname}" == "btl" ]; then
fn_info_game_bt1944 fn_info_game_btl
elif [ "${shortname}" == "cd" ]; then elif [ "${shortname}" == "cd" ]; then
fn_info_game_cd fn_info_game_cd
elif [ "${shortname}" == "ck" ]; then elif [ "${shortname}" == "ck" ]; then

6
lgsm/functions/info_messages.sh

@ -861,7 +861,7 @@ fn_info_message_bt() {
} | column -s $'\t' -t } | column -s $'\t' -t
} }
fn_info_message_bt1944() { fn_info_message_btl() {
{ {
fn_port "header" fn_port "header"
fn_port "Game" port udp fn_port "Game" port udp
@ -1693,8 +1693,8 @@ fn_info_message_select_engine() {
fn_info_message_bo fn_info_message_bo
elif [ "${shortname}" == "bt" ]; then elif [ "${shortname}" == "bt" ]; then
fn_info_message_bt fn_info_message_bt
elif [ "${shortname}" == "bt1944" ]; then elif [ "${shortname}" == "btl" ]; then
fn_info_message_bt1944 fn_info_message_btl
elif [ "${shortname}" == "cd" ]; then elif [ "${shortname}" == "cd" ]; then
fn_info_messages_cd fn_info_messages_cd
elif [ "${shortname}" == "ck" ]; then elif [ "${shortname}" == "ck" ]; then

6
lgsm/functions/install_config.sh

@ -240,8 +240,8 @@ elif [ "${shortname}" == "bt" ]; then
fn_default_config_remote fn_default_config_remote
fn_set_config_vars fn_set_config_vars
fn_list_config_locations fn_list_config_locations
elif [ "${shortname}" == "bt1944" ]; then elif [ "${shortname}" == "btl" ]; then
gamedirname="Battalion1944" gamedirname="BattalionLegacy"
fn_check_cfgdir fn_check_cfgdir
array_configs+=(DefaultGame.ini) array_configs+=(DefaultGame.ini)
fn_fetch_default_config fn_fetch_default_config
@ -299,7 +299,7 @@ elif [ "${shortname}" == "cd" ]; then
fn_list_config_locations fn_list_config_locations
elif [ "${shortname}" == "ck" ]; then elif [ "${shortname}" == "ck" ]; then
gamedirname="CoreKeeper" gamedirname="CoreKeeper"
array_configs+=( ServerConfig.json ) array_configs+=(ServerConfig.json)
fn_fetch_default_config fn_fetch_default_config
fn_default_config_remote fn_default_config_remote
fn_set_config_vars fn_set_config_vars

Loading…
Cancel
Save