WineHQ

King of Dragon Pass

King of Dragon Pass 1.7 (518)

Application Details:

Version: 1.7
License: Retail
URL: http://a-sharp.com/kodp/
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 1.0.1

Maintainers: About Maintainership

Free Download King of Dragon Pass 1.7 update

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

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.

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.

Workarounds

What was not tested

Game was not played to completion.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

See test for version 1.3 for installation notes. Update to 1.7: As directed, unzip "scenes.dat" to "Opal/" and "Opal.r32" to "mt/mPlugins/", overwriting the files there.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowDebian GNU/Linux 5.x "Lenny"Jun 05 20101.0.1N/A Yes SilverLarry Lade 
ShowGentoo Linux x86_64Sep 02 20081.1.3Yes Yes BronzeBen Leggett 
CurrentDebian GNU/Linux Unstable "Sid"Apr 04 20070.9.31.N/A Yes GoldLarry Lade 

Known Bugs

Bug # Description Status Resolution Other apps affected
36901 king of dragon pass shows window chrome elements: a menu bar and scroll bars NEW View
38183 King of Dragon Pass crashes when loading a saved game NEW View

Show all bugs

HowTo / Notes

My .asoundrc

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.­

pcm.AurealVortexau8830_0_asym{
    type asym
    playback.pcm AurealVortexau8830_0_dmix
    capture.pcm AurealVortexau8830_0_dsnoop
}

pcm.AurealVortexau8830_0_dmix {
    type dmix
    ipc_key 1190
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192
    }
    bindings {
        0 0
        1 1
    }
}

pcm.AurealVortexau8830_0_dsnoop {
    type dsnoop
    ipc_key 1170
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192
    }
    bindings {
        0 0
        1 1
    }
}

pcm.AurealVortexau8830_0_surround {
    type plug
    route_policy S16_LE
    slave {
        pcm AurealVortexau8830_0
        channels 2
    }
}

pcm.AurealVortexau8830_0 {
    type plug
    slave {
        pcm "hw:0,0"
    }
}

pcm.dsp0 {
    type plug
    slave.pcm AurealVortexau8830_0_asym
}

ctl.mixer0 {
    type hw
    card 0
}

pcm.!default {
    type plug
    slave {
        pcm AurealVortexau8830_0_asym
    }
}

­
HOWTO get Wine to deal with an ISO image.

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
total 0
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.


HOWTO: Script to scale using Xephyr and VNC

Scaling using Xephyr and VNC
by Peter Berry on Monday September 29th 2014, 20:26


#!/bin/bash

# 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
# variables.

# Log files. If you want to actually record logs (e.g. for debugging purposes),
# replace them here.
if [ "x$XEPHYR_LOG" == "x" ]; then
XEPHYR_LOG=/dev/null
fi
if [ "x$CLIENT_LOG" == "x" ]; then
CLIENT_LOG=/dev/null
fi
if [ "x$X11VNC_LOG" == "x" ]; then
X11VNC_LOG=/dev/null
fi
if [ "x$SSVNCVIEWER_LOG" == "x" ]; then
SSVNCVIEWER_LOG=/dev/null
fi

# The client to run
if [ $# -le 1 ]; then
echo "Usage: $0 [client]"
exit 1
fi

# Options.
if [ "x$REALRES" == "x" ]; then
# viewer adds scroll bars, so make it bigger than 640x480
REALRES=670x510
fi
if [ "x$SCALE" == "x" ]; then
SCALE=2
fi

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."
read
ssvncviewer localhost >> $SSVNCVIEWER_LOG 2>&1

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

cannot launch the game...
by Jaber on Sunday February 21st 2010, 6:30
Hi,

I can't launch the game (using wine 1.1.38), I've got the message :
The file was built for an incompatible platform and connot be opend with this version of the application


And launching in a shell :
/.wine/drive_c/Program Files/A Sharp/King of Dragon Pass$ wine KoDP.exe
fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)

I have tryied to upgrade the game to version 1.7 and result is the same !

How can I make the game run ?

Thanks
RE: cannot launch the game...
by Jaber on Sunday February 21st 2010, 8:06
Commenting my comment...

it seem to come from "mtropolis windows player" which seem to be an embedded media player... if there is a work around it will be good !
RE: cannot launch the game...
by Larry Lade on Saturday June 5th 2010, 19:48
That's rather strange. The executable should launch the internally-used data player automatically.

Did you run winecfg first to set up the basic Wine things?

What happens if you try running the game directly from the CD? (wine "d:\kotp.exe", with d being the a CD-ROM drive you have configured for Wine.)

What version of Windows is Wine configured to behave as?

Have you tried it with the stable, non-development (1.01) version of Wine?
Back