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 isrsrv user, run the script and follow the instructions:

isrsrv-script config_script

Manual configuration

These are the default values for the script configuration:

/srv/isrsrv/config/isrsrv-script.conf
script_bckp_delold=7
script_log_delold=7
script_log_game_delold=7
script_dump_game_delold=7
script_update_ignore_failed_startups=0
script_timeout_save=120
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/isrsrv/server wineboot --init /nogui
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/isrsrv/server winetricks corefonts
env DISPLAY=:5.0 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/isrsrv/server winetricks -q vcrun2012
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/isrsrv/server winetricks -q --force dotnet48
env WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/srv/isrsrv/server winetricks sound=disabled
pkill -f Xvfb

Clone this wiki locally