I am using LXC container to "virtualize" and isolate 32-bit installation with latest packages (Debian Sid).
- Code: Select all
lxc-create -n lif -t download -- -d debian -r sid -a i386
lxc-start -nlif
lxc-attach -nlif
Do preparations as root in the attached container
- Code: Select all
apt-get install wine wget xvfb libpng12-0 mysql-server-5.6
# set the root password and save it for later use
useradd -m -d /home/lif -s /bin/bash lif
And then we continue as non-root user
- Code: Select all
su - lif
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
# rm -rf .wine
xvfb-run ./winetricks -q vcrun2015
wget "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz"
tar -xzvf steamcmd_linux.tar.gz
./steamcmd.sh +@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir lif +app_update 320850 validate +quit
cp lif/docs/default_world_config.xml lif/config/world_1.xml
cp lif/docs/config_local.cs lif/
# Edit db password in lif/config_local.cs
Requires X to run properly, so we use Xvfb
- Code: Select all
xvfb-run wine lif/ddctd_cm_yo_server.exe "-worldID 1"