http://bugs.winehq.org/show_bug.cgi?id=3906
------- Additional Comments From willie(a)froq.net 2005-24-11 15:17 -------
Are you sure? Don't you mean:
+ if (IsEqualGUID(&IID_IDirectInputDevice8A,riid)) {
^
Else, it would be exactly the same as the previous check (and Wine crashes the
same with your patch applied unaltered)...? But with the line changed as
pointed out above, it leads to a crash in libc.so.6:
--- 8< ---
trace:dinput:SysKeyboardAImpl_SetProperty
(this=0x6f4cffa0,<guid-0x0001>,0x55bdfb18)
trace:dinput:SysKeyboardAImpl_SetProperty (size=20,headersize=16,obj=0,how=0
trace:dinput:SysKeyboardAImpl_SetProperty (buffersize=256)
trace:dinput:SysKeyboardAImpl_Acquire (this=0x6f4cffa0)
trace:dinput:IDirectInputAImpl_EnumDevices (this=0x6f4cfd38,0x0004
'DIDEVTYPE_JOYSTICK',0x571e3f10,0x55bdfb38,0001)
trace:dinput:IDirectInputAImpl_EnumDevices flags:
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 0 ('Wine mouse
driver')
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 1 ('Wine
keyboard driver')
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 2 ('Wine
Linux-input joystick driver')
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine Linux
joystick driver')
warn:dinput:joydev_enum_deviceA open(/dev/js0,O_RDONLY) failed: No such file
or directory
trace:dinput:SysMouseAImpl_Unacquire (this=0x6f4cfd50)
trace:dinput:SysMouseAImpl_Unacquire warping mouse back to (730 , 817)
trace:dinput:SysMouseAImpl_SetCooperativeLevel
(this=0x6f4cfd50,0x40022,0x00000006)
trace:dinput:SysMouseAImpl_SetCooperativeLevel cooperative level :
DISCL_FOREGROUND DISCL_NONEXCLUSIVE
trace:dinput:SysMouseAImpl_Acquire (this=0x6f4cfd50)
trace:dinput:SysMouseAImpl_Acquire Warping mouse to 512 - 384
wine: Unhandled page fault on read access to 0x00000000 at address 0x5562b57c
(thread 000b), starting debugger...
--- >8 ---
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3906
------- Additional Comments From tony.lambregts(a)gmail.com 2005-24-11 15:09 -------
+ if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
??? that is exactly the same as the previous lines. Shouldn't that be an 8...?
+ if (IsEqualGUID(&IID_IDirectInputDevice8A,riid)) {
+ IDirectInputDevice7_AddRef(iface);
+ *ppobj = This;
+ return DI_OK;
+ }
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3906
------- Additional Comments From lionel.ulmer(a)free.fr 2005-24-11 14:49 -------
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface (this=0x5a1df318,
{54d41080-dc15-4833-a41b-748f73a38179},0x5c57493c)
0009:trace:dinput:IDirectInputDevice2AImpl_QueryInterface Unsupported
interface !
DEFINE_GUID(IID_IDirectInputDevice8A,0x54D41080,0xDC15,0x4833,0xA4,0x1B,0x74,0x8F,0x73,0xA3,0x81,0x79);
So it's trying to get the interface to a Device8A object.
Could you try changing the dlls/dinput/device.c file in the function
'IDirectInputDevice2AImpl_QueryInterface' adding the part with the '+' in front:
if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
IDirectInputDevice7_AddRef(iface);
*ppobj = This;
return DI_OK;
}
+ if (IsEqualGUID(&IID_IDirectInputDevice7A,riid)) {
+ IDirectInputDevice7_AddRef(iface);
+ *ppobj = This;
+ return DI_OK;
+ }
TRACE("Unsupported interface !\n");
return E_FAIL;
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3891
alaeddinaydiner(a)yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From alaeddinaydiner(a)yahoo.com 2005-24-11 14:49 -------
You are right. I got fooled by the rpm release version of the winehq rpm and
missed the '-'.
$rpm -q wine
wine-0.9-1fc4winehq
$wine --version
Wine 0.9
I checked with the true 0.9.1; and indeed the problem is not there.
Thanks a lot.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3930
------- Additional Comments From alex(a)thehandofagony.com 2005-24-11 14:21 -------
I tried with all Windows versions, but was not able to make it work. With
winver 98, however, I was able to make it start (though it only displayed a
black screen). The console output is now different (with winver 2000), probably
because the game has some tests it runs at first start. Now the same thing
happens as with winver 98: a black screen and no crash.
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fd48f20)->(0x10022,00000013)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
fixme:mci:MCI_LoadMciDriver Couldn't load driver for type L"D:".
If you don't have a windows installation accessible from Wine,
you perhaps forgot to create a [mci] section in system.ini
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=3928
tony.lambregts(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download, source
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2666
------- Additional Comments From lionel.ulmer(a)free.fr 2005-24-11 14:10 -------
And does it improve during the game itself ? I know that the menu screen i black
instead of white / yellow but with my patch I think that (at least) the game is
better.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=3930
marcus(a)jet.franken.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Summary|HOMM won't start (unhandled |HOMM won't start (due to
|privileged instruction) |"cli" illegal instruction)
------- Additional Comments From marcus(a)jet.franken.de 2005-24-11 13:58 -------
Can you switch the default windows version using "winecfg" to nt4 or winxp?
perhaps it will not use "cli" in these versions.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.