[Bug 11782] Cossacks: European Wars does not redraw (no mouse cursor movements shown)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 12 08:59:27 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=11782

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.download.com/Cos |http://www.fileplanet.com/6
                   |sacks-The-Art-of-War-demo/3 |0632/download/New-Cossacks-
                   |000-7485_4-10229103.html    |--European-Wars-Demo
            Summary|Cossacks EW:  Game does not |Cossacks: European Wars
                   |redraw                      |does not redraw (no mouse
                   |                            |cursor movements shown)

--- Comment #22 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

still present.

Since the workaround of using some 'DDemu DirectDraw Emulator' has been
mentioned a few times...

Download: http://www.gsc-game.com/index.php?t=downloads&ss=299&s=patch

(extract 'ddraw.dll', put it into game folder, set override 'native, builtin').

--- snip ---
-=[ ProtectionID v0.6.6.7 DECEMBER]=-
(c) 2003-2015 CDKiLLER & TippeX
Build 24/12/14-22:48:13
Ready...
Scanning -> Z:\home\focht\Downloads\ddraw.dll
File Type : 32-Bit Dll (Subsystem : Win GUI / 2), Size : 74432 (0122C0h)
Byte(s)
Compilation TimeStamp : 0x495244E6 -> Wed 24th Dec 2008 14:19:18 (GMT)
[TimeStamp] 0x495244E6 -> Wed 24th Dec 2008 14:19:18 (GMT) | PE Header | - |
Offset: 0x000000F8 | VA: 0x100000F8 | -
[TimeStamp] 0x495244E6 -> Wed 24th Dec 2008 14:19:18 (GMT) | Export | - |
Offset: 0x0000C8A4 | VA: 0x1000C8A4 | -
[TimeStamp] 0x495244E6 -> Wed 24th Dec 2008 14:19:18 (GMT) | DebugDirectory | -
| Offset: 0x0000A164 | VA: 0x1000A164 | -
-> File Appears to be Digitally Signed @ Offset 011000h, size : 012C0h / 04800
byte(s)
[!] Executable uses SEH Tables (/SAFESEH) (7 calculated 7 recorded... 0 invalid
addresses) 
[File Heuristics] -> Flag #1 : 00000100000000001000000100000100 (0x04008104)
[Entrypoint Section Entropy] : 6.60 (section #0) ".text   " | Size : 0x83C5
(33733) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 5 (0x5) | ImageSize 0x12000 (73728) byte(s)
[Export] 100% of function(s) (1 of 1) are in file | 0 are forwarded | 1 code |
0 data | 0 uninit data | 0 unknown | 
[VersionInfo] Company Name : GSC Game World
[VersionInfo] Product Name : DDemu DirectDraw Emulator
[VersionInfo] Product Version : 1. 0. 0. 2
[VersionInfo] File Description : DDemu DirectDraw Emulator
[VersionInfo] File Version : 1. 0. 0. 2
[VersionInfo] Original FileName : ddraw.dll
[VersionInfo] Internal Name : ddemu
[VersionInfo] Version Comments : Copyright (C) 2008 Serguei I. Ivantsov
[VersionInfo] Legal Copyrights : Copyright (C) 2008 GSC Game World
[Debug Info] (record 1 of 1) (file offset 0xA160)
Characteristics : 0x0 | TimeDateStamp : 0x495244E6 (Wed 24th Dec 2008 14:19:18
(GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0)
Type : 2 (0x2) -> CodeView | Size : 0x32 (50) 
AddressOfRawData : 0xBB40 | PointerToRawData : 0xBB40
CvSig : 0x53445352 | SigGuid 28423EC9-CFE1-48FE-972B9AAC6C622861
Age : 0x1 | Pdb : c:\TEMP\BTW-DEL\ddraw.pdb
[CompilerDetect] -> Visual C++ 8.0 (Visual Studio 2005)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.380 Second(s) [00000017Ch (380) tick(s)] [244 of 573 scan(s)
done]
--- snip ---

I had a very brief look at this. The ddraw "emulator" uses traditional method
of hooking 'DirectDrawCreate', injecting its own interface proxy when calling
'DirectDrawCreateEx' (Wine impl).
I stopped at this point since there are other, more interesting things to do.

Since the author 'Serguei I. Ivantsov' (GSC Game World) seems to have his name
embedded in version resource why not contacting him, asking about details
instead of having other people time wasted on reversing the thing.

$ sha1sum New_Cossacks_Demo.zip 
bb0250bc7cd77a8f39c60dc7b7122106b8ba5a2f  New_Cossacks_Demo.zip

$ du -sh New_Cossacks_Demo.zip 
121M    New_Cossacks_Demo.zip

$ wine --version
wine-1.7.54-302-g5cf9539

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list