http://bugs.winehq.org/show_bug.cgi?id=14874
Summary: Might and Magic 7: DirectDraw errors Product: Wine Version: unspecified Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com
I have already applied the steps of the howto on the appdb page.
I get this error when i try to load the game:
DDERR_INVALIDPARAMS in file: D:\MM7Src\MM7\Code\Screen16.cpp at line number: 2320.
A log is provided. If furhter testing from me is required, tell me what I should input in the terminal.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #1 from Xavier Vachon xvachon@gmail.com 2008-08-15 06:28:40 --- Created an attachment (id=15425) --> (http://bugs.winehq.org/attachment.cgi?id=15425) Log
http://bugs.winehq.org/show_bug.cgi?id=14874
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-08-15 08:52:52 --- looks like the app needs some interface from quartz as well.
Could you try if it gets further with native quartz.dll
( An easy way to test is doing
'wget http://kegel.com/wine/winetricks && sh winetricks directx9'
then also do 'regsvr32 quartz'
Beware that winetricks directx9 sets lots of dlls to native, so to help testing further, better try this on some 'test ~/.wine' )
http://bugs.winehq.org/show_bug.cgi?id=14874
Christian Costa titan.costa@wanadoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@wanadoo.fr
--- Comment #3 from Christian Costa titan.costa@wanadoo.fr 2008-08-15 09:42:09 --- This class is in qedit.dll.
http://bugs.winehq.org/show_bug.cgi?id=14874
Spydr4590 Andy4590@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Andy4590@yahoo.com
--- Comment #4 from Spydr4590 Andy4590@yahoo.com 2008-08-15 23:24:27 --- I only get this error when I don't have windows 98 compatibility selected correctly. Also Xavier those registry keys are optional for Direct3d and the game will run without them. That's why I removed you posts and mine but I will leave this bug open.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #5 from Xavier Vachon xvachon@gmail.com 2008-08-15 23:28:15 --- (In reply to comment #4)
I only get this error when I don't have windows 98 compatibility selected correctly. Also Xavier those registry keys are optional for Direct3d and the game will run without them. That's why I removed you posts and mine but I will leave this bug open.
I told you already however that despite selecting Windows 98 compatibility in winecfg, I still get the error. I think it needs more investigation. You told me about a bug in Wine which prevents the compatibility mode to work properly. Maybe is it that component which screws it up?
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #6 from Spydr4590 Andy4590@yahoo.com 2008-08-16 03:23:39 --- This may or may not work for you but you can try running in 16bit instead of 24bit. All you need to do is edit xorg.conf goto Section "Screen" and change DefaultDepth from 24 to 16. Then change Depth from 24 to 16 and save. Reboot linux and this may work for you. Btw what video card are you running? Also are MM6 and MM8 working for you?
http://bugs.winehq.org/show_bug.cgi?id=14874
Alexander Dorofeyev alexd4@inbox.lv changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexd4@inbox.lv
--- Comment #7 from Alexander Dorofeyev alexd4@inbox.lv 2008-08-16 06:27:33 --- DDERR_INVALIDPARAMS is a directdraw error, that shouldn't have anything to do with quartz. You need to generate a log with WINEDEBUG=+ddraw.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #8 from Xavier Vachon xvachon@gmail.com 2008-08-16 08:58:47 --- Created an attachment (id=15447) --> (http://bugs.winehq.org/attachment.cgi?id=15447) DDraw log
As requested. If you need more stuff, just tell me what I have to input in the terminal.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #9 from Alexander Dorofeyev alexd4@inbox.lv 2008-08-16 09:29:33 --- (In reply to comment #8)
Created an attachment (id=15447)
--> (http://bugs.winehq.org/attachment.cgi?id=15447) [details]
DDraw log
As requested. If you need more stuff, just tell me what I have to input in the terminal.
After quick examination don't see anything wrong there. But it seems to be starting some 3d texture manipulation before the crash, and some 3d functions sometimes return DDERR_* codes as well, so please create +ddraw,+d3d7 log.
Please also add wine version to bug data as it's quite important.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #10 from Xavier Vachon xvachon@gmail.com 2008-08-16 09:37:33 --- Created an attachment (id=15448) --> (http://bugs.winehq.org/attachment.cgi?id=15448) Log with ddraw and d3d7
http://bugs.winehq.org/show_bug.cgi?id=14874
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.2
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #11 from Alexander Dorofeyev alexd4@inbox.lv 2008-08-16 10:26:48 --- Unfortunately don't see any clues there either, calls prior to crash appear to be normal :(. Probably needs a full debugging, unfortunately no demo seems to be available on the net.
Appdb mentions there is software and hardware modes. From what I see in the logs, this got to be a hardware mode, right? And there is allegedly some unofficial patch that helps, was it installed?
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #12 from Xavier Vachon xvachon@gmail.com 2008-08-16 10:58:00 --- (In reply to comment #11)
Unfortunately don't see any clues there either, calls prior to crash appear to be normal :(. Probably needs a full debugging, unfortunately no demo seems to be available on the net.
Appdb mentions there is software and hardware modes. From what I see in the logs, this got to be a hardware mode, right? And there is allegedly some unofficial patch that helps, was it installed?
After searching a little, I stumbled on an unofficial patch which I managed to install. With it, I can not select software mode, which I couldn't do before. Unfortunately, I get the same results whatsoever. Is there anything else you can think of which I could do? Just tell me the commands I should input and I will provide them.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #13 from Spydr4590 Andy4590@yahoo.com 2008-08-16 12:10:55 --- Okay I recreated the error that you posted at the start of this bug post.
DDERR_INVALIDPARAMS in file: D:\MM7Src\MM7\Code\Screen16.cpp at line number: 2320
The above error you will receive if you're running windows version 98 (Compatibility Mode), and under Might and Magic VII Setup have chosen software mode. Leave the windows version 98. If you change to Hardware Mode and try to run the game then this will work. You need to hit escape at the 3D0 Movie, after you make your character and the loading screen between the character or your game will crash because of the movies.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #14 from Xavier Vachon xvachon@gmail.com 2008-08-16 12:19:59 --- (In reply to comment #13)
Okay I recreated the error that you posted at the start of this bug post.
DDERR_INVALIDPARAMS in file: D:\MM7Src\MM7\Code\Screen16.cpp at line number: 2320
The above error you will receive if you're running windows version 98 (Compatibility Mode), and under Might and Magic VII Setup have chosen software mode. Leave the windows version 98. If you change to Hardware Mode and try to run the game then this will work. You need to hit escape at the 3D0 Movie, after you make your character and the loading screen between the character or your game will crash because of the movies.
With the unofficial patch, the Windows version compatibility set to Windows XP and the corrections you mentioned, now the game loads for me. I will try to play a little and see what happens. Do you think there is a way to solve the movies however? There is a decent bunch of them in the game, therefore it might be troublesome to try to skip every single one of them.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #15 from Spydr4590 Andy4590@yahoo.com 2008-08-16 12:24:45 --- Please post a link to the unofficial patch for me, I would like to include this patch incase anyone else wants. I am at this moment in time creating a bug report about the movies and trying to do my own debugging. I am also going to update the HOWTO to be clearer on adding hardware mode.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #16 from Xavier Vachon xvachon@gmail.com 2008-08-16 12:30:09 --- (In reply to comment #15)
Please post a link to the unofficial patch for me, I would like to include this patch incase anyone else wants. I am at this moment in time creating a bug report about the movies and trying to do my own debugging. I am also going to update the HOWTO to be clearer on adding hardware mode.
http://www.flamestryke.com/mm7/flamestrykes_mm7.html
Look at the left for Patch, unofficial. It might be necessary to upload it to the Appdb so that a "safer" host contains the file.
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #17 from Xavier Vachon xvachon@gmail.com 2008-08-16 12:32:24 --- I can load the game up to the main menu, but after the party creation table, even when I skip the video, the game does not load. It is still unplayable for me. Is there anything else you did to make the game work?
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #18 from Spydr4590 Andy4590@yahoo.com 2008-08-16 13:08:03 --- (In reply to comment #17)
I can load the game up to the main menu, but after the party creation table, even when I skip the video, the game does not load. It is still unplayable for me. Is there anything else you did to make the game work?
Yeah, I'm having the same issue. You can load your party from the autosave in the main menu like you said after the crash once you restart the game. I was a little quick on the test data. I'm going to debug the movies like I said and I will add this also. If you find anything else I missed you can contact me here or on AIM Screen name Andy45902 or Yahoo IM Screen name Andy4590
http://bugs.winehq.org/show_bug.cgi?id=14874
--- Comment #19 from Xavier Vachon xvachon@gmail.com 2009-01-09 23:07:48 --- I can play the game flawlessly. I consider this bug fixed for me. If others have issues, they should retest and report.
http://bugs.winehq.org/show_bug.cgi?id=14874
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #20 from Austin English austinenglish@gmail.com 2009-01-10 00:19:18 --- Fixed then.
http://bugs.winehq.org/show_bug.cgi?id=14874
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:39:00 --- Closing bugs fixed in 1.1.13.