Best Site Ever

Fullscreen Syberia under Wine

Fullscreen Syberia under Wine

Permalink wine games syberia
#!/usr/bin/env sh

# Changing the resolution before the window has appeared will permanently
# cut off the bottom part.

echo Launching syberia...
wine /mnt/win/g/games/gog/Syberia/Syberia.exe

echo Waiting for the window to appear...
while ! wmctrl -F -a Syberia; do
	sleep 1s

echo Making the window fullscreen...
i3-msg fullscreen
set-screen-res 800x600

echo Waiting for wine to close...
wineserver -w

echo Restoring the resolution...

echo Done