Gaming: Difference between revisions

From MalinWiKi
Jump to navigation Jump to search
Line 62: Line 62:
First, tell SteamCMD to use windows as the platform, as there's currently a Windows version of VRising Server currently:
First, tell SteamCMD to use windows as the platform, as there's currently a Windows version of VRising Server currently:


<pre>Steam>@sSteamCmdForcePlatformType windows</pre>
<pre>@sSteamCmdForcePlatformType windows</pre>


Optional: If you want to install the server to a specific directory in the /home/steam folder:
Optional: If you want to install the server to a specific directory in the /home/steam folder:


<pre>Steam>force_install_dir ./<name of folder></pre>
<pre>force_install_dir ./<name of folder></pre>


Proceed with the installation app_update and steamID
Proceed with the installation app_update and steamID


<pre>Steam> app_update 1829350</pre>
<pre>app_update 1829350</pre>


When the server software is finished with the installation, exit steamcmd with pressing ctrl + c
When the server software is finished with the installation, exit steamcmd with pressing ctrl + c

Revision as of 20:02, 17 June 2022

VRising dedicated headless server on Debian11 bullseye with WINE

Install Prerequisites

Add non-free and contrib to /etc/apt/sources.list after main

change line:

deb http://deb.debian.org/debian bullseye main

with

deb http://deb.debian.org/debian bullseye main non-free contrib

Add winehq repo for Debian

sudo echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/winehq.list

Download apt key

wget -nc https://dl.winehq.org/wine-builds/winehq.key

Add key

sudo apt-key add winehq.key
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install winehq-stable winetricks steamcmd:i386

create user steam

useradd steam -m -s /bin/bash

Make WINE headless

For this server to run, we need to make wine headless

source: source: https://superuser.com/questions/902175/run-wine-totally-headless

Install the allfonts winepackage as user steam with winetricks

login as user steam

su - steam
winetricks allfonts

Install VRising dedicated server

Run steamcmd to install the server software

steamcmd

you will now get a Steam> prompt In the Steam> prompt login as anonymous

login anonymous

First, tell SteamCMD to use windows as the platform, as there's currently a Windows version of VRising Server currently:

@sSteamCmdForcePlatformType windows

Optional: If you want to install the server to a specific directory in the /home/steam folder:

force_install_dir ./<name of folder>

Proceed with the installation app_update and steamID

app_update 1829350

When the server software is finished with the installation, exit steamcmd with pressing ctrl + c

To logout from steam user, press ctrl + d

Headless wine

we need to make wine headless for this to work without a gui setup headless wine

https://steamcommunity.com/sharedfiles/filedetails/?id=862024047