Skip to content

Script configuration

7thCore edited this page Feb 12, 2022 · 3 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 hlnsrv user, run the script and follow the instructions:

hlnsrv-script config_script

Manual configuration

These are the default values for the script configuration:

/srv/hlnsrv/config/hlnsrv-script.conf
script_tmpfs=0
script_bckp_delold=7
script_log_delold=7
script_save_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/hlnsrv/server wineboot --init /nogui
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/hlnsrv/server winetricks corefonts
env DISPLAY=:5.0 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/hlnsrv/server winetricks -q vcrun2015
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/hlnsrv/server winetricks -q --force dotnet48
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/hlnsrv/server winetricks sound=disabled
pkill -f Xvfb

Clone this wiki locally