Skip to content

Script configuration

7thCore edited this page Feb 12, 2022 · 6 revisions

First time configuration

There's really not much to do with the first configuration of the script appart from a simple login and command execution

User login and script configuration

Login to the sesrv user, run the script and follow the instructions:

sesrv-script config_script

Manual configuration

These are the default values for the script configuration:

/srv/sesrv/config/sesrv-script.conf
script_bckp_delold=7
script_log_delold=7
script_log_game_delold=7
script_update_ignore_failed_startups=0
script_tmpfs_space=90

Wine prefix generation

To generate the wine prefix execute the following commands:

Xvfb :5 -screen 0 1024x768x16 &
env WINEARCH=win64 WINEDEBUG=-all WINEDLLOVERRIDES="mscoree=d" WINEPREFIX=/srv/sesrv/server wineboot --init /nogui
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/sesrv/server winetricks corefonts
env DISPLAY=:5.0 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/sesrv/server winetricks -q vcrun2013
env DISPLAY=:5.0 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/sesrv/server winetricks -q vcrun2017
env DISPLAY=:5.0 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/sesrv/server winetricks -q --force dotnet48
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/sesrv/server winetricks sound=disabled
pkill -f Xvfb

Clone this wiki locally