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"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* Game files on host system (GameData folder) | * Game files on host system (GameData folder) | ||
* Republic Commando UCC app | * Republic Commando UCC app | ||
==Setup== | ==Setup== | ||
* Install wine on your linux machine accordingly to instructions | |||
* Install screen application | |||
* Upload game files to linux machine (GameData folder) | |||
* Download [[Republic Commando UCC]] and put it into GameData/System folder | |||
* Create a shell script to start server: | |||
<pre> | <pre> | ||
screen - | screen -d -m -S swrc wine UCC.exe Engine.ServerCommandlet | ||
</pre> | </pre> | ||
* Server will run now on screen process and will be detached from your terminal | |||
*screen | |||
==Using screen== | |||
To look up all running screen sessions, use: | |||
<pre> | <pre> | ||
screen -r | |||
</pre> | </pre> | ||
To switch into a screen session, use: | |||
<pre> | |||
screen -r <screen name> | |||
</pre> | |||
To detach screen from terminal, press ctrl + A and ctrl + D | |||
==Master Server Query== | ==Master Server Query== | ||
Install multiplayer browser fix from [[Useful Stuff for Client]] or add following IP redirects to your linux machine hosts file: | |||
<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)
- Download Republic Commando UCC and put it into GameData/System folder
- Create a shell script 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