http://bugs.winehq.org/show_bug.cgi?id=34985
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation CC| |focht@gmx.net
--- Comment #6 from Anastasius Focht focht@gmx.net 2013-11-30 08:41:35 CST --- Hello folks,
bought the game for analysis. The game is protected with SecuROM v7 (v07.21.0012)
--- 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\Eidos\Hitman Blood Money\HitmanBloodMoney.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 7503872 (0728000h) Byte(s) [File Heuristics] -> Flag : 00000000000000000000000000000011 (0x00000003) [!] SecuROM Detected - Version 07.21.0012 [!] Possible CD/DVD-Key or Serial Check -> InputSerial [CompilerDetect] -> Visual C++ 7.1 (Visual Studio 2003) - Scan Took : 0.315 Second(s) --- snip ---
--- quote --- I think this might be a problem with the CD but the game won't read it if I make an image and mount it --- quote ---
You know there is a thing called "copy-protection". Publishers are not that stupid.
I attached a debugger to the process and dumped the executable to check with your crash backtrace. It seems the crash is in media verification part (device ioctl some instructions earlier).
--- snip --- Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00d2bcbc). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:00d2bcbc ESP:012217e0 EBP:01222150 EFLAGS:00210296( R- -- I S -A-P- ) EAX:00000000 EBX:00000000 ECX:012217bc EDX:ffffffff ESI:00eee9f8 EDI:00eee9f8 Stack dump: 0x012217e0: 00000088 00000072 00ef09b4 00d2712a 0x012217f0: 0122211c 00ef09ac 01222170 0122257c 0x01221800: 012268c0 00000000 012268bf 00000000 0x01221810: 00000000 00000000 00000000 00000000 0x01221820: 00000000 00000000 00000000 00000000 0x01221830: 00000000 00000000 00000000 00000000 Backtrace: =>0 0x00d2bcbc in hitmanbloodmoney (+0x92bcbc) (0x01222150) 1 0x00d2eb70 in hitmanbloodmoney (+0x92eb6f) (0x01222978) 2 0x00d01d20 in hitmanbloodmoney (+0x901d1f) (0x012268cc) 3 0x00d0be53 in hitmanbloodmoney (+0x90be52) (0x0122d25c) 4 0x0122d25c (0x00fdb840) 5 0x009d5352 in hitmanbloodmoney (+0x5d5351) (0x009d51f4) 0x00d2bcbc: cmpb $0x0,0x0(%ebx) --- snip ---
SecuROM v7 copy protection is not the problem, the support was added/fixed in Wine some time ago. The DVD is properly validated with Wine 1.7.x (1.6.x will do too). After successful validation the game runs into bug 23356
--- snip --- fixme:d3dx:ID3DXEffectCompilerImpl_CompileEffect iface 0x72ca3310, flags 0x500, effect 0x124a52c, error_msgs 0x124a524 stub wine: Unhandled page fault on read access to 0x5f17fdf1 at address 0x4973cd (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x5f17fdf1 in 32-bit code --- snip ---
Make sure the DVD is properly mounted and recognized within Wine. Thanks for making me waste some bucks...
Regards