Installs properly. Sound (with OSS driver, see below) is perfect. Graphics display correctly, with no font problems. Game seems to play perfectly. Loading and saving of games works correctly. Working desktop shortcut and Kicker menu entry created in KDE.
What does not
ALSA sound does not work. (Probably a WINE bug.) Switching to OSS sound driver produces perfect sound.
Application runs with horizontal and vertical scrollbars, as though it is trying to grab a window about 10 pixels wider and taller than the actual screen resolution. Since the game's graphics ordinarily run with a large black border anyway, this does not impair gameplay.
I had to manually delete a redundant .lnk file on the desktop.
What was not tested
Game was not played to completion. Installed update after testing basic functionality.
This is a fresh install of wine, no other apps, DLLs, anything installed. I did run winecfg first to set up sound and dosdevices. To install and get the app to detect the CD-ROM, be certain that your CD-ROM device is set up correcting in .wine/dosdevices/, and invoke the setup from that device. For example, "wine d:\\SETUP.EXE" If you run the installer from its place in your filesystem ("/media/cdrom0/SETUP.EXE"), the app will not be able to find the CD-ROM when you run it. During one test install, I received a "Bad EXE format for" error. Unmounting and remounting the CD-ROM eliminated this error.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Debian GNU/Linux 5.x "Lenny"||Jun 05 2010||1.0.1||Yes||Yes||Silver||Larry Lade|
|Current||Debian GNU/Linux Unstable "Sid"||Apr 04 2007||0.9.31.||Yes||Yes||Gold||Larry Lade|
Here's the .asoundrc file I'm using which allows WinÂe to correctly produce sound on ALSA. ÂThis will, obviously, be different on your sound hardware. You may want to refer to the ALSA Wiki if you need information about this.Â
winecfg isn't quite smart enough to configure an ISO image of a CD-ROM correctly. It attempts to use the block device the .iso is located on, instead of the .iso directly. However, wine can be coaxed accessing the virtual "hardware" directly, which should work with most forms of copy protection.
Check which drives are currently configured with wine:
$ cd ~/.wine/dosdevices
$ ls -l
lrwxrwxrwx 1 lade lade 10 2010-05-28 22:36 c: -> ../drive_c
lrwxrwxrwx 1 lade lade 13 2010-06-05 17:34 d: -> /home/lade/kodp.iso
lrwxrwxrwx 1 lade lade 8 2010-06-05 17:34 d:: -> /dev/sda
Remove any old links you don't want.
$ rm "d:" "d::"
Mount your iso image.
$ mkdir /media/iso
$ mount -t iso9660 -o loop ~/kodp.iso /media/iso
Create a symlink for file-level access in Wine.
$ ln -s /media/iso "d:"
And here's the magic... create the symlink for device access by pointing directly to the iso image.
$ ln -s ~/kodp.iso "d::"
If you look at this drive in winecfg now, it should correctly detect the volume name and serial number of your CD image.
This should allow you to run King of Dragon Pass (or any other copy-protected application) on a netbook or other device without the original CD-ROM present.
Scaling using Xephyr and VNC
by Peter Berry on Monday September 29th 2014, 20:26
# Run a program in an embedded X server and open a scaled VNC session on it.
# For example:
# scale playonlinux --run "King of Dragon Pass"
# You can change various options here, or pass them in as environment
# Log files. If you want to actually record logs (e.g. for debugging purposes),
# replace them here.
if [ "x$XEPHYR_LOG" == "x" ]; then
if [ "x$CLIENT_LOG" == "x" ]; then
if [ "x$X11VNC_LOG" == "x" ]; then
if [ "x$SSVNCVIEWER_LOG" == "x" ]; then
# The client to run
if [ $# -le 1 ]; then
echo "Usage: $0 [client]"
if [ "x$REALRES" == "x" ]; then
# viewer adds scroll bars, so make it bigger than 640x480
if [ "x$SCALE" == "x" ]; then
echo "Running Xephyr. A window will appear - you can minimise it."
Xephyr -once -screen $REALRES -extension GLX :5 >> $XEPHYR_LOG 2>&1 &
echo "Running X client."
DISPLAY=:5 "$@" >> $CLIENT_LOG 2>&1 &
echo "Running VNC server."
x11vnc -localhost -scale $SCALE:nb -display :5 -o $X11VNC_LOG 2>&1 &
echo "Press enter to run VNC client."
ssvncviewer localhost >> $SSVNCVIEWER_LOG 2>&1