How to set-up a Dedicated-Server trough the use of SteamCMD.
Included a batch script example.
interpretate the windows instructions and write your own shell scripts.
You require SteamCMD to be installed. This can be anywhere.
In this example i have it located in C:\SteamCMD
- No usage of ‘force_install_dir’
All default directories will be used
First i will explain how to install and run the server manually.
And then i will show you a batch script to automate this process.
First time it will download and install itself fully.
Wait for this to finish.
When this is finished we are now inside the SteamCMD’s console.
From here we will install/update the game.
But first we need to log-in to steam.
You do not require a account we can use the ‘anonymous’ login option.
Installing the Server
(1757540 is steam’s ID for the server)
The game will be installed into
C:\SteamCMD\steamapps\common\TRILEGY Dedicated Server
(Yes it is called TRILEGY, blame Kevin for this one. I hope one day he changes it)
Run the command again to update the server.
Once we are done with installing/updating the server.
This is not recommended!
But you could run the ‘ArenaVRServer.exe’ and be done.
Yet i recommend you at least run the executable with the ‘-log’ option.
Either trough a shortcut or batch file.
"C:\SteamCMD\steamapps\common\TRILEGY Dedicated Server\ArenaVRServer.exe -log"
Open SteamCMD again and login as anonymous, as is shown above.
To download one of the workshop mods, you will require the publishedfileid of the mod.
Example publishedfileid: 2643689608 ‘Kevins Modding Test Zone’
workshop_download_item 1707030 2643689608
(1707030 is steam’s ID for the game)
The Mods will now be downloaded into
We will need to move these files to the server.
Place the whole mod folder (e.g. 2643689608) into
C:\SteamCMD\steamapps\common\TRILEGY Dedicated Server\ArenaVR\Mods
Finally we will need to add the ‘publisherfileid’ number into the WorkshopItems.txt
(Otherwise the mod won’t load)
You can find this file in the Mods folder.
Configuring the Server
C:\SteamCMD\steamapps\common\TRILEGY Dedicated Server\ArenaVR\Saved\Config\WindowsServer
And open ‘DedicatedServer.ini’
Change the ‘ServerName=’ to a unique and indentifiable name.
As well here you can adjust the ‘MapName=’ to use what map you wish to run.
(Default the map is set to ‘DesertKingdom’, please download map mods before changing this)
Please allow these trough your Firewall and/or port-forward these on your Router.
We can write a batch file!
@ECHO OFF :: This is the directory Steamcmd is installed in. SET d1=C:\Steamcmd\ :: This is the directory where the script expects the server to be located in. SET d2=%d1%steamapps\common\TRILEGY Dedicated Server\ :: steam_appID's. (do not change) SET d0=1757540 SET m0=1707030 :: These are the directories where the mods will be downloaded and moved to the server. SET m1=%d1%steamapps\workshop\content\1707030 SET m2=%d2%ArenaVR\Mods :: The following SET's are all the mods that will be downloaded/updated before server start. :: Include here all mod's that you want by workshop 'publishedfileid' number. :: - Increment the variable number, do not change the 'modid-' part, only incriment the number. (used for automation) SET modid-0=2643689608 SET modid-1=2680738149 :: Let us begin the script! CD %d1% START /wait steamcmd.exe +login anonymous Axial-Drift +app_update %d0% +quit DEL /Q "%d2%\ArenaVR\Mods\WorkshopItems.txt" SET /A modcount=0 :MODLOOP CALL SET modrun=modid-%modcount% IF "!%modrun%!"=="" ( GOTO MODEND ) ELSE ( START /wait steamcmd.exe +login anonymous +workshop_download_item %m0% !%modrun%! +quit ECHO.!%modrun%!>>"%d2%\ArenaVR\Mods\WorkshopItems.txt" SET /A modcount=%modcount%+1 GOTO MODLOOP ) GOTO END :MODEND xcopy /SY "%m1%" "%m2%" CD "%d2%" START /wait ArenaVRServer.exe -log :END PAUSE EXIT
Paste this code into notepad and save it as a .bat file
You can put this batch file nearly anywhere
I recommend either on the Desktop or inside the SteamCMD root folder.
This small batch script should function perfectly for you.
But this snippet is only the small 40-line version so it can fit in this Guide.
Full script is over 280 lines.
(You just will be missing a few features and all but the essential comments)
Contact us on the Axial-Drift Discord server for full version.