How to Setup an Aska Dedicated Server With a Batch File
Personally, I would use WindowsGSM to host an Aska, dedicated server, but I am going to show you how to do it with a batch file anyway. You can use my examples to get any game server working with a batch file. The big drawback is you don’t have any visual control, and have to do everything with commands. Hosting your own Icarus dedicated server with a batch file is also several more steps.
We assume you have already read the in’s and out’s of running your own server, things like the monthly costs, the hardware, and leaving your computer up 24/7. If you have not I recommend starting with this quick read, It can save you hours of time and frustration. Again I would recommend using WindowsGSM. You can take a look at that HERE.
YES! You will still need to open ports.
NOTE: Place steam in OFF LINE mode on the computer you are wanting to run the server from
You can also host this game from GPortal, Paying for hosting has advantages and disadvantages, you can read about those HERE. IF you decide to use paid hosting, friends of the site get 10% off and it helps support me.
The files are ODT files which are just office files, you can open them with windows wordpad, but ten you will have to save them as plain text. Then you will need to open them with Note++ and save them as a batch file. This is mostly because my website blocks the use of plain text or batch files. Sorry about that but at least we shouldn’t be exposed to viruses.
So to summarize,
- Download the Batch.odt File
- Right Click Open with Wordpad
- Save file as .txt
- Right Click saved file and open with Note++
- Save as .bat
Setting Up the Folder Structure
I like the way WindowsGsm does the folders, you have one folder and inside of it a list of folders each being it’s own server, so I chose to duplicate. Once you start running a server, you pretty quickly add to it and before long you have a giant mess.
So my F drive, dedicated just to servers, is setup like this.
Now inside of the batch folder is a list of servers for each game.
Everything we are going to do will take place inside the Aska folder.
Getting the Batch File Ready
- Inside the Aska folder we are going to setup a new folder labeled steamcmd.
- Take the steamcmd file you downloaded earlier and drag it into this folder.
- We will also copy our batch file here. (should look exactly like the screenshot above.)
- Then we will right click and drag the batch file to the desktop and click create shortcut.
- Now go back to the batch file right click and edit with Note++
You need to edit lines,
- 4
- 6
- 8
- 10
- 16
- 20
- 25
Here is an explanation of what is going on in each step.
- 4 set SteamCMD_Dir=F:\Batch Servers\Aska\Steamcmd
The first Line tells the batch file where to look for the Steamcmd file, make sure this is where you copied the file to.
- 6 Set Server_Dir=F:\Batch Servers\Aska\Server
This tells the Batch file where the server files will be installed. You can make this whatever you want. Just make sure the path above matches exactly what you have setup. You do not have to create the folder after Icarus, just type it and it will be created for you.
- 8 Set Executable_Dir=F:\Batch Servers\Icarus\Server\Aska
This tells the batch file where to locate the IcarusServer-win64-shipping.exe file. This will need to be changed if you made any changes above.
- 10 Server_Executable=AskaServer.bat
This tells the server the name of the exectuable file it is looking for in step 8
- 16 Title server name
This sets the name you will see when your console window is open.
- 20 tasklist – at the end find “Batch Servers”
This is telling the batch file to look into the first folder on the drive that starts the path eventually leading to the server. If you changed your file structure from above you will need to modify this.
- 25 At the end +app_update 3246670
You will need to modify the +app_update number to be the correct number. (done for you in my file).
You will need to edit the SteamServerName=, this is also where you would add any other needed server configuration settings, like a password for example.
Configuration
After your server installs go into your aska/server folder and copy the AskaServer.bat file and the server properties.text file I pasted them up one level Under my Aska folder. (the same location that your batch file is located.)
It should look like the above.
Next, You will need to edit the AskaServer.Bat file to match your install. You should match the locations like you have already done above with your install folders.
Now you just need to edit your server properties.text file and change the server name and password at least. Feel free to look over the other settings and see what you might like to change.
NOTE:: Currently when you launch your server on a second machine, make sure you place steam in offline mode. Then launch your server, log into the “gaming machine” and you will find your server listed.
Open The Ports
- There are no ports to open at this time.
If you don’t know how to forward ports in your router, this page should have everything you need. It is normally easy to do once you have a general understanding of what you are trying to accomplish and if you have the username and password to the router. See how to open ports HERE for more help.
You can also host this game from GPortal, Paying for hosting has advantages and disadvantages, you can read about those HERE. IF you decide to use paid hosting, friends of the site get 10% off and it helps support me.