Gaming: Difference between revisions

From MalinWiKi
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==VRising dedicated server Debian11==
=VRising dedicated server Debian11=
 
==Install Prerequisites==


Add non-free and contrib to /etc/apt/sources.list after main
Add non-free and contrib to /etc/apt/sources.list after main
Line 13: Line 15:
Add winehq repo for Debian
Add winehq repo for Debian


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


Download gpg-key
Download apt key


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


Add key
Add key


sudo apt-key add winehq.key  
<pre>sudo apt-key add winehq.key</pre>
 
<pre>sudo dpkg --add-architecture i386</pre>
 
<pre>sudo apt update</pre>


sudo dpkg --add-architecture i386
<pre>sudo apt install winehq-stable winetricks steamcmd:i386</pre>


sudo apt update
create user steam


sudo apt install winehq-stable winetricks steamcmd:i386
<pre>useradd steam -m -s /bin/bash</pre>


su - steam
Install the allfonts winepackage as user steam with winetricks


create user steam
login as user steam
 
<pre>su - steam</pre>
 
<pre>winetricks allfonts</pre>


useradd steam -m -s /bin/bash
==Install VRising dedicated server==


winetricks allfonts
Run steamcmd to install the server software


steamcmd
<pre>steamcmd</pre>


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


First, tell SteamCMD that you want the Windows version of VRising (the only version, currently):
<pre>login anonymous</pre>


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


If you want to install to a specific directory in the /home/steam folder:
<pre>Steam>@sSteamCmdForcePlatformType windows</pre>


Steam>force_install_dir ./<name of folder>
Optional: If you want to install the server to a specific directory in the /home/steam folder:


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


When the server software is installed, exit steamcmd ctrl + c
Proceed with the installation app_update and steamID


<pre>Steam> app_update 1829350</pre>


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
setup headless wine
setup headless wine
source: https://superuser.com/questions/902175/run-wine-totally-headless
source: https://superuser.com/questions/902175/run-wine-totally-headless
https://steamcommunity.com/sharedfiles/filedetails/?id=862024047
https://steamcommunity.com/sharedfiles/filedetails/?id=862024047

Revision as of 18:46, 17 June 2022

VRising dedicated server Debian11

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

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:

Steam>@sSteamCmdForcePlatformType windows

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

Steam>force_install_dir ./<name of folder>

Proceed with the installation app_update and steamID

Steam> 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 setup headless wine source: https://superuser.com/questions/902175/run-wine-totally-headless https://steamcommunity.com/sharedfiles/filedetails/?id=862024047