Browse Source

changed delimiter to ; from ,

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
e1f4677588
  1. 136
      lgsm/data/serverlist.csv
  2. 4
      linuxgsm.sh

136
lgsm/data/serverlist.csv

@ -1,68 +1,68 @@
arma3,arma3server,ARMA 3 arma3;arma3server;ARMA 3
sdtd,sdtdserver,7 Days to Die sdtd;sdtdserver;7 Days to Die
ark,arkserver,ARK: Survival Evolved ark;arkserver;ARK: Survival Evolved
bo,boserver,Ballistic Overkill bo;boserver;Ballistic Overkill
bf1942,bf1942server,Battlefield 1942 bf1942;bf1942server;Battlefield 1942
bmdm,bmdmserver,Black Mesa: Deathmatch bmdm;bmdmserver;Black Mesa: Deathmatch
bs,bsserver,Blade Symphony bs;bsserver;Blade Symphony
bb2,bb2server,BrainBread 2 bb2;bb2server;BrainBread 2
cod,codserver,Call of Duty cod;codserver;Call of Duty
cod2,cod2server,Call of Duty 2 cod2;cod2server;Call of Duty 2
cod4,cod4server,Call of Duty 4 cod4;cod4server;Call of Duty 4
coduo,coduoserver,Call of Duty: United Offensive coduo;coduoserver;Call of Duty: United Offensive
codwaw,codwawserver,Call of Duty: World at War codwaw;codwawserver;Call of Duty: World at War
cc,ccserver,Codename CURE cc;ccserver;Codename CURE
cs,csserver,Counter-Strike 1.6 cs;csserver;Counter-Strike 1.6
cscz,csczserver,Counter-Strike: Condition Zero cscz;csczserver;Counter-Strike: Condition Zero
csgo,csgoserver,Counter-Strike: Global Offensive csgo;csgoserver;Counter-Strike: Global Offensive
css,cssserver,Counter-Strike: Source css;cssserver;Counter-Strike: Source
dod,dodserver,Day of Defeat dod;dodserver;Day of Defeat
dods,dodsserver,Day of Defeat: Source dods;dodsserver;Day of Defeat: Source
doi,doiserver,Day of Infamy doi;doiserver;Day of Infamy
dmc,dmcserver,Deathmatch Classic dmc;dmcserver;Deathmatch Classic
dst,dstserver,Don't Starve Together dst;dstserver;Don't Starve Together
dab,dabserver,Double Action: Boogaloo dab;dabserver;Double Action: Boogaloo
em,emserver,Empires Mod em;emserver;Empires Mod
fctr,fctrserver,Factorio fctr;fctrserver;Factorio
fof,fofserver,Fistful of Frags fof;fofserver;Fistful of Frags
gmod,gmodserver,Garrys Mod gmod;gmodserver;Garrys Mod
ges,gesserver,GoldenEye: Source ges;gesserver;GoldenEye: Source
hl2dm,hl2dmserver,Half-Life 2: Deathmatch hl2dm;hl2dmserver;Half-Life 2: Deathmatch
hldms,hldmsserver,Half-Life Deathmatch: Source hldms;hldmsserver;Half-Life Deathmatch: Source
hldm,hldmserver,Half-Life: Deathmatch hldm;hldmserver;Half-Life: Deathmatch
hw,hwserver,Hurtworld hw;hwserver;Hurtworld
ins,insserver,Insurgency ins;insserver;Insurgency
jc2,jc2server,Just Cause 2 jc2;jc2server;Just Cause 2
kf,kfserver,Killing Floor kf;kfserver;Killing Floor
l4d,l4dserver,Left 4 Dead l4d;l4dserver;Left 4 Dead
l4d2,l4d2server,Left 4 Dead 2 l4d2;l4d2server;Left 4 Dead 2
mc,mcserver,Minecraft mc;mcserver;Minecraft
mta,mtaserver,Multi Theft Auto mta;mtaserver;Multi Theft Auto
mumble,mumbleserver,Mumble mumble;mumbleserver;Mumble
ns2,ns2server,Natural Selection 2 ns2;ns2server;Natural Selection 2
nmrih,nmrihserver,No More Room in Hell nmrih;nmrihserver;No More Room in Hell
ns2c,ns2cserver,NS2: Combat ns2c;ns2cserver;NS2: Combat
opfor,opforserver,Opposing Force opfor;opforserver;Opposing Force
pvkii,pvkiiserver,Pirates, Vikings, & Knights II pvkii;pvkiiserver;Pirates, Vikings, & Knights II
pc,pcserver,Project Cars pc;pcserver;Project Cars
pz,pzserver,Project Zomboid pz;pzserver;Project Zomboid
q2,q2server,Quake 2 q2;q2server;Quake 2
q3,q3server,Quake 3: Arena q3;q3server;Quake 3: Arena
ql,qlserver,Quake Live ql;qlserver;Quake Live
qw,qwserver,Quake World qw;qwserver;Quake World
ro,roserver,Red Orchestra: Ostfront 41-45 ro;roserver;Red Orchestra: Ostfront 41-45
ricochet,ricochetserver,Ricochet ricochet;ricochetserver;Ricochet
rust,rustserver,Rust rust;rustserver;Rust
ss3,ss3server,Serious Sam 3: BFE ss3;ss3server;Serious Sam 3: BFE
sb,sbserver,Starbound sb;sbserver;Starbound
sven,svenserver,Sven Co-op sven;svenserver;Sven Co-op
tf2,tf2server,Team Fortress 2 tf2;tf2server;Team Fortress 2
tfc,tfcserver,Team Fortress Classic tfc;tfcserver;Team Fortress Classic
ts3,ts3server,Teamspeak 3 ts3;ts3server;Teamspeak 3
tw,twserver,Teeworlds tw;twserver;Teeworlds
terraria,terrariaserver,Terraria terraria;terrariaserver;Terraria
tu,tuserver,Tower Unite tu;tuserver;Tower Unite
ut2k4,ut2k4server,Unreal Tournament 2004 ut2k4;ut2k4server;Unreal Tournament 2004
ut3,ut3server,Unreal Tournament 3 ut3;ut3server;Unreal Tournament 3
ut99,ut99server,Unreal Tournament 99 ut99;ut99server;Unreal Tournament 99
wet,wetserver,Wolfenstein: Enemy Territory wet;wetserver;Wolfenstein: Enemy Territory

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

4
linuxgsm.sh

@ -209,7 +209,7 @@ fn_install_menu() {
# Gets server info from serverlist.csv and puts in to array # Gets server info from serverlist.csv and puts in to array
fn_server_info(){ fn_server_info(){
IFS="," IFS=";"
server_info_array=($(grep -w "${userinput}" "${serverlist}")) server_info_array=($(grep -w "${userinput}" "${serverlist}"))
shortname="${server_info_array[0]}" # csgo shortname="${server_info_array[0]}" # csgo
gameservername="${server_info_array[1]}" # csgoserver gameservername="${server_info_array[1]}" # csgoserver
@ -287,7 +287,7 @@ if [ "${shortname}" == "core" ]; then
awk -F "," '{print $2 "\t" $3}' "${serverlist}" awk -F "," '{print $2 "\t" $3}' "${serverlist}"
} | column -s $'\t' -t | more } | column -s $'\t' -t | more
exit exit
elif [ "${userinput}" == "install" ]; then elif [ "${userinput}" == "install" ]||[ "${userinput}" == "i" ]; then
fn_install_menu result "LinuxGSM" "Select game to install" "${serverlist}" fn_install_menu result "LinuxGSM" "Select game to install" "${serverlist}"
userinput="${result}" userinput="${result}"
fn_server_info fn_server_info

Loading…
Cancel
Save