If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Difference between revisions of "Run a server on Linux with UCC"

From SWRC Wiki
Jump to navigation Jump to search
Line 18: Line 18:
* Download [[Republic Commando UCC]] and put it into GameData/System folder
* Download [[Republic Commando UCC]] and put it into GameData/System folder


* Create a shell script to start server:
* Create a bash script inside GameData/System to start server:


<pre>
<pre>

Revision as of 09:24, 14 May 2021

Basic Configuration

First of all, you need all the configuration done, so head over to Setting up a Server.

Requirements

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

Setup

  • Install wine on your linux machine accordingly to instructions
  • Install screen application
  • 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
  • Server will run now on screen process and will be detached from your terminal

Using screen

To look up all running screen sessions, use:

screen -r

To switch into a screen session, use:

screen -r <screen name>

To detach screen from terminal, press ctrl + A and ctrl + D

Master Server Query

Install multiplayer browser fix from Useful Stuff for Client or add following IP redirects to your linux machine hosts file:

65.112.87.186 swrcommando.ms1.gamespy.com #SWRC MasterServer
65.112.87.186 swrcommando.ms2.gamespy.com #SWRC MasterServer
65.112.87.186 swrcommando.ms3.gamespy.com #SWRC MasterServer
65.112.87.186 swrcommando.available.gamespy.com #SWRC MasterServer
65.112.87.186 swrcommando.master.gamespy.com #SWRC MasterServer