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

Run Server on Linux: Difference between revisions

From SWRC Wiki
Jump to navigation Jump to search
Created page with "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"
 
No edit summary
 
Line 6: Line 6:
* Game files on host system (GameData folder)
* Game files on host system (GameData folder)
* [[Republic Commando UCC]]
* [[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: <code>screen -d -m -S swrc wine UCC.exe Engine.ServerCommandlet</code>
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: <code>screen -ls</code>
* To switch to the desired screen window: <code>screen -r <name></code>
* To detach from screen window, press ctrl + A and ctrl + D.

Latest revision as of 20:05, 22 May 2024

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.