Play Sonic Utopia Demo in a Docker container using Wine
287
Sonic Utopia is an experiment that not only tries to expand on Sonic gameplay in an intuitive way in 3D, but also aims to capture the best of Sonic's style and tie it together in a cohesive experience. Nearly everything in the demo, from art to sound to the gameplay engine, was made from scratch.
See the reveal trailer or forum post for more information.
Created for playing Sonic Utopia Demo in GNU/Linux distributions with Docker using Wine.
FROM yantis/wine:latest
WORKDIR "/home/docker"
RUN wget -O utopia.zip http://utopia.sonicfangameshq.com/Downloads/Sonic%20Utopia%20Demo%20v1.zip
RUN unzip utopia.zip && mv Sonic\ Utopia\ Demo\ v1.exe utopia.exe \
&& mv Sonic\ Utopia\ Demo\ v1_Data/ utopia_Data/ \
&& rm -r templates/ utopia.zip *.png
CMD ["sh", "-c", "winecfg && winetricks corefonts && wine utopia.exe"]
The game can be started simply with the following command: (X11/ALSA)
docker run \
--privileged \
--rm \
-ti \
-e DISPLAY \
-e LOCAL_USER_ID=`id -u $USER` \
-v $HOME/.Xauthority:/home/docker/.Xauthority \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v /dev/snd:/dev/snd \
-u docker \
--net=host \
orhunp/utopia
If you use PulseAudio sound server along with X11, try the following command instead:
docker run \
--privileged \
--rm \
-ti \
-e DISPLAY \
-e LOCAL_USER_ID=`id -u $USER` \
-v $HOME/.Xauthority:/home/docker/.Xauthority \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v /dev/shm:/dev/shm \
-v /etc/machine-id:/etc/machine-id \
-v /run/user/`id -u $USER`/pulse:/run/user/`id -u $USER`/pulse \
-v /var/lib/dbus:/var/lib/dbus \
-v ~/.pulse:/home/docker/.pulse \
-u docker \
--net=host \
orhunp/utopia
Content type
Image
Digest
Size
896.1 MB
Last updated
almost 7 years ago
docker pull orhunp/utopia