Basic Getting Started Guide

From Torch Wiki
Jump to: navigation, search

This is a basic guide, and is by no means the best way to setup Torch or Space Engineers. This will get you up and running in a few minutes and give you a place to start. Especially if you have never ran a SE or other server before. Please excuse any spelling/grammar issues.

Getting Started

So its your first time setting up a Torch based Space Engineers server or even just a regular Space Engineers server. Maybe its been a while and you want to refresh your memory. This is the guide to use.

This guide will consider the following items out of scope and will not be covered in detail:

  • Torch Plugin Details and Specifics
  • Space Engineers Mod Details and Specifics
  • Firewall NATing and Rules (Do a Google search for your router/modem/gateway and "port forwarding" to get an exact guide)
  • Torch Headless, this guide assumes you have console access to the server.
  • Windows Server/Desktop permissions. As long as your an admin on your box you should be good to go.

Downloading and Installing Torch

Choose where you want your server install to be located. For the constancy of this guide we will use C:\SEServer, feel free to substitute this with your own path. Where ever you choose to install the server plan on have at least 10GB of free space for Torch, Space Engineers, Mods, Plugins, and backups.

At time of writing (13 August 2019), there are two dependencies of Torch, DotNet and Microsoft Visual C++ Redistribuatable Packages. Some operating systems include a version of DotNet that is enough to run Torch (e.g. Windows 10), if you have an older operating system you will need to download below, (it won't hurt either way).


  1. Install dependency 1: Microsoft Dotnet: https://dotnet.microsoft.com/download/dotnet-framework/net48
  2. Install dependency 2: Microsoft vcredist_x64 https://www.microsoft.com/en-us/download/details.aspx?id=40784
  3. Open a browser and head on over to https://torchapi.net
  4. On the home page there will be a link to Download Torch, please click it. Then click Download Latest Version and save the file.
  5. Using WinZip, 7-Zip, WinRar, Windows, etc open the ZIP and extract all the files to C:\SEServer
  6. Once everything is unzip launch C:\SEServer\Torch.Server.exe
    • This will proceed to use SteamCMD to download Space Engineers Server. Depending on your internet this make take some time.
    • Steam client does not have to be installed on the server, through the use of SteamCMD Torch can download and update Space Engineers Server with out using your Steam login or needing a key. Server's are not licensed, only the client is.
  7. While Torch is downloading Space Engineers Server you will most likely get a popup titled Windows Defender Firewall has blocked some features of this app. Either check all the boxes, or if you know how the computer see the network check the appropriate box and then Allow access
  8. Once Torch has finished downloading Space Engineers Server the GUI management interface will launch.
  9. Torch is now installed.

Configuring your First Server

  1. The last section left off with Torch open, if you closed it please run C:\SEServer\Torch.Server.exe

  2. In the Torch window please click on the Configuration tab.

  3. On the Configuration tab you will be presented with a number of options. I'm going to break this into 3 sections:

    • Top World row
    • Left Pane
    • Right Pane
  4. Lets start with the World Row.

  5. Using an existing save.

    • The next few steps show you how to copy a personal world savegame from your local space engineers machine, to your SE Server. If you have another savegame saved somewhere already, copy it following on from step 3. If you would like to create a new world, please skip down to step 6 titled Creating a New World.
    1. On your computer open a file explorer and enter %AppData%\SpaceEngineers\Saves into the URL/Directory field.
    2. You will most likely have only one folder showing. The folder's name is your SteamID. Double click on it. If multiple people play Space Engineers on your computer under the same User, but different Steam accounts, you will have more than one folder.
    3. Inside this folder will be a folder for each save you have in Space Engineers. Copy the folder of the world you want to copy to your server and save it at C:\SEServer\Instance\Saves\*
    4. Proceed to close Torch and then re-open it (C:\SEServer\Torch.Server.exe)
    5. Once again select the Configuration tab
    6. Now next to World: it will probably have the name of your world. If it does not, select your world from the drop down. You will also see that it has filed out a number of items in both the left and right panes bellow.
    7. You can skip step 6 titled Creating a New World and start on step 7 titled Next is the Left Pane...
  6. Creating a New World

    1. Click New World
    2. This should have opened a new window titled WorldGeneratorDialog. The options in here are going to be nearly the same as the options you would have when creating a new world directly inside of Space Engineers.
    3. Select your starting Scenario. For the guide I selected Star System, but feel free to select something else.
    4. Name your world on the World Name: line. Remember this is the title that will show up as the left most column in the server list in-game.
    5. Please refer to Space Engineers Wiki for what all the options mean.
    6. Click Create World
  7. Next is the Left Pane. Bellow are all the fields and what they do:
    • Server Name: This is the right field name in the server browser list of the game. This is needed.
    • World Name: This is the left field name in the server browser list of the game. This is needed.
    • Server Description: Players see this when they view the details of your server.
    • Whitelist Group ID: This allows you to Whitelist a steam group to only allow those players to access your server.
    • Server IP: Unless you have multiple IP's on your server, you can leave this at 0.0.0.0. You could also set this to the LAN IP of your server. But if your servers IP ever changes then you will need to update this field.
    • Port: The default port is 27016. There is not really a reason to change this unless you are running multiple servers, or some other game/app is already using this port.
    • Server Password: All players will have to enter this every time the join.
    • Pause When Empty: This will pause all simulations on the server when no one's online. Assemblers and Refineries will make no progress. This will save your computer from having to simulate the world while no one uses it.
      • Side note, if you plan to use the Essential's plugin any auto run scripts will fail to run if the server is in a pause state as of this writing.
    • Auto Detect Dependencies: I believe this will cause Torch to download any dependence mods for the ones you select. I leave it checked.
    • Mods: This is where you add your mods via ID. This is getting moved into its own tab very soon.
    • Administrators: List of player SteamID's. Anyone in this list can use Space Master inside of the game. Generally a good idea to add your self to this list.
    • Reserved Players: List of player SteamID's.
    • Banned Players: List of player SteamID's.
  8. Click Save Config

  9. Last is the Right Pane.

    • These are the same settings from when you used the world generator. If you want to change any of the settings you can change them here.
    • Please refer to Space Engineers Wiki for what all the options mean.
  10. Click Save Config

  11. At this point you should be able to click Start and Torch will download your mods and start your server. You will need to open ports in your firewall for 27016, or if you change the port, the number you switched too. No other ports are need for solely gameplay.

Advanced Torch Config

  1. Close Torch
  2. Open C:\SEServer\Torch.cfg with Notepad or your preferred editor
  3. Inside the config file are a number options which are explained bellow:
    • InstanceName: This will name the Torch window and the instance. This is helpful if running multiple servers.
    • InstancePath: The location with Torch save the game. I recommend leaving this the default. If you ever want to move all of Torch and Space Engineers, you will need to update this path.
    • AutoStart: Tells Torch to start the server as soon as the GUI opens.
    • RestartOnCrash: If SE crashes, Torch will start it back up.
    • NoGUI: Hides the GUI. Advanced setting for headless servers.
    • GetTorchUpdates: Once fixed will allow Torch to update it self when it starts.
    • GetPluginUpdates: Once fixed will allow Torch Plugins to update when Torch starts.
  4. Save your changes and you can start Torch again.

Auto Starting and Recovering Server

If you want the server to start with Windows and always run follow this.

  1. Follow the Advanced Torch Config section and set the following items to true:
    • AutoStart
    • RestartOnCrash
  2. Open a folder to %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
  3. Create a Shortcut to C:\SEServer\Torch.Server.exe in this Startup folder.
  4. Set Windows to auto-login or remove your password.
    • Note there are security concerns by taking this action. There are more complicated ways to have the server auto start that don't leave your computer unlocked, but they are not covered in this guide.
  5. Done

Updating Torch

  1. Open a browser and head on over to https://torchapi.net
  2. On the home page there will be a link to Download Torch, please click it. Then click Download Latest Version and save the file.
  3. Using WinZip, 7-Zip, WinRar, Windows, etc open the ZIP and extract all the files to C:\SEServer. Say Yes to all overwrites. You will no lose your world or save.
  4. Once everything is unzip launch C:\SEServer\Torch.Server.exe
  5. Torch is now updated.

Updating Space Engineers Server

  1. Close Torch
  2. Launch Torch (C:\SEServer\Torch.Server.exe)
  3. Space Engineers and all your mods are now updated.