GOG.com - Dungeon Keeper 2

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 29986
Wine: 2.22

Feedbacks

Description

English: Dungeon Keeper 2: it's good to be bad
From the depths of your dongeon, ready your evil minions!
(updated for GOG installer v2)

Français : Dungeon Keeper 2 : c'est bon d'être mauvais
Du fond de votre donjon, préparer vos hordes maléfiques !
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2011-12-18 01-01)
# Last revision : see changelog
# Wine version used : 1.5.1, 1.4.1, 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2013-03-31)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2014-06-09 15-10
#   script for GOG v2 ?.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.6.2 -> 2.22


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="dungeon_keeper_2"
PREFIX="DungeonKeeper2_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Dungeon Keeper 2"
SHORTCUT_NAME="Dungeon Keeper II"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1023
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "92d04f84dd870d9624cd18449d3622a5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "2"

# Doesn't hurt ;)
POL_Wine_reboot

# DKII-DX.EXE seems to have timing issues, stick to DKII.EXE
POL_Shortcut "DKII.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/manual.pdf"
# C:\GOG Games\Dungeon Keeper 2\reference_card.pdf
# C:\GOG Games\Dungeon Keeper 2\ReadMe.txt

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/" || exit 1

TITLE="$TITLE"

POL_Wine "DKII_SOFT.EXE"

exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 25 January 2020 at 12:24
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,28 @@
 #!/bin/bash
 # Date : (2011-12-18 01-01)
-# Last revision : (2014-06-09 15-10)
+# Last revision : see changelog
 # Wine version used : 1.5.1, 1.4.1, 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2013-03-31)
+#   Initial script, for the GOG release.
+# [Pierre Etchemaite] (2014-06-09 15-10
+#   script for GOG v2 ?.
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.6.2 -> 2.22
+
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="dungeon_keeper_2"
 PREFIX="DungeonKeeper2_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Dungeon Keeper 2"
 SHORTCUT_NAME="Dungeon Keeper II"

New source code

#!/bin/bash
# Date : (2011-12-18 01-01)
# Last revision : see changelog
# Wine version used : 1.5.1, 1.4.1, 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2013-03-31)
#   Initial script, for the GOG release.
# [Pierre Etchemaite] (2014-06-09 15-10
#   script for GOG v2 ?.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.6.2 -> 2.22


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="dungeon_keeper_2"
PREFIX="DungeonKeeper2_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Dungeon Keeper 2"
SHORTCUT_NAME="Dungeon Keeper II"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1023
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "92d04f84dd870d9624cd18449d3622a5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "2"

# Doesn't hurt ;)
POL_Wine_reboot

# DKII-DX.EXE seems to have timing issues, stick to DKII.EXE
POL_Shortcut "DKII.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/manual.pdf"
# C:\GOG Games\Dungeon Keeper 2\reference_card.pdf
# C:\GOG Games\Dungeon Keeper 2\ReadMe.txt

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/" || exit 1

TITLE="$TITLE"

POL_Wine "DKII_SOFT.EXE"

exit 0
_EOF_

exit 0

Replies

warpspin Tuesday 10 January 2017 at 6:52
warpspin Anonymous

Message

Had to reduce the video memory setting for the game to 512, then the flickering went away and the game worked smoothly.

Replies

xsmokinbuddyx Thursday 14 July 2016 at 1:47
xsmokinbuddyx Anonymous

Message

trying to download it and it wont play.. debug comes out like this...

libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  211
  Current serial number in output stream:  215

anyhelp would be greatly apprectated

Replies

pizzaops Sunday 17 May 2015 at 5:04
pizzaops Anonymous

Message

Game is basically non-functional. Super flickery graphics with only brief moments of stability.

Here's the debug logs smiley

[05/16/15 19:39:11] - Running wine-1.6.2 --version (Working directory : /Users/zachary/Library/PlayOnMac/wine/mono)
wine-1.6.2

PlayOnMac logfile
-------------------
Date: 05/16/15 19:39:11

> PlayOnMac Version
  4.2.8
> uname -a
  Darwin LOLcalhost.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
> lsb_release -a
  
> wine --version
  wine-1.6.2
> POL_WINEVERSION
  1.6.2
> WINEPREFIX
  /Users/zachary/Library/PlayOnMac//wineprefix/DungeonKeeper2_gog
> Distribution
   10.10.3 (14.3.0)
> glxinfo \| grep rendering
  
> glxinfo \| grep renderer
  
> OpenGL libs (Direct rendering testing)
  
  

[05/16/15 19:40:43] - Running wine-1.6.2 cmd /c echo %ProgramFiles% (Working directory : /Users/zachary/Library/PlayOnMac/wine/mono)
C:\Program Files
wine(6278,0x401fd000) malloc: *** error for object 0xffffffff: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
wine(6278,0x401fd000) malloc: *** error for object 0xa0c27ec0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 19:40:47] - ----- Starting function POL_Install_nop -----
[05/16/15 19:40:51] - ----- Ending function POL_Install_nop -----
[05/16/15 19:40:51] - ----- Starting function POL_GoG_install -----
[05/16/15 19:40:51] - ----- Starting function POL_Function_SetNativeExtension -----
[05/16/15 19:40:52] - Running wine-1.6.2 regedit /Users/zachary/Library/PlayOnMac//tmp/nativeext.reg (Working directory : /Users/zachary/Library/PlayOnMac/tmp)
[05/16/15 19:40:52] - Content of /Users/zachary/Library/PlayOnMac//tmp/nativeext.reg
-----------
REGEDIT4

[HKEY_CLASSES_ROOT\.pdf]
@="pdffile"
"Content Type"="application/pdf"

[HKEY_CLASSES_ROOT\pdffile\Shell\Open\command]
@="winebrowser \"%1\""
-----------
[05/16/15 19:40:53] - ----- Ending function POL_Function_SetNativeExtension -----
[05/16/15 19:40:53] - ----- Starting function POL_Install_gdiplus -----
[05/16/15 19:40:54] - Running wine-1.6.2 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /Users/zachary/Library/PlayOnMac/ressources)
fixme:advapi:DecryptFileA ("C:\\Tmp\\", 00000000): stub
[05/16/15 19:40:56] - Running wine-1.6.2 regedit /Users/zachary/Library/PlayOnMac//tmp/override-dll.reg (Working directory : /Users/zachary/Library/PlayOnMac/wineprefix/DungeonKeeper2_gog/drive_c/Tmp)
[05/16/15 19:40:56] - Content of /Users/zachary/Library/PlayOnMac//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*gdiplus"="native"
-----------
[05/16/15 19:40:56] - ----- Ending function POL_Install_gdiplus -----
[05/16/15 19:40:56] - Running wine-1.6.2 /Users/zachary/Downloads/setup_dungeon_keeper2_2.0.0.32.exe POL_GoG_install (Working directory : /Users/zachary/Library/PlayOnMac/tmp)
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:shell:SHAutoComplete stub
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:win:EnumDisplayDevicesW ((null),0,0x33f40c,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10112 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10112 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10112 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10112 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10114 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10114 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010c enable 0: stub!
fixme:sfc:SfcIsFileProtected (0x0, L"C:\\GOG Games\\Dungeon Keeper 2\\unins000.exe") stub
fixme:win:WINNLSEnableIME hwnd 0x1010c enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010c enable 0: stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d2e4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d6ec,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x1010c enable -1: stub!
fixme:exec:SHELL_execute flags ignored: 0x00000100
NOP.exe - Does nothing.  Joseph Nord
Is useful for remarking RUN= on windows startup.

fixme:gameux:GameExplorerImpl_VerifyAccess (0x10080bd0, L"C:\\GOG Games\\Dungeon Keeper 2\\goggame.dll", 0x33f32c)
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ReleaseDate" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Genres" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Version" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Developers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Publishers" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"GameExecutables" in Game Definition File not yet supported
fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ExtendedProperties" in Game Definition File not yet supported
fixme:win:WINNLSEnableIME hwnd 0x1010e enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1010e enable -1: stub!
[05/16/15 19:51:59] - ----- Ending function POL_GoG_install -----
[05/16/15 19:51:59] - Running wine-1.6.2 regedit /Users/zachary/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Users/zachary/Library/PlayOnMac/tmp)
[05/16/15 19:51:59] - Content of /Users/zachary/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine]
"Version"="winxp"
-----------
wine(6513,0x401fd000) malloc: *** error for object 0xffffffff: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
wine(6513,0x401fd000) malloc: *** error for object 0xa0c27ec0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 19:52:31] - Running wine-1.6.2 regedit /Users/zachary/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Users/zachary/Library/PlayOnMac/tmp)
[05/16/15 19:52:31] - Content of /Users/zachary/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"VideoMemorySize"="1536"
-----------
[05/16/15 19:52:32] - Running wine-1.6.2 wineboot (Working directory : /Users/zachary/Library/PlayOnMac/tmp)
wine(7115,0x401fd000) malloc: *** error for object 0xffffffff: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 19:52:43] - Running wine-1.6.2 DKII.EXE (Working directory : /Users/zachary/Library/PlayOnMac/wineprefix/DungeonKeeper2_gog/drive_c/GOG Games/Dungeon Keeper 2)
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "/private/tmp/com.apple.launchd.TzIBtHHJAm/org.macosforge.xquartz:0"
      after 10 requests (8 known processed) with 0 events remaining.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "/private/tmp/com.apple.launchd.TzIBtHHJAm/org.macosforge.xquartz:0"
      after 242 requests (156 known processed) with 0 events remaining.
wine(7325,0x401fd000) malloc: *** error for object 0xffffffff: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 19:56:46] - Running wine-1.6.2 regedit /Users/zachary/Library/PlayOnMac//tmp/regkey.reg (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
[05/16/15 19:56:46] - Content of /Users/zachary/Library/PlayOnMac//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"VideoMemorySize"="512"
-----------
[05/16/15 19:57:01] - Running wine-1.6.2 cmd /c echo %ProgramFiles% (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
C:\Program Files
[05/16/15 19:57:05] - Running wine-1.6.2 DKII_SOFT.EXE (Working directory : /Users/zachary/Library/PlayOnMac/wineprefix/DungeonKeeper2_gog/drive_c/GOG Games/Dungeon Keeper 2)
Calculating Julian date for today (17/5/2015)
Today's Julian date is 2457159 + 0.623056
The moon is 28.342782 days old
wine(8513,0x401fd000) malloc: *** error for object 0x185: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 19:58:38] - Running wine-1.6.2 DKII.EXE (Working directory : /Users/zachary/Library/PlayOnMac/wineprefix/DungeonKeeper2_gog/drive_c/GOG Games/Dungeon Keeper 2)
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "/private/tmp/com.apple.launchd.F4wzg38wfe/org.macosforge.xquartz:0"
      after 10 requests (8 known processed) with 0 events remaining.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "/private/tmp/com.apple.launchd.F4wzg38wfe/org.macosforge.xquartz:0"
      after 297 requests (253 known processed) with 0 events remaining.
wine(8660,0x401fd000) malloc: *** error for object 0x4100c000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[05/16/15 20:00:53] - Running wine-1.6.2 DKII.EXE (Working directory : /Users/zachary/Library/PlayOnMac/wineprefix/DungeonKeeper2_gog/drive_c/GOG Games/Dungeon Keeper 2)
fixme:win:EnumDisplayDevicesW ((null),0,0x33c5c4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33be54,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33be54,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c6b4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33c6b4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33c384,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33c384,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x33c734,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33c604,0x00000000), stub!
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
fixme:dplay:IDirectPlay4Impl_EnumConnections (0x21e200)->(0x0,0x10008750,0x33cec4,0x00000001): stub
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
fixme:dplay:IDirectPlay4Impl_EnumConnections (0x2b96208)->(0x0,0x10008750,0x33cca8,0x00000001): stub
err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4090409, 0000: semi-stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:state_subpixel Render state WINED3D_RS_SUBPIXEL not implemented yet.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_device_decref Device released with resources still bound, acceptable but unexpected.
fixme:d3d:wined3d_device_decref Leftover resource 0x2bb6908 with type WINED3D_RTYPE_SURFACE (0x1).
fixme:d3d:wined3d_device_decref Leftover resource 0x2b960b0 with type WINED3D_RTYPE_SURFACE (0x1).
fixme:d3d:wined3d_device_decref Leftover resource 0x2ba0c98 with type WINED3D_RTYPE_SURFACE (0x1).
Calculating Julian date for today (17/5/2015)
Today's Julian date is 2457159 + 0.625729
The moon is 28.345456 days old
wine(8936,0x401fd000) malloc: *** error for object 0x42804000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Replies

Sunday 17 May 2015 at 8:00
Known issue with the game, that GOG is supposed to have fixed; I guess it doesn't work on your box with Wine. Try a lower resolution, like 800x600
zxidbic Tuesday 11 November 2014 at 22:00
zxidbic Anonymous

Message

I've installed it and followed the instructions but there is a problem with the screen or something. it bugs out and i can only briefly see short lines of the main screen and cinematic and i have no cursor. when i installed this it also said that wine.gecko (which i saw was installed in the "playonmac" installation) did not work and the wine had to download it again. i don't know if it has anything to do with it but i thought it was worth mentioning.

Replies

petch Monday 9 June 2014 at 17:54
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Script update to use Wine 1.6.2 (#3735)

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2011-12-18 01-01)
-# Last revision : (2013-07-10 13-32)
-# Wine version used : 1.5.1, 1.4.1
+# Last revision : (2014-06-09 15-10)
+# Wine version used : 1.5.1, 1.4.1, 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="dungeon_keeper_2"
 PREFIX="DungeonKeeper2_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.6.2"
 
 TITLE="GOG.com - Dungeon Keeper 2"
 SHORTCUT_NAME="Dungeon Keeper II"

New source code

#!/bin/bash
# Date : (2011-12-18 01-01)
# Last revision : (2014-06-09 15-10)
# Wine version used : 1.5.1, 1.4.1, 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="dungeon_keeper_2"
PREFIX="DungeonKeeper2_gog"
WORKING_WINE_VERSION="1.6.2"

TITLE="GOG.com - Dungeon Keeper 2"
SHORTCUT_NAME="Dungeon Keeper II"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1023
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "92d04f84dd870d9624cd18449d3622a5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "2"

# Doesn't hurt ;)
POL_Wine_reboot

# DKII-DX.EXE seems to have timing issues, stick to DKII.EXE
POL_Shortcut "DKII.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/manual.pdf"
# C:\GOG Games\Dungeon Keeper 2\reference_card.pdf
# C:\GOG Games\Dungeon Keeper 2\ReadMe.txt

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Dungeon Keeper 2/" || exit 1

TITLE="$TITLE"

POL_Wine "DKII_SOFT.EXE"

exit 0
_EOF_

exit 0

Replies