Garry's Mod

Garry's Mod

Not enough ratings
Staying Connected to Swamp Cinema
By Ech0
This is for aspiring oldfrogs lol
   
Award
Favorite
Favorited
Unfavorite
For Windows
First create a steam shortcut, then move it onto a folder of your choice.
Right click on it, and hit proprieties, to rename it to
"SwampCinema"
then you will change the destination field, to giveit the appropriate flags that'll launch gmod into the correct server.


"C:\Program Files (x86)\Steam\Steam.exe" -applaunch 4000 -windowed -w 1800 -h 900 -novid -console -noipx -nopreload -dev +connect 208.103.169.72:27015

Then create the swamp.bat script file that will automatically launch gmod for you :
@ECHO OFF



Echo "Swamp Cinema Automation Script"
GOTO :A

:A
TASKLIST | FINDSTR /I "steam.exe"
IF ERRORLEVEL 1 (GOTO :StartSteam) ELSE (ECHO Steam is currently running)
timeout 60
GOTO :B

:B
TASKLIST | FINDSTR /I "gmod.exe"
IF ERRORLEVEL 1 (GOTO :StartSwamp) ELSE (ECHO Swamp Cinema is currently running)
timeout 60
GOTO :B

:StartSwamp
ECHO "Swamp Cinema closed, Restarting..."
start SwampCinema
timeout 60
GOTO :B

:StartSteam
ECHO "Steam is closed, Restarting..."
start Steam
timeout 60
GOTO :A

Save it in the same folder as the steam executable you created earlier.
WIN+R and type shell:startup, create a shortcut of the swamp.bat script and copy it in the folder that just opened.


Into this folder I usually put in the codecs patch executable and the swamp.bat script.
They will launch everytime your PC boots, so it will make sure codecs are up to date, AND it will launch gmod straight into swamp cinema.



For additional automation i'd recommend :
-Making sure that windows autologs in without need the need of typing any password
-Making sure that steam logs in automatically to avoid the same thing.

Therefore you'd end up with a literal swamp machine
Pressing the power button, will boot into windows, which will automatically launch gmod which automatically logs into steam and into swamp cinema.
If gmod crashes, gmod will launch back once again into swamp cinema.

The only weakness here is that if your internet cuts out, gmod won't crash but you will have to manually reconnect to swamp.
For Linux
Here is the all-in-one Bashscript :


< 1 2 >
11 Comments
Ech0  [author] Sep 2, 2020 @ 2:09pm 
under linux maybe but under windows the commandline is way too limited
DnasHU Sep 1, 2020 @ 6:30pm 
Is there a script or something when the afk system kicks you then it's automatically re- connects to the server ?
[glow]ᴛʏʀ Jan 13, 2020 @ 7:11pm 
:pepehax:
ExeL Dec 25, 2019 @ 12:33pm 
hmmm:steamsalty:
BoyMayo Dec 22, 2019 @ 9:05pm 
I have no idea what Swamp Cinema is, still a good guide though.
Gypsy Dec 22, 2019 @ 5:43pm 
powerful
SimonButNotReallyCuzIExist Dec 22, 2019 @ 4:43pm 
pony shit, of course
DrUnK DoG Dec 21, 2019 @ 1:31pm 
nice MR. robot
Ech0  [author] Dec 21, 2019 @ 2:50am 
thx lol
Noz Dec 20, 2019 @ 6:47pm 
nice eyerape windows theme