Insurgency: Sandstorm

Insurgency: Sandstorm

Not enough ratings
Sandstorm Admin Wrapper - Windows Install - Server 2016
By Robomikel
This is a guide on how to Install Sandstorm Admin Wrapper on Windows
   
Award
Favorite
Favorited
Unfavorite
Prerequisites
I tested the Install on a Fresh Windows Server 2016 OS.

-Ruby 2.6.+ to run SAW
https://rubyinstaller.org/downloads/

https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.3-1/rubyinstaller-devkit-2.6.3-1-x64.exe

https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.7-1/rubyinstaller-devkit-2.6.7-1-x64.exe

- For Sandstorm
Visual C++ 2015 Redistributable: https://www.microsoft.com/en-us/download/details.aspx?id=53587
Visual C++ 2017 Redistributable: https://aka.ms/vs/15/release/vc_redist.x64.exe

- I recommend using the dashboard with Google Chrome. I noticed Internet explorer would not pick up the clicks. Of Course.

- Download a .zip of SAW and Extract
https://github.com/Joe-Klauza/sandstorm-admin-wrapper


Install Ruby 2.6.7
Run the installer for rubyinstaller-devkit-2.6.7-1-x64.exe

Make sure to keep all the Default check boxes checked. It will need MYSYS2 Development Tool Chain. The end of the Install will prompt to run "ridk install". Leave it checked and click Finish.

It will launch another window to Install MSYS2.
Type "1" and press enter to do the Basic Install.

When it finishes.
Type "2" and press enter to do the MYSYS2 system update. It will run for a bit. When it finishes you can press enter to close. (might get a pacman error, just ignore :/)


Install Visual C++ 2015 and Visual C++ 2017
Run the installers for Visual C++ 2015 and Visual C++ 2017. I did the x64 for both.
Install Sandstorm Admin Wrapper
After you have Extracted the sandstorm-admin-wrapper-master.zip. Find the windows_start.bat and give it a couple clicks. Run the windows_start.bat.

It will install SAW and launch the SAW web server. When it finishes if successful it will output
2019-08-31 07:50:46 -0700 | INFO | Webserver initialized! Visit: https://127.0.0.1:51422

You can now open chrome and visit https://127.0.0.1:51422 log in with the admin as username and password as the password. It will prompt to change the password.

Install SteamCMD
SAW will default to the Steam Install Dashboard. When you click install button. It will take you to the steamcmd download page.

Download the Steamcmd zip
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip


Extract the zip. Place the contents into the installation directory
PathTo\sandstorm-admin-wrapper-master\sandstorm-admin-wrapper-master\steamcmd\installation

Now I manually run the steamcmd.exe once to update and close the window. (You may be able to refresh the SAW page and click server install, have not tried it yet.)


You should be able to refresh the SAW dashboard page and Steamcmd install will show installed.

You can now click Install for the server install.
Wait and let it run.

if the Output log looks like it runs then stops logging. It most likely still installing the server. Steamcmd is not perfect and sometimes does not log output for a few minutes.


----------------------------------------------------------------------------------------------------------------------------
NOTE: Do not leave the SAW page when installing/updating steamcmd or the server!!. If you leave the page during the install and go somewhere else in the SAW Dashboard it will stop and be broken. May error when you try to install again.

You will have to stop SAW server window.
Delete whats in
PathTo\sandstorm-admin-wrapper-master\sandstorm-admin-wrapper-master\sandstorm-server
and
PathTo\sandstorm-admin-wrapper-master\sandstorm-admin-wrapper-master\steamcmd\installation

Then copy a fresh copy steamcmd to the installation folder and run. then try to re-download Sandstorm.

Start the server windows_start.bat
-------------------------------------------------------------------------------------------------------------------------

Firewall and Port Forwarding
You will have to open the Ports you configured on the Firewall. If the server is on your LAN and behind a Router/Firewall. You will have to Forward Game and Query Ports to the IP of the server for other Players to connect. I recommend not forwarding or opening the Port 51422 for the dashboard.


If you are running this on a VPS and want to be able to access the Dashboard from anywhere.
Go to C:\Users\Administrator\Downloads\sandstorm-admin-wrapper-master\sandstorm-admin-wrapper-master\config

Edit config.toml with Notepad
find the line
admin_interface_bind_ip = "127.0.0.1"
and change to
admin_interface_bind_ip = "0.0.0.0"
save and close
restart the server

Open the port 51422 on the Firewall and connect to the Public IP of the server.
https://x.x.x.x:51422




Video
I did a re-install of Ruby. Some of the prompts I got, you will not see.
19 Comments
cubyblue 12 May, 2022 @ 2:54pm 
Thx ! Admin wrapper github is the very helpfull for ruby installation, so thx for your guide. Tested with Ruby+Devkit 2.6.10-1 (x64) on win2019 -> OK
Robomikel  [author] 8 May, 2021 @ 8:33am 
Robomikel  [author] 8 May, 2021 @ 7:39am 
Give me a moment. Let me test this guide again.
Eastwol 7 May, 2021 @ 12:33pm 
it just keeps saying "Failed to run Ruby Bundler" but i did everything.
I really don't understand why it's not working
|M|GHOST|Inc 11 Apr, 2020 @ 6:58pm 
OK, a key piece missing from the directions seems to be that you also go to rubygems.org and then unzip it into the ruby installation folder, and then open the start command prompt with ruby bat and then run the command gem-v, which showed 3.0.3 and then we ran gem update --system and it updated to gems to 3.1.2
|M|GHOST|Inc 11 Apr, 2020 @ 6:26pm 
Thanks, I'm on his page- I appreciate you trying to take his work and explain the install process, but it's either not clear enough for guys like me as a step by step or there is something missing (for me) that may be obvious to a dev... Any help in that regard is really appreciated!
Robomikel  [author] 11 Apr, 2020 @ 5:35pm 
This is the site:
https://github.com/Joe-Klauza/sandstorm-admin-wrapper

The issues tab:
https://github.com/Joe-Klauza/sandstorm-admin-wrapper/issues

You may have to create a github account in order to submit an issue
|M|GHOST|Inc 11 Apr, 2020 @ 4:42pm 
We couldn’t find any repositories matching 'Joe Klauza' - github.com
|M|GHOST|Inc 11 Apr, 2020 @ 4:10pm 
Yes to all of that- the MSYS2 reports both 1,2 are installed and green.
How would I reach Joe (remember- non programmer here).
Robomikel  [author] 11 Apr, 2020 @ 4:05pm 
During the Ruby install it will prompt for MSYS2 install, You want to make sure to install it before running the .bat