Launching a game using Plutonium using only a bat script
Is there a way to launch IW5, T4 or T6 using the Plutonium client using a only a batch script the same way that the !start_mp_server.bat script is used to start a dedicated server and launch a game?
I tried to modify the !start_mp_server.bat script to suit my needs but I get an authentication error because I am not supplying my username and password using to login to Plutonium before executing the command.
Can someone guide me on how to supply username and password to the Plutonium client bootstrapper?
This is what I have so far but I get an authentication error because I am not supplying my username and password to the client properly:
UPDATE: I figured it out, the game now launches as expected using the following batch script located inside the root of the game directory but it still does not set the
fs_game "mods/bots"value after launching.
@echo off set gamepath=%cd% cd /D %LOCALAPPDATA%\Plutonium start /wait /abovenormal bin\plutonium-bootstrapper-win32.exe iw5mp %gamepath% +name "phase19" +set fs_game "mods/bots" -lan
Tried the following as well. The game launches but the value of fs_game is still not set to mods/bots.
set gamepath=%cd% set mod=mods/bots cd /D %LOCALAPPDATA%\Plutonium start /wait /abovenormal bin\plutonium-bootstrapper-win32.exe iw5mp %gamepath% -lan +name "phase19" -fs_game "%mod%"