Tuesday, June 24, 2014

Howto: Play RollerCoaster Tycoon 1 & 2 on wine

My current computing setup does not allow me to easily change resolution or depth on my display. Therefore, I was in quite a lot of trouble when I wanted to play RollerCoaster Tycoon.

When doing wine Rct2.exe I would get a solid black screen with the audio playing fine. My fix to this problem is installing the Xephyr server.

I'm on ArchLinux so packagenames and packagemanager commands may be specific.

First, install Xephyr and Wine (and whatever else you need)
 $ sudo pacman -S xorg-server-xephyr wine

The original installer works fine in wine, so just install the game.
 $ cd /path/to/rollercoasterdisc
 $ wine Setup.exe

Now to the "tricky" part, you need two terminals, in the first one, start Xephyr:
$ Xephyr :1 -ac -screen 1280x1024x16
A black window appears, you're now running another X-Server in 16 bpp mode on display :1.

On the other terminal, go to wherever you installed RCT1 or 2
 $ cd .wine/drive_c/blabha/RollerCoasterTycoon2/
Defining the DISPLAY variable will tell wine to start on screen :1 instead of :0.
 $ DISPLAY=:1 wine ./Rct2.exe

Woho!
An interesting note is that I tried starting Xephyr in 8 bpp mode, but then I'd get the same black screen as with the standard method, don't ask.

RollerCoaster Tycoon 2 on Wine on Xephyr on ArchLinux

blog comments powered by Disqus