http://bugs.winehq.org/show_bug.cgi?id=27503
Summary: Dungeon Keeper II still need a crack to run. Product: Wine Version: 1.3.22 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andreas.livet@gmail.com
Created an attachment (id=35161) --> (http://bugs.winehq.org/attachment.cgi?id=35161) Wine dbg backtrace
Dungeon Keeper II was listed in the games that are affected by bug #219 which was closed in 1.3.22 release. Unfortunately, the game still need a crack to run properly.
I hope this is not a doubloon and the right thing to do :).
Andreas
http://bugs.winehq.org/show_bug.cgi?id=27503
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation
http://bugs.winehq.org/show_bug.cgi?id=27503
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2011-06-16 15:07:25 CDT --- Hello,
can you run "ProtectionID" tool (http://pid.gamecopyworld.com/) on the main binaries (*.exe, *.dll) to identify exact copy protection? Copy/paste the output of the log window here - only executables that have been flagged containing protection.
See this bug: http://bugs.winehq.org/show_bug.cgi?id=27349 for examples what kind of information is relevant from "Protection ID".
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #2 from Andréas Livet andreas.livet@gmail.com 2011-06-16 15:19:49 CDT --- Created an attachment (id=35163) --> (http://bugs.winehq.org/attachment.cgi?id=35163) Protection Id log
Here is the protection ID log. Safedisc v1.41 seems to be used.
Hope this help
http://bugs.winehq.org/show_bug.cgi?id=27503
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE Summary|Dungeon Keeper II still |Dungeon Keeper II crashes |need a crack to run. |with Wine default Windows | |version 'Windows XP' | |(SafeDisc 1.x secdrv.sys | |doesn't support Windows | |version > Win2000)
--- Comment #3 from Anastasius Focht focht@gmx.net 2011-06-23 14:57:22 CDT --- Hello,
I bought that old game for testing this ... just to find out I wasted money and time.
-> the copy protection works perfectly
The SafeDisc 1.x driver secdrv.sys doesn't support Windows version > Windows 2000 hence you must adjust the version for the WINEPREFIX this game is installed in (winecfg -> Windows 2000)!
Most Wine appdb entries for SafeDisc 1.x games spread misinformation still stating that cracks are required.
--- snip --- -=[ ProtectionID v0.6.4.0 JULY]=- (c) 2003-2010 CDKiLLER & TippeX Build 07/08/10-17:57:05 Ready...
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Bullfrog\Dungeon Keeper 2\DKII.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 248949 (03CC75h) Byte(s) -> File has 10869 (02A75h) bytes of appended data starting at offset 03A200h [File Heuristics] -> Flag : 00000000000001001100000000000101 (0x0004C005) [!] Safedisc v1.11.000 detected ! [CompilerDetect] -> Visual C++ 5.0 - Scan Took : 0.479 Second(s)
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Bullfrog\Dungeon Keeper 2\dplayerx.dll File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 156160 (026200h) Byte(s) [File Heuristics] -> Flag : 00000000000001001100000000000000 (0x0004C000) [!] Safedisc core dll (dplayerx.dll) detected! [CompilerDetect] -> Visual C++ 5.0 - Scan Took : 0.523 Second(s)
Scanning -> Z:\home\focht.wine\drive_c\Program Files\Bullfrog\Dungeon Keeper 2\secdrv.sys File Type : 32-Bit Driver (good checksum) (Subsystem : Native / 1), Size : 14304 (037E0h) Byte(s) -> File has 2368 (0940h) bytes of appended data starting at offset 02EA0h [File Heuristics] -> Flag : 00000000000000000000000000000111 (0x00000007) [!] Safedisc protection driver (secdrv.sys) detected! - Scan Took : 0.640 Second(s) --- snip ---
You need to update Dungeon Keeper 2 1.x with english patch v1.7 to run the game properly (also required for newer Windows versions).
Regards
*** This bug has been marked as a duplicate of bug 21147 ***
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #4 from Andréas Livet andreas.livet@gmail.com 2011-06-24 07:39:59 CDT --- Hello Anastasius Focht,
I bought that old game for testing this ... just to find out I wasted money and time.
Sorry that I waste your time :/, I'm not so familiar with wine process and bugs... I read wine-devel for a year now but do not practice a lot...
-> the copy protection works perfectly
The SafeDisc 1.x driver secdrv.sys doesn't support Windows version > Windows 2000 hence you must adjust the version for the WINEPREFIX this game is installed in (winecfg -> Windows 2000)!
I must misunderstand something, cause here is what I've done :
- Creating a clean .wine folder with Wine 1.3.22 - Install DKII from the CD by launching setup.exe - Run the 1.7 English updater - Set the Windows version to 98 (and then 2000) through Wine Cfg gui - Run DKII.exe
I always got the same bug... so maybe it's not the right way to change windows version or maybe I need to do something else? I don't know...
Again sorry to bother you, anyway DKII is a great game so you didn't lost your money :D.
Greetings, Andréas
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #5 from Anastasius Focht focht@gmx.net 2011-06-24 07:49:39 CDT --- Hello Andréas,
please attach a trace log to this bug after setting Winver to "Windows 2000".
Make sure no Wine processes/services are running prior -> "wineserver -k" before running following:
rm log.txt WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay wine ./DKII.exe >>log.txt 2>&1
(compress it if too large)
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #6 from Andréas Livet andreas.livet@gmail.com 2011-07-02 18:32:55 CDT --- Created an attachment (id=35407) --> (http://bugs.winehq.org/attachment.cgi?id=35407) 1.3.23 log + Winver = 2000
Generated with : WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay wine ./DKII.exe >>log.txt 2>&1
Sorry for the delay.
Hope it will help you. Andréas
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #7 from Anastasius Focht focht@gmx.net 2011-07-03 06:30:14 CDT --- Hello,
the trace log shows that all drive letters get enumerated (using GetDriveTypeA) but none has cdrom type - in fact on your system there are only Wine's default "C:" and "Z:" present.
That means you don't have the media properly registered within Wine. Wine supports detecting newly mounted devices through HAL/dbus and automagically assigns a drive letter. If that doesn't happen (try "autodetect" in winecfg) you need to manually assign a drive letter to the mounted media using winecfg.
DKII looks for secdrv.sys on media and then tries to install the kernel driver (service) from there which is needed for copy protection to work.
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #8 from Andréas Livet andreas.livet@gmail.com 2011-07-03 11:00:35 CDT --- Created an attachment (id=35416) --> (http://bugs.winehq.org/attachment.cgi?id=35416) 1.3.23 log + winver=98 and cd rom drive letter set
It seems to work better with the CD-ROM drive letter set (cd turns a bit) but I still crashes at the beginning.
Option are : WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay wine ./DKII.exe >>log.txt 2>&1
When running without winedebug options and wine version set to 98 (and not 2000), I got this message :
"fixme:vxd:__wine_vxd_open Unknown/unsupported VxD L"siwvid.vxd". Try setting Windows version to 'nt40' or 'win31'."
So I tried the game with wine version set to NT 4.0 and it works... not quite well but I was able to get the first image and the bullfrog logo video. Then it stops and I wasn't able to do anything but restart the computer.
Weirdly, it didn't work when I try with winedebug options...
You seem to know the subject very well, hope you'll find what's not working here.
Greetings, Andréas
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #9 from Anastasius Focht focht@gmx.net 2011-07-03 11:33:29 CDT --- Hello,
what's the problem running the game with WinVer set to "Windows 2000" as requested? I can't help you if you don't do your homework.
Again: Make sure the game is patched to v1.7, the CDROM is properly mounted/registered (drive letter) and the Windows version is set to "Windows 2000".
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #10 from Andréas Livet andreas.livet@gmail.com 2011-07-03 16:48:35 CDT --- Created an attachment (id=35420) --> (http://bugs.winehq.org/attachment.cgi?id=35420) 1.2.23 log + winver=2000 and cd rom drive letter set
Sorry, I didn't send the winver 2000 log... It crashes the same way as winver 98 but without the fixme:vxd message.
Next time I'll do my homework :).
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #11 from Anastasius Focht focht@gmx.net 2011-07-04 02:24:55 CDT --- Hello,
it seems there is something wrong with the unwrapping of encrypted game executable ("C:\Program Files\Bullfrog\Dungeon Keeper 2\DKII.ICD").
The process is started suspended by design and the main thread context should be modified by parent process to load a safedisc helper (dplayerx.dll) instead of calling entry point. This never happens in your case hence the process immediately crashes on entry point when the main thread is resumed because the code there is junk by design (encrypted).
I don't see any WriteProcessMemory() call into remote process nor the SafeDisc dplayerx.dll getting mapped. The reason could be that the parent fails to capture the thread context of child main thread.
Can you do additional trace log additionally with +server:
-> make sure nothing is running before: wineserver -k -> then: WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay,+server wine ./DKII.exe
log.txt 2>&1
and attach to this bug ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #12 from Andréas Livet andreas.livet@gmail.com 2011-07-04 18:17:45 CDT --- Created an attachment (id=35441) --> (http://bugs.winehq.org/attachment.cgi?id=35441) 1.2.23 log + winver=2000+server winedebug and cd rom drive letter set
Here it is. Good hunt!
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #13 from Anastasius Focht focht@gmx.net 2011-07-05 01:03:28 CDT --- Hello,
--- quote --- 1.2.23 log + winver=2000+server winedebug and cd rom drive letter set
Here it is. Good hunt! --- quote ---
there is no wineserver trace within although you specified WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay,+server
Please double check before attaching logs. Again: make sure there is no _other_ Wine process running before.
The thread ids in your log start with "0021" hence there must be some lingering Wine processes (bootstrap trace should usually start with tid 0008).
Additionally what Linux distro are you on? Exact kernel version?
Regards
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #14 from Andréas Livet andreas.livet@gmail.com 2011-07-05 07:30:45 CDT ---
there is no wineserver trace within although you specified WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay,+server
Strange... but I sure have made a mistake, sorry.
Please double check before attaching logs. Again: make sure there is no _other_ Wine process running before.
The thread ids in your log start with "0021" hence there must be some lingering Wine processes (bootstrap trace should usually start with tid 0008).
I did that just after a fresh boot so there shouldn't be any wineserver running, no?
Maybe I sent the wrong log, I'll see that when I come back home.
Additionally what Linux distro are you on? Exact kernel version?
Got a Ubuntu 10.10, I can't recall the exact kernel version but I'll send you that tonight.
Again sorry for my mistake.
Greetings, Andréas
http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #15 from Andréas Livet andreas.livet@gmail.com 2011-07-05 17:35:50 CDT ---
there is no wineserver trace within although you specified WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay,+server
Please double check before attaching logs. Again: make sure there is no _other_ Wine process running before. The thread ids in your log start with "0021" hence there must be some lingering Wine processes (bootstrap trace should usually start with tid 0008).
I double checked and my log was good. I don't why but when I set wine version to 2000, wineserver doesn't seems to start and trace start at 0021 instead of 0008 when wine version set to 98 or 95.
Do you want me to send you my 98 logs ? Or my NT 4.0 (the only one version that can pass the copy protection on my computer) ones ?
Additionally what Linux distro are you on? Exact kernel version?
2.6.35.28.36. I should have update to 2.6.35.30.28 but I got some package issue with ubuntu and I don't know why...
Greetings, Andréas
http://bugs.winehq.org/show_bug.cgi?id=27503
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Austin English austinenglish@gmail.com 2011-07-07 16:16:02 CDT --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=27503
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bvillagomez1095@hotmail.com
--- Comment #17 from Anastasius Focht focht@gmx.net --- *** Bug 34363 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=27503
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gaming4jc2@yahoo.com
--- Comment #18 from Anastasius Focht focht@gmx.net --- *** Bug 37601 has been marked as a duplicate of this bug. ***