Dungeon Keeper 2 > Won't run after installing the game

Questions about Wine on Linux
Locked
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi there guys.

I have a real urge to play some Dungoen Keeper 2.
And I was hoping that you could shed some light on the issues that seem to
prevent it from running.

I have the orignal game (with a slightly updated patch).

Issue:
The game won't even run.
(See error messages in code box below).

Question:What do I need to do, in order to get DK2 running and working
properly ?

History:
1. I orignally had Wine (version 1.6.2 and 1.9.6) installed as part of the
Ubutntu 16.04 base distro.

2. I have installed/uninstalled DK2 a couple of times to see if this helped

3. I have left DK2 game installed, as I then install the new version of wine
(version 2.0.1) onto my system.
(After a full purge of all previous version of wine).


Details =
OS:Ubuntu 16.04 (LTS)
Kernel:4.4.0-77-generic
DE:KDE Version 5.5.5
CPU:Intel Core 2 Quad Q8200 (2.33GHz)
RAM:8 GB
GFX:Integrated Intel G45/G43 Express Chipset


Here is the error message from the dialogue box output:

Code: Select all

0x00409871: int	$3
Modules:
Module	Address			Debug info	Name (49 modules)
PE	  400000-  444000	Export          dkii
ELF	7b400000-7b7e0000	Deferred        kernel32<elf>
  \-PE	7b410000-7b7e0000	\               kernel32
ELF	7bc00000-7bcf6000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcf6000	\               ntdll
ELF	7c000000-7c004000	Deferred        <wine-loader>
ELF	7e536000-7e53d000	Deferred        libxfixes.so.3
ELF	7e53d000-7e548000	Deferred        libxcursor.so.1
ELF	7e548000-7e55b000	Deferred        libxi.so.6
ELF	7e55b000-7e55f000	Deferred        libxcomposite.so.1
ELF	7e55f000-7e56c000	Deferred        libxrandr.so.2
ELF	7e56c000-7e578000	Deferred        libxrender.so.1
ELF	7e578000-7e57f000	Deferred        libxxf86vm.so.1
ELF	7e57f000-7e583000	Deferred        libxinerama.so.1
ELF	7e583000-7e58a000	Deferred        libxdmcp.so.6
ELF	7e58a000-7e58e000	Deferred        libxau.so.6
ELF	7e58e000-7e5b4000	Deferred        libxcb.so.1
ELF	7e5b4000-7e6ff000	Deferred        libx11.so.6
ELF	7e6ff000-7e714000	Deferred        libxext.so.6
ELF	7e73d000-7e7ca000	Deferred        winex11<elf>
  \-PE	7e750000-7e7ca000	\               winex11
ELF	7e7ca000-7e7ee000	Deferred        imm32<elf>
  \-PE	7e7d0000-7e7ee000	\               imm32
ELF	7e870000-7e89a000	Deferred        libexpat.so.1
ELF	7e89a000-7e8e3000	Deferred        libfontconfig.so.1
ELF	7e8e3000-7e90e000	Deferred        libpng12.so.0
ELF	7e90e000-7e929000	Deferred        libz.so.1
ELF	7e929000-7e9d9000	Deferred        libfreetype.so.6
ELF	7e9d9000-7e9fc000	Deferred        libtinfo.so.5
ELF	7e9fc000-7ea22000	Deferred        libncurses.so.5
ELF	7ea4b000-7eac2000	Deferred        advapi32<elf>
  \-PE	7ea60000-7eac2000	\               advapi32
ELF	7eac2000-7ebf2000	Deferred        gdi32<elf>
  \-PE	7ead0000-7ebf2000	\               gdi32
ELF	7ebf2000-7ed47000	Deferred        user32<elf>
  \-PE	7ec00000-7ed47000	\               user32
ELF	7ef47000-7ef5a000	Deferred        libnss_files.so.2
ELF	7ef5a000-7ef67000	Deferred        libnss_nis.so.2
ELF	7ef67000-7ef82000	Deferred        libnsl.so.1
ELF	7ef82000-7efd7000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73fb000-f7400000	Deferred        libdl.so.2
ELF	f7400000-f75b6000	Deferred        libc.so.6
ELF	f75b7000-f75d4000	Deferred        libpthread.so.0
ELF	f75f3000-f75fd000	Deferred        libnss_compat.so.2
ELF	f75fd000-f77b4000	Dwarf           libwine.so.1
ELF	f77b6000-f77db000	Deferred        ld-linux.so.2
ELF	f77dd000-f77de000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Bullfrog\Dungeon Keeper 2\DKII.exe
	00000009    0 <==
0000000e services.exe
	00000020    0
	0000001f    0
	00000017    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001e    0
	0000001b    0
	0000001a    0
	00000019    0
	00000018    0
	00000013    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000024    0
System information:
    Wine build: wine-2.0.1
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-77-generic

TIA for any help or advice.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

@ Noob_Computa_Ninja

See WineHQ AppDB: Dungeon Keeper 2 ...

I'd recommend testing in clean 32-bit WINEPREFIX - see WineHQ FAQ: 6.5.3 How do I create a 32 bit wineprefix on a 64 bit system?

Plus set that WINEPREFIX to Windows XP:

Code: Select all

winetricks winxp
Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi there Bob Wya

I thought I'd go the whole hog and start from scratch. With a nice clean slate to work
from.

I've done the following -
1. Uninstalled DK2
2. Uninstalled and purged wine 2.0.1
3. Reinstalled wine 2.0.1

I am about to create the 32-bit wine prefix, but I was a little bit confused as where
to place/install this.

The default setup for wine looks like this -
/home/[my username]/Desktop/Home/.wine/

Would it be possible/(wise) to install the 32-bit wine prefix, here too
or create a new dir to place it in ?

I was thinking of creating a new dir called "x32-bit" and then using the following set-up
/home/[my username]/Desktop/Home/.wine/x32-bit

to place the new 32-bit wine prefix within it.


Thanks very much for the help so far.
It's very much appreciated.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Noob_Computa_Ninja wrote:Hi there Bob Wya

I thought I'd go the whole hog and start from scratch. With a nice clean slate to work
from.

I am about to create the 32-bit wine prefix, but I was a little bit confused as where
to place/install this.

The default setup for wine looks like this -
/home/[my username]/Desktop/Home/.wine/

Would it be possible/(wise) to install the 32-bit wine prefix, here too
or create a new dir to place it in ?

I was thinking of creating a new dir called "x32-bit" and then using the following set-up
/home/[my username]/Desktop/Home/.wine/x32-bit

to place the new 32-bit wine prefix within it.


Thanks very much for the help so far.
It's very much appreciated.
When you don't have the WINEPREFIX variable set - Wine will default to using the directory:

Code: Select all

"${HOME}/.wine" # aka ~/.wine
A WINEPREFIX can be thought of as the virtual root C:\ drive for that independent instance of Wine.
Like a separate Windows installation.

You wouldn't want to nest WINEPREFIX's. It would lead to "issues" - like installing Windows inside Windows!
Each WINEPREFIX should be read/writable by the Linux user you are using to run Wine (not root!!)

A common 32-bit WINEPREFIX is:

Code: Select all

export WINEPREFIX=~/.wine32
export WINEARCH=win32
wineboot -u
which creates a 32-bit WINEPREFIX @ ~/.wine32 = "${HOME}/.wine32".

Personally I've got all WINEPREFIX's in a big directory on a separate partition. The partition can be formatted with a choice from most modern Linux-supported file-systems...
Certainly I know that NTFS-3g, Exfat, and Ext2-4 work well with Wine. Probably BTRFS and ZFS will also work.

I try to keep to a single application per WINEPREFIX (which is what is recommended).
I choose to name each WINEPREFIX after the application it contains - with a suffix of 32 or 64 to remind me what architecture it is...
Then I don't get lost when I have some ~100 WINEPREFIX's off a single directory!!

The way I learnt to use Wine was just playing about - trying to create a WINEPREFIX, install some stuff, poke about in the file structure (in the WINEPREFIX) and then remove the WINEPREFIX.

If you store all your applications in separate WINEPREFIX's then when you break one WINEPREFIX - your other WINEPREFIX's will continue to work!

I believe that the root directory of the WINEPREFIX previously had to be non-existent (only the parent directories could exist). The process of setting up the WINEPREFIX would both create the final WINEPREFIX directory and populate it with fake dll's and text-based registry files.

I believe now Wine lets you create a WINEPREFIX in an empty directory that already exists.

Sorry a bit waffly - it would be a lot easier to explain these concepts with pictures! 8)
Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

I took your advice and have created a new 32 bit WINEPREFIX
in the following location -
/home/[my user name]/Desktop/Home/.wine/wine_32_bit/

However whenever I try to reinstall DK2 I experience the same issue as before
namely -

The game will install, but it seems to place itself in the default (64-bit)
WINEPREFIX.

I have tried numerous different ways to force wine to use the 32-bit
WINEPREFIX.

If I set the the 32-bit WINEPREFIX using the command that you specified
I will get a new wine config GUI (that shows all versions of Windows)
and the 32-bit ones in particular.

At the wine config GUI I see the following -

Add application > Navigate to the CD ROM drive >
(It will let me select the DK2.exe or the Autorun.exe but that's it).

wine won't run or start the application.

If I navigate the CD-ROM drive from KDE, the Autorun.exe will launch.
The game will install, but I'm back to square one, as the game seems to
default to the original 64-bit wine installation.
Where the game will fail to launch.

What am I doing wrong here ?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Noob_Computa_Ninja wrote:I took your advice and have created a new 32 bit WINEPREFIX
in the following location -

Code: Select all

/home/[my user name]/Desktop/Home/.wine/wine_32_bit/
...

What am I doing wrong here ?
Would you try and install Windows inside an existing Windows installation? Hint: probably not!!
So in corollary you can't create a WINEPREFIX within an existing WINEPREFIX.

You need to do something like winetricks does and use a directory purely as a container for a number of WINEPREFIX's:

Code: Select all

mkdir -p "${HOME}/.local/share/wineprefixes/" # make container directory
export WINEPREFIX="${HOME}/.local/share/wineprefixes/dungeon_keeper_2"
export WINEARCH=win32
wineboot -u # create WINEPREFIX immediately below container directory
Every time you want to run Dungeon Keeper 2 or configure something in that new WINEPREFIX you need to ensure that:

Code: Select all

export WINEPREFIX="${HOME}/.local/share/wineprefixes/dungeon_keeper_2"
is still active.
You can check this with:

Code: Select all

env | grep WINE
which will show you currently active Wine environment variables in your shell.

If your CD-ROM installation disc is mapped to drive D: (check with winecfg).
You can dump the contents with:

Code: Select all

ls "${WINEPREFIX}/dosdevices/d:/"
(change the drive letter as appropriate)

To run the installer you can then run it directly from the terminal, as in:

Code: Select all

wine start "D:\Autorun.exe"
or

Code: Select all

wine start "D:\DK2.exe"
This will typically spit out helpful error messages - if something goes wrong!

IMHO trying to setup an application - to run under Wine - with GUI tools is a royal PITA.
Dolphin (your KDE File Manager) will use the global Wine .desktop xdg files - which will all refer to the default WINEPREFIX - "${HOME}/.wine" for example.
This is not what you want to use though in this instance!

Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi again Bob.

I have followed the steps that you have outlined and ran the code that you have provided.
And mapped the D: drive to the CD-ROM.

Here are the results =
Code 01 =

Code: Select all

wine start "D:\Autorun.exe"
Result 01 =

Code: Select all

Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
Code 02 =

Code: Select all

wine start "D:\DK2.exe"
Result 02 =

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
Thank you very much for taking the time to help me with this.
It really is much appreciated.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Uhmmm... :cry:

What's the output from:

Code: Select all

'ls' -hl "${WINEPREFIX:-${HOME}/.wine}/dosdevices/d:"{/,}
then?

Ta
Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

The results are as follows =

Code: Select all

ls: cannot access '/home/[my username]/.wine/dosdevices/d:/': No such file or directory
lrwxrwxrwx 1 [my username] [my username]  23 Jul 11  2015 /home/[my username]/.wine/dosdevices/d: -> /media/[my username]/jediacad_1/
Now this is interesting. So it looks like the D: doesn't exist. I did select D: and map it
to the CD-ROM drive. Incidentally I did this using the winecfg GUI tool.

However it looks like it's picking up an old install of wine and an old game that I was
running (Jedi Academy).

N.B.
1. Previously I was running a 32-bit version of Linux/Ubuntu with a 32-bit version of
wine on this PC, and managed to get some games working with those versions.
(I have recently installed the new 64-bit version of Linux/Ubuntu).

2. If I use KDE's dolphin file manager, and install DK2 that way.
The game will install but the default location that it uses is -
To this old install dir, where I've installed these other PC games in the old wine version
and it shows things like, Dawn of War, and the Jedi Knight games.

And this is after I have uninstalled and purged all old versions of wine.
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi again Bob.

I went over your suggestions once again. I have done the following -

1. Removed all entires for the CD-ROM drive associated with my older installs and
other games.

2. I then reassigned the D: drive as the CD-ROM drive and linked it to DK2.

3. Installed the game once again. However this time, it has installed to the correct dir
in the 32-bit WINEPREFIX
E.G. -
/home/[my user name]/Desktop/Home/.local/share/wineprefixes/dungeon_keeper_2/drive_c/Program Files/Bullfrog/Dungeon Keeper 2/


Now when I try and run the game, I am presented with the next error message -

Code: Select all

Unhandled exception: page fault on read access to 0x0ef7abad in 32-bit code (0x00406b32).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00406b32 ESP:0033fcc8 EBP:0033fda4 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00400000 EBX:00000018 ECX:00000000 EDX:0003f000
 ESI:00400000 EDI:00000001
Stack dump:
0x0033fcc8:  0040b1c7 00000000 00400000 00411390
0x0033fcd8:  00140f3d 7b639000 00000094 00000005
0x0033fce8:  00000001 00000a28 00000002 76726553
0x0033fcf8:  20656369 6b636150 00003320 f748d4cb
0x0033fd08:  0033fd30 7b639000 00000002 0033fd88
0x0033fd18:  0033fd58 7b458d6e 00560f20 004505c0
Backtrace:
=>0 0x00406b32 in dkii (+0x6b32) (0x0033fda4)
  1 0x004114e2 in dkii (+0x114e1) (0x0033fe30)
  2 0x7b4605fc call_process_entry+0xb() in kernel32 (0x0033fe48)
  3 0x7b461644 in kernel32 (+0x51643) (0x0033fe88)
  4 0x7bc8070c call_thread_func_wrapper+0xb() in ntdll (0x0033fea8)
  5 0x7bc836dd call_thread_func+0xfc() in ntdll (0x0033ffa8)
  6 0x7bc806ea RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc528c3 call_dll_entry_point+0x3d2() in ntdll (0x0033ffe8)
  8 0xf756db7d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf756dce0 wine_switch_to_stack+0x1f() in libwine.so.1 (0xffd0fb98)
  10 0x7bc588ce LdrInitializeThunk+0x24d() in ntdll (0xffd0fbe8)
  11 0x7b46777a __wine_kernel_init+0xa69() in kernel32 (0xffd10d58)
  12 0x7bc597a3 __wine_process_init+0x152() in ntdll (0xffd10dc8)
  13 0xf756bd37 wine_init+0x2c6() in libwine.so.1 (0xffd10e28)
  14 0x7c000ac2 main+0x81() in <wine-loader> (0xffd11278)
  15 0xf7380637 __libc_start_main+0xf6() in libc.so.6 (0x00000000)
0x00406b32: subl	0xef7abad(%ecx),%esi
Modules:
Module	Address			Debug info	Name (50 modules)
PE	  400000-  441000	Export          dkii
PE	10000000-1000c000	Deferred        drvmgt
ELF	7b400000-7b7e0000	Dwarf           kernel32<elf>
  \-PE	7b410000-7b7e0000	\               kernel32
ELF	7bc00000-7bcf6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf6000	\               ntdll
ELF	7c000000-7c004000	Dwarf           <wine-loader>
ELF	7e4c5000-7e545000	Deferred        rpcrt4<elf>
  \-PE	7e4d0000-7e545000	\               rpcrt4
ELF	7e567000-7e56e000	Deferred        libxfixes.so.3
ELF	7e56e000-7e579000	Deferred        libxcursor.so.1
ELF	7e579000-7e58c000	Deferred        libxi.so.6
ELF	7e58c000-7e590000	Deferred        libxcomposite.so.1
ELF	7e590000-7e59d000	Deferred        libxrandr.so.2
ELF	7e59d000-7e5a9000	Deferred        libxrender.so.1
ELF	7e5a9000-7e5b0000	Deferred        libxxf86vm.so.1
ELF	7e5b0000-7e5b4000	Deferred        libxinerama.so.1
ELF	7e5b4000-7e5bb000	Deferred        libxdmcp.so.6
ELF	7e5bb000-7e5bf000	Deferred        libxau.so.6
ELF	7e5bf000-7e5e5000	Deferred        libxcb.so.1
ELF	7e5e5000-7e730000	Deferred        libx11.so.6
ELF	7e730000-7e745000	Deferred        libxext.so.6
ELF	7e76e000-7e7fb000	Deferred        winex11<elf>
  \-PE	7e780000-7e7fb000	\               winex11
ELF	7e7fb000-7e81f000	Deferred        imm32<elf>
  \-PE	7e800000-7e81f000	\               imm32
ELF	7e8af000-7e8d9000	Deferred        libexpat.so.1
ELF	7e8d9000-7e922000	Deferred        libfontconfig.so.1
ELF	7e922000-7e94d000	Deferred        libpng12.so.0
ELF	7e94d000-7e968000	Deferred        libz.so.1
ELF	7e968000-7ea18000	Deferred        libfreetype.so.6
ELF	7ea41000-7eab8000	Deferred        advapi32<elf>
  \-PE	7ea50000-7eab8000	\               advapi32
ELF	7eab8000-7ebe8000	Deferred        gdi32<elf>
  \-PE	7ead0000-7ebe8000	\               gdi32
ELF	7ebe8000-7ed3d000	Deferred        user32<elf>
  \-PE	7ec00000-7ed3d000	\               user32
ELF	7ed3d000-7ed50000	Deferred        libnss_files.so.2
ELF	7ed50000-7ed5d000	Deferred        libnss_nis.so.2
ELF	7ed5d000-7ed78000	Deferred        libnsl.so.1
ELF	7ed78000-7ed82000	Deferred        libnss_compat.so.2
ELF	7ef82000-7efd7000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f7363000-f7368000	Deferred        libdl.so.2
ELF	f7368000-f751e000	Dwarf           libc.so.6
ELF	f751f000-f753c000	Deferred        libpthread.so.0
ELF	f7565000-f771c000	Dwarf           libwine.so.1
ELF	f771e000-f7743000	Deferred        ld-linux.so.2
ELF	f7745000-f7746000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000005f    0
	00000051    0
	00000050    0
	0000001f    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001e    0
	00000019    0
	00000018    0
	00000013    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000024    0
0000002f bfab91c.tmp
	00000030    0
00000031 winevdm.exe
	00000037    0
	00000034    0
	00000033    0
	00000032    0
00000035 _INS5176._MP
	00000036    0
0000003c winemenubuilder.exe
	0000003d    0
00000040 winemenubuilder.exe
	00000041    0
00000042 winemenubuilder.exe
	00000043    0
00000044 winemenubuilder.exe
	00000045    0
00000048 notepad.exe
	00000049    0
0000004c (D) C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe
	0000004d    0 <==
System information:
    Wine build: wine-2.0.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-77-generic
Do you have any ideas where I need to go from here please ?
TIA
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Noob_Computa_Ninja wrote:Hi again Bob.
...
3. Installed the game once again. However this time, it has installed to the correct dir
in the 32-bit WINEPREFIX
E.G. -
/home/[my user name]/Desktop/Home/.local/share/wineprefixes/dungeon_keeper_2/drive_c/Program Files/Bullfrog/Dungeon Keeper 2/


Now when I try and run the game, I am presented with the next error message -
...

Do you have any ideas where I need to go from here please ?
TIA
Well just for the record I was suggesting to create your (Linux) user's WINEPREFIX's off this root directory:

"${HOME}/.local/wineprefixes" = "/home/[my user name]/.local/share/wineprefixes"

Which is the default location that the winetricks uses...
There's not much point putting stuff in many nested layers deep of directories - but just from the perspective of personal usability !! 8)

A Wine stack trace is not much use - without the following accompanying information:
  • Code: Select all

    env | grep WINE
    e.g.

    Code: Select all

    env | grep WINE
    WINEPREFIX="/home/[my user name]/Desktop/Home/.local/share/wineprefixes/dungeon_keeper_2"
  • the Linux present working directory (pwd) in the which the Wine command was launched
    e.g.

    Code: Select all

    pwd
    /home/[my user name]/Desktop/Home/.local/share/wineprefixes/dungeon_keeper_2/drive_c/Program Files/Bullfrog/Dungeon Keeper 2/
  • the actual Wine command used (i.e. including all parameters passed to Wine)
    e.g.

    Code: Select all

    wine start DKII.exe
  • console output from Wine before the stack trace is generated
    e.g.

    Code: Select all

    wine start DKII.exe &> "${HOME}/wine_console_log.txt" # the file: ~/wine_console_log.txt now contains the Wine console log
Some of this information is optional (but I would certainly ask for it - in this case - if I feel that some doesn't understand how to use the WINEPREFIX env variable correctly)...

Ta
Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

CLI command 01 =

Code: Select all

env | grep WINE
Result 01 =

Code: Select all

WINEPREFIX=/home/[my username]/.local/share/wineprefixes/dungeon_keeper_2
CLI command 02 =

Code: Select all

pwd
Result 02 =

Code: Select all

/nome/[my user name]
CLI command 03 =

Code: Select all

wine start DKII.exe
Result 03-01 (from the bash console) =

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
[my user name]@corellia:~$ err:winedevice:async_create_driver failed to create driver L"Secdrv": c0000001
wine: Unhandled page fault on read access to 0x0ef7abad at address 0x406b32 (thread 002a), starting debugger...
Result 03-02 (from the GUI failure log (back trace log)) =

Code: Select all

Unhandled exception: page fault on read access to 0x0ef7abad in 32-bit code (0x00406b32).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00406b32 ESP:0033fcc8 EBP:0033fda4 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00400000 EBX:00000018 ECX:00000000 EDX:0003f000
 ESI:00400000 EDI:00000001
Stack dump:
0x0033fcc8:  0040b1c7 00000000 00400000 00411390
0x0033fcd8:  00140f7d 7b639000 00000094 00000005
0x0033fce8:  00000001 00000a28 00000002 76726553
0x0033fcf8:  20656369 6b636150 00003320 f75094cb
0x0033fd08:  0033fd30 7b639000 00000002 0033fd88
0x0033fd18:  0033fd58 7b458d6e 00560f90 004505c0
Backtrace:
=>0 0x00406b32 in dkii (+0x6b32) (0x0033fda4)
  1 0x004114e2 in dkii (+0x114e1) (0x0033fe30)
  2 0x7b4605fc call_process_entry+0xb() in kernel32 (0x0033fe48)
  3 0x7b461644 in kernel32 (+0x51643) (0x0033fe88)
  4 0x7bc8070c call_thread_func_wrapper+0xb() in ntdll (0x0033fea8)
  5 0x7bc836dd call_thread_func+0xfc() in ntdll (0x0033ffa8)
  6 0x7bc806ea RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc528c3 call_dll_entry_point+0x3d2() in ntdll (0x0033ffe8)
  8 0xf75e9b7d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf75e9ce0 wine_switch_to_stack+0x1f() in libwine.so.1 (0xffa01868)
  10 0x7bc588ce LdrInitializeThunk+0x24d() in ntdll (0xffa018b8)
  11 0x7b46777a __wine_kernel_init+0xa69() in kernel32 (0xffa02a28)
  12 0x7bc597a3 __wine_process_init+0x152() in ntdll (0xffa02a98)
  13 0xf75e7d37 wine_init+0x2c6() in libwine.so.1 (0xffa02af8)
  14 0x7c000ac2 main+0x81() in <wine-loader> (0xffa02f48)
  15 0xf73fc637 __libc_start_main+0xf6() in libc.so.6 (0x00000000)
0x00406b32: subl	0xef7abad(%ecx),%esi
Modules:
Module	Address			Debug info	Name (50 modules)
PE	  400000-  441000	Export          dkii
PE	10000000-1000c000	Deferred        drvmgt
ELF	7b400000-7b7e0000	Dwarf           kernel32<elf>
  \-PE	7b410000-7b7e0000	\               kernel32
ELF	7bc00000-7bcf6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf6000	\               ntdll
ELF	7c000000-7c004000	Dwarf           <wine-loader>
ELF	7e4d1000-7e551000	Deferred        rpcrt4<elf>
  \-PE	7e4e0000-7e551000	\               rpcrt4
ELF	7e573000-7e57a000	Deferred        libxfixes.so.3
ELF	7e57a000-7e585000	Deferred        libxcursor.so.1
ELF	7e585000-7e598000	Deferred        libxi.so.6
ELF	7e598000-7e59c000	Deferred        libxcomposite.so.1
ELF	7e59c000-7e5a9000	Deferred        libxrandr.so.2
ELF	7e5a9000-7e5b5000	Deferred        libxrender.so.1
ELF	7e5b5000-7e5bc000	Deferred        libxxf86vm.so.1
ELF	7e5bc000-7e5c0000	Deferred        libxinerama.so.1
ELF	7e5c0000-7e5c7000	Deferred        libxdmcp.so.6
ELF	7e5c7000-7e5cb000	Deferred        libxau.so.6
ELF	7e5cb000-7e5f1000	Deferred        libxcb.so.1
ELF	7e5f1000-7e73c000	Deferred        libx11.so.6
ELF	7e73c000-7e751000	Deferred        libxext.so.6
ELF	7e77a000-7e807000	Deferred        winex11<elf>
  \-PE	7e780000-7e807000	\               winex11
ELF	7e807000-7e82b000	Deferred        imm32<elf>
  \-PE	7e810000-7e82b000	\               imm32
ELF	7e8b9000-7e8e3000	Deferred        libexpat.so.1
ELF	7e8e3000-7e92c000	Deferred        libfontconfig.so.1
ELF	7e92c000-7e957000	Deferred        libpng12.so.0
ELF	7e957000-7e972000	Deferred        libz.so.1
ELF	7e972000-7ea22000	Deferred        libfreetype.so.6
ELF	7ea4b000-7eac2000	Deferred        advapi32<elf>
  \-PE	7ea60000-7eac2000	\               advapi32
ELF	7eac2000-7ebf2000	Deferred        gdi32<elf>
  \-PE	7ead0000-7ebf2000	\               gdi32
ELF	7ebf2000-7ed47000	Deferred        user32<elf>
  \-PE	7ec00000-7ed47000	\               user32
ELF	7ed47000-7ed5a000	Deferred        libnss_files.so.2
ELF	7ed5a000-7ed67000	Deferred        libnss_nis.so.2
ELF	7ed67000-7ed82000	Deferred        libnsl.so.1
ELF	7ef82000-7efd7000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73d4000-f73de000	Deferred        libnss_compat.so.2
ELF	f73df000-f73e4000	Deferred        libdl.so.2
ELF	f73e4000-f759a000	Dwarf           libc.so.6
ELF	f759b000-f75b8000	Deferred        libpthread.so.0
ELF	f75e1000-f7798000	Dwarf           libwine.so.1
ELF	f779a000-f77bf000	Deferred        ld-linux.so.2
ELF	f77c1000-f77c2000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000036    0
	0000001f    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001e    0
	00000019    0
	00000018    0
	00000013    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000024    0
00000029 (D) C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe
	0000002a    0 <==
System information:
    Wine build: wine-2.0.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-77-generic
CLI command = 04

Code: Select all

wine start DKII.exe &> "${HOME}/wine_console_log.txt" # the file: ~/wine_console_log.txt now contains the Wine console log
Result = 04 (again creates a GUI failure box with another associated backtrace log)

Code: Select all

Unhandled exception: page fault on read access to 0x0ef7abad in 32-bit code (0x00406b32).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00406b32 ESP:0033fcc8 EBP:0033fda4 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00400000 EBX:00000018 ECX:00000000 EDX:0003f000
 ESI:00400000 EDI:00000001
Stack dump:
0x0033fcc8:  0040b1c7 00000000 00400000 00411390
0x0033fcd8:  00140f7d 7b639000 00000094 00000005
0x0033fce8:  00000001 00000a28 00000002 76726553
0x0033fcf8:  20656369 6b636150 00003320 f74714cb
0x0033fd08:  0033fd30 7b639000 00000002 0033fd88
0x0033fd18:  0033fd58 7b458d6e 00560f90 004505c0
Backtrace:
=>0 0x00406b32 in dkii (+0x6b32) (0x0033fda4)
  1 0x004114e2 in dkii (+0x114e1) (0x0033fe30)
  2 0x7b4605fc call_process_entry+0xb() in kernel32 (0x0033fe48)
  3 0x7b461644 in kernel32 (+0x51643) (0x0033fe88)
  4 0x7bc8070c call_thread_func_wrapper+0xb() in ntdll (0x0033fea8)
  5 0x7bc836dd call_thread_func+0xfc() in ntdll (0x0033ffa8)
  6 0x7bc806ea RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc528c3 call_dll_entry_point+0x3d2() in ntdll (0x0033ffe8)
  8 0xf7551b7d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf7551ce0 wine_switch_to_stack+0x1f() in libwine.so.1 (0xffa8a658)
  10 0x7bc588ce LdrInitializeThunk+0x24d() in ntdll (0xffa8a6a8)
  11 0x7b46777a __wine_kernel_init+0xa69() in kernel32 (0xffa8b818)
  12 0x7bc597a3 __wine_process_init+0x152() in ntdll (0xffa8b888)
  13 0xf754fd37 wine_init+0x2c6() in libwine.so.1 (0xffa8b8e8)
  14 0x7c000ac2 main+0x81() in <wine-loader> (0xffa8bd38)
  15 0xf7364637 __libc_start_main+0xf6() in libc.so.6 (0x00000000)
0x00406b32: subl	0xef7abad(%ecx),%esi
Modules:
Module	Address			Debug info	Name (50 modules)
PE	  400000-  441000	Export          dkii
PE	10000000-1000c000	Deferred        drvmgt
ELF	7b400000-7b7e0000	Dwarf           kernel32<elf>
  \-PE	7b410000-7b7e0000	\               kernel32
ELF	7bc00000-7bcf6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf6000	\               ntdll
ELF	7c000000-7c004000	Dwarf           <wine-loader>
ELF	7e4c9000-7e549000	Deferred        rpcrt4<elf>
  \-PE	7e4d0000-7e549000	\               rpcrt4
ELF	7e56b000-7e572000	Deferred        libxfixes.so.3
ELF	7e572000-7e57d000	Deferred        libxcursor.so.1
ELF	7e57d000-7e590000	Deferred        libxi.so.6
ELF	7e590000-7e594000	Deferred        libxcomposite.so.1
ELF	7e594000-7e5a1000	Deferred        libxrandr.so.2
ELF	7e5a1000-7e5ad000	Deferred        libxrender.so.1
ELF	7e5ad000-7e5b4000	Deferred        libxxf86vm.so.1
ELF	7e5b4000-7e5b8000	Deferred        libxinerama.so.1
ELF	7e5b8000-7e5bf000	Deferred        libxdmcp.so.6
ELF	7e5bf000-7e5c3000	Deferred        libxau.so.6
ELF	7e5c3000-7e5e9000	Deferred        libxcb.so.1
ELF	7e5e9000-7e734000	Deferred        libx11.so.6
ELF	7e734000-7e749000	Deferred        libxext.so.6
ELF	7e772000-7e7ff000	Deferred        winex11<elf>
  \-PE	7e780000-7e7ff000	\               winex11
ELF	7e7ff000-7e823000	Deferred        imm32<elf>
  \-PE	7e810000-7e823000	\               imm32
ELF	7e8af000-7e8d9000	Deferred        libexpat.so.1
ELF	7e8d9000-7e922000	Deferred        libfontconfig.so.1
ELF	7e922000-7e94d000	Deferred        libpng12.so.0
ELF	7e94d000-7e968000	Deferred        libz.so.1
ELF	7e968000-7ea18000	Deferred        libfreetype.so.6
ELF	7ea41000-7eab8000	Deferred        advapi32<elf>
  \-PE	7ea50000-7eab8000	\               advapi32
ELF	7eab8000-7ebe8000	Deferred        gdi32<elf>
  \-PE	7ead0000-7ebe8000	\               gdi32
ELF	7ebe8000-7ed3d000	Deferred        user32<elf>
  \-PE	7ec00000-7ed3d000	\               user32
ELF	7ed3d000-7ed50000	Deferred        libnss_files.so.2
ELF	7ed50000-7ed5d000	Deferred        libnss_nis.so.2
ELF	7ed5d000-7ed78000	Deferred        libnsl.so.1
ELF	7ed78000-7ed82000	Deferred        libnss_compat.so.2
ELF	7ef82000-7efd7000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f7347000-f734c000	Deferred        libdl.so.2
ELF	f734c000-f7502000	Dwarf           libc.so.6
ELF	f7503000-f7520000	Deferred        libpthread.so.0
ELF	f7549000-f7700000	Dwarf           libwine.so.1
ELF	f7702000-f7727000	Deferred        ld-linux.so.2
ELF	f7729000-f772a000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000036    0
	0000001f    0
	00000017    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001e    0
	00000019    0
	00000018    0
	00000013    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000024    0
00000029 (D) C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe
	0000002a    0 <==
System information:
    Wine build: wine-2.0.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-77-generic
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

In addition I have also done the following -

* Ran the command again to obtain the Wine console log -

CLI Command 05 =

Code: Select all

wine start DKII.exe &> "${HOME}/wine_console_log.txt" # the file: ~/wine_console_log.txt now contains the Wine console log
Result 05 =

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
err:winedevice:async_create_driver failed to create driver L"Secdrv": c0000001
wine: Unhandled page fault on read access to 0x0ef7abad at address 0x406b32 (thread 002a), starting debugger...
* Moved to the correct dir (where the game is located) and then ran the run wine start command from the CLI
from there

Directory =
/home/[my user name]/Desktop/Home/.local/share/wineprefixes/dungeon_keeper_2/drive_c/Program Files/Bullfrog/Dungeon Keeper 2/


CLI Command 06 =

Code: Select all

wine start DKII.exe
Result 06 =

Code: Select all

Unhandled exception: page fault on read access to 0x0ef7abad in 32-bit code (0x00406b32).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00406b32 ESP:0033fcc8 EBP:0033fda4 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00400000 EBX:00000018 ECX:00000000 EDX:0003f000
 ESI:00400000 EDI:00000000
Stack dump:
0x0033fcc8:  0040b1c7 00000000 00400000 00411390
0x0033fcd8:  00140e9a 7b639000 00000094 00000005
0x0033fce8:  00000001 00000a28 00000002 76726553
0x0033fcf8:  20656369 6b636150 00003320 f74ed4cb
0x0033fd08:  0033fd30 7b639000 00000002 0033fd88
0x0033fd18:  0033fd58 7b458d6e 00560f60 004505c0
Backtrace:
=>0 0x00406b32 in dkii (+0x6b32) (0x0033fda4)
  1 0x004114e2 in dkii (+0x114e1) (0x0033fe30)
  2 0x7b4605fc call_process_entry+0xb() in kernel32 (0x0033fe48)
  3 0x7b461644 in kernel32 (+0x51643) (0x0033fe88)
  4 0x7bc8070c call_thread_func_wrapper+0xb() in ntdll (0x0033fea8)
  5 0x7bc836dd call_thread_func+0xfc() in ntdll (0x0033ffa8)
  6 0x7bc806ea RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc528c3 call_dll_entry_point+0x3d2() in ntdll (0x0033ffe8)
  8 0xf75cdb7d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf75cdce0 wine_switch_to_stack+0x1f() in libwine.so.1 (0xffaffb88)
  10 0x7bc588ce LdrInitializeThunk+0x24d() in ntdll (0xffaffbd8)
  11 0x7b46777a __wine_kernel_init+0xa69() in kernel32 (0xffb00d48)
  12 0x7bc597a3 __wine_process_init+0x152() in ntdll (0xffb00db8)
  13 0xf75cbd37 wine_init+0x2c6() in libwine.so.1 (0xffb00e18)
  14 0x7c000ac2 main+0x81() in <wine-loader> (0xffb01268)
  15 0xf73e0637 __libc_start_main+0xf6() in libc.so.6 (0x00000000)
0x00406b32: subl	0xef7abad(%ecx),%esi
Modules:
Module	Address			Debug info	Name (47 modules)
PE	  400000-  441000	Export          dkii
ELF	7b400000-7b7e0000	Dwarf           kernel32<elf>
  \-PE	7b410000-7b7e0000	\               kernel32
ELF	7bc00000-7bcf6000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcf6000	\               ntdll
ELF	7c000000-7c004000	Dwarf           <wine-loader>
ELF	7e567000-7e56e000	Deferred        libxfixes.so.3
ELF	7e56e000-7e579000	Deferred        libxcursor.so.1
ELF	7e579000-7e58c000	Deferred        libxi.so.6
ELF	7e58c000-7e590000	Deferred        libxcomposite.so.1
ELF	7e590000-7e59d000	Deferred        libxrandr.so.2
ELF	7e59d000-7e5a9000	Deferred        libxrender.so.1
ELF	7e5a9000-7e5b0000	Deferred        libxxf86vm.so.1
ELF	7e5b0000-7e5b4000	Deferred        libxinerama.so.1
ELF	7e5b4000-7e5bb000	Deferred        libxdmcp.so.6
ELF	7e5bb000-7e5bf000	Deferred        libxau.so.6
ELF	7e5bf000-7e5e5000	Deferred        libxcb.so.1
ELF	7e5e5000-7e730000	Deferred        libx11.so.6
ELF	7e730000-7e745000	Deferred        libxext.so.6
ELF	7e76e000-7e7fb000	Deferred        winex11<elf>
  \-PE	7e780000-7e7fb000	\               winex11
ELF	7e7fb000-7e81f000	Deferred        imm32<elf>
  \-PE	7e800000-7e81f000	\               imm32
ELF	7e8af000-7e8d9000	Deferred        libexpat.so.1
ELF	7e8d9000-7e922000	Deferred        libfontconfig.so.1
ELF	7e922000-7e94d000	Deferred        libpng12.so.0
ELF	7e94d000-7e968000	Deferred        libz.so.1
ELF	7e968000-7ea18000	Deferred        libfreetype.so.6
ELF	7ea41000-7eab8000	Deferred        advapi32<elf>
  \-PE	7ea50000-7eab8000	\               advapi32
ELF	7eab8000-7ebe8000	Deferred        gdi32<elf>
  \-PE	7ead0000-7ebe8000	\               gdi32
ELF	7ebe8000-7ed3d000	Deferred        user32<elf>
  \-PE	7ec00000-7ed3d000	\               user32
ELF	7ed3d000-7ed50000	Deferred        libnss_files.so.2
ELF	7ed50000-7ed5d000	Deferred        libnss_nis.so.2
ELF	7ed5d000-7ed78000	Deferred        libnsl.so.1
ELF	7ed78000-7ed82000	Deferred        libnss_compat.so.2
ELF	7ef82000-7efd7000	Deferred        libm.so.6
ELF	7efe6000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f73c3000-f73c8000	Deferred        libdl.so.2
ELF	f73c8000-f757e000	Dwarf           libc.so.6
ELF	f757f000-f759c000	Deferred        libpthread.so.0
ELF	f75c5000-f777c000	Dwarf           libwine.so.1
ELF	f777e000-f77a3000	Deferred        ld-linux.so.2
ELF	f77a5000-f77a6000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000020    0
	0000001f    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001e    0
	00000019    0
	00000018    0
	00000013    0
0000001c plugplay.exe
	00000022    0
	00000021    0
	0000001d    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000025    0
	00000024    0
00000029 (D) C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe
	0000002a    0 <==
System information:
    Wine build: wine-2.0.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.0-77-generic
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi again Bob.

I believe that I have provided the answers to the questions you posed.

Is there anything else you need from me (log files or other commands you would like me to run)
to see why dungeon keeper 2 is refusing to run ?

Thanks very much, for all of your help so far mate.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Noob_Computa_Ninja wrote:Hi again Bob.

I believe that I have provided the answers to the questions you posed.

Is there anything else you need from me (log files or other commands you would like me to run)
to see why dungeon keeper 2 is refusing to run ?

Thanks very much, for all of your help so far mate.
Sorry just away doing some research... 8)
I don't like forum threads that go on for ever... Without a successful resolution!

So I've checked the GOG Games copy of Dungeon Keeper II.
This uses the Windows version of Dosbox as a simple wrapper for the game.

So I would expect Dungeon Keeper II to run correctly - in the native Linux Dosbox...
So I'd recommend switching over to using Dosbox completely to run Dungeon Keeper II.
Since the executables/libraries are all simple DOS-based binaries and not the newer Window PE format (that would require Wine to run them).

I've not really used Dosbox before... I just installed the native Linux version today.
But in my testing today - the Dosbox documentation is clear and it "just works"(TM)!

Give that a try and see how you get on! 8)
Bob
Noob_Computa_Ninja
Level 2
Level 2
Posts: 13
Joined: Sun Jul 19, 2015 12:18 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Noob_Computa_Ninja »

Hi there Bob.

Hey you don't need to be sorry, you've been a massive help in trying to resolve this
issue for me.

So I took your advice, and did some further research myself (based upon your suggestions
and findings). I installed DOSbox and attempted to get DK2 to run.

I have discovered the following -

1. Dungeon keeper 2 is a Windows game (as opposed to DOS).
This was after many attempts, and all of the error messages from DOSbox stating that
DK-2 wasn't a DOS game.
(However, it appears that Dungoen Keeper 1 (DK-1) is a DOS game).

2. I bought Dungeon keeper 1 & 2 from GOG and I have managed to get DK-2 to run well
in my Windows 7 install, on my dual boot partition (after a bit of tinkering).

3. My next step is to try and run the GOG version of DK-2 in WINE to see if I can get
that running on my Linux install.

Thank you very much for all of your help with this mate.
It's very much appreciated.

Kind regards.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Dungeon Keeper 2 > Won't run after installing the game

Post by Bob Wya »

Noob_Computa_Ninja wrote:Hi there Bob.

Hey you don't need to be sorry, you've been a massive help in trying to resolve this
issue for me.

So I took your advice, and did some further research myself (based upon your suggestions
and findings). I installed DOSbox and attempted to get DK2 to run.

I have discovered the following -

1. Dungeon keeper 2 is a Windows game (as opposed to DOS).
This was after many attempts, and all of the error messages from DOSbox stating that
DK-2 wasn't a DOS game.
(However, it appears that Dungoen Keeper 1 (DK-1) is a DOS game).
You might want to double check that... I'm sure both the games are DOSBox wrapped by GOG...
pev is useful, simple native forensics tool that will tell you some basic information about Windows executables (.exe) and dynamic link libraries (.dll).
It will tell you if a Windows executable file is the more modern PE-type (relocatable in memory) or a simple DOS-type (fixed memory loading address).

Good luck with your further experiments! 8)

Bob
Locked