Check out our discord at https://discord.gg/3u69jMa 

Run Server on Linux

From SWRC Wiki
Jump to navigation Jump to search

Note: This guide requires Create Basic Server (Windows) to be used and setup on the linux machine. If it hasn't been done yet, do it now!

Requirements

  • Linux machine capable of running wine (No GUI required)
  • Game files on host system (GameData folder)
  • Republic Commando UCC

Setup

  • Install wine (32 Bit) on your linux machine accordingly to the instructions
  • Install screen
  • Upload game files to linux machine (GameData folder)
  • Create a bash script inside GameData/System to start server: screen -d -m -S swrc wine UCC.exe Engine.ServerCommandlet

Execute the bash script and server will run on screen process and will be detached from your terminal.

Switching to server console

  • To look up current screen sessions: screen -ls
  • To switch to the desired screen window: screen -r <name>
  • To detach from screen window, press ctrl + A and ctrl + D.