https://bugs.winehq.org/show_bug.cgi?id=38358
Bug ID: 38358 Summary: Chessmaster X/XI dynamic lighting no longer present in wine-1.7.40 (regression) Product: Wine Version: 1.7.40 Hardware: x86 URL: https://archive.org/download/Chessmaster10thEditionDem o/Chessmaster10thEditionDemo.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: multitude@internode.on.net Regression SHA1: 7a8ac888de232578dd36f799cf203e5a59fe5b70 Distribution: ---
Dynamic lighting in Chessmaster X/XI is no longer working in Wine v1.7.40.
According to a 'git bisect':
7a8ac888de232578dd36f799cf203e5a59fe5b70 is the first bad commit commit 7a8ac888de232578dd36f799cf203e5a59fe5b70 Author: Matteo Bruni mbruni@codeweavers.com Date: Thu Mar 26 20:12:17 2015 +0100
wined3d: Don't use the builtin FFP uniform for the normal matrix.
:040000 040000 a3b3bc5c8d13f32c179f38dab44e33b53e780736 d8d2fb22b22ffa85e0e05a41cf1873fef04bce60 M dlls
TESTING INSTRUCTIONS 1. Install the Chessmaster 10 demo from the URL (you may need to be in a 32-bit WINE environment for the installation to work). 2. Run 'game.exe'. 3. Once you've created a user, select the icon left of the rotating chess board and then select the 'Training Mode' icon.
Dynamic lighting works in v1.7.39, albeit incorrectly. See https://bugs.winehq.org/show_bug.cgi?id=37838
cheers, multitude
https://bugs.winehq.org/show_bug.cgi?id=38358
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=38358
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression CC| |matteo.mystral@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- I'm not sure what's the issue you mention. For me it now looks the same as on Windows, as far as I can see.
Notice that the light is fixed in the scene somewhere behind and to the right of the observer. If you rotate the chessboard you can see the lighting updating accordingly. That means, for example, that the shadows are always directed towards the top-left corner of the screen while moving over the chessboard.
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #2 from multitude multitude@internode.on.net ---
From https://bugs.winehq.org/show_bug.cgi?id=37838 does it look like the
'Chessmaster X with OpenGL' or 'Chessmaster X with Direct3D' attachment?
Is Chessmaster running in Direct3D render mode? You can configure it via 'cmsettings.exe'.
cheers, multitude
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- Okay, let's try to clear up these bugs.
(In reply to multitude from comment #2)
From https://bugs.winehq.org/show_bug.cgi?id=37838 does it look like the 'Chessmaster X with OpenGL' or 'Chessmaster X with Direct3D' attachment?
It does look like 'Chessmaster X with Direct3D' for me, which is what it looked like before the regression caused by 9811d85141610f903d6c8de3b00be6c853ece182 (wine 1.7.39).
Is Chessmaster running in Direct3D render mode? You can configure it via 'cmsettings.exe'.
Direct3D.
So AFAICS the patch you mention actually fixes a regression (that is the broken lighting from attachment 51137) and I don't see any new regression compared to wine 1.7.38.
The issue bug 37838 was originally about is probably still there instead, but I'll comment on that bug in that regard.
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #4 from multitude multitude@internode.on.net --- Looking at why you're getting a different result, I've found the 'cmsettings.exe' and 'game.exe' have to be run from the current directory. Otherwise it creates a botched 'cm.ini' config file in whatever's your current directory and then 'game.exe' sees it's botched and reverts to OpenGL, even though 'cmsettings.exe' says it's in Direct3D mode.
As for the regression, I can 'git checkout' up to 'wine-1.7.40'. Could a later commit have since sorted it?
Also, you mention 'wine-1.7.38' and 'wine-1.7.39' when the regression is in 'wine-1.7.40'. That intentional?
cheers, multitude
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #5 from Matteo Bruni matteo.mystral@gmail.com ---
Also, you mention 'wine-1.7.38' and 'wine-1.7.39' when the regression is in 'wine-1.7.40'. That intentional?
Yeah. For me 7a8ac888de232578dd36f799cf203e5a59fe5b70, which is in wine-1.7.40, fixes the lighting from the regression caused by 9811d85141610f903d6c8de3b00be6c853ece182 (i.e. random lighting of every object), which was merged before wine-1.7.39, and doesn't introduce any new visible regression.
Can you attach screenshots of what you see before and after 7a8ac888de232578dd36f799cf203e5a59fe5b70?
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #6 from multitude multitude@internode.on.net --- The patch provided in bug 37838 fixes this regression.
Attaching screenshots for reference.
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #7 from multitude multitude@internode.on.net --- Created attachment 51242 --> https://bugs.winehq.org/attachment.cgi?id=51242 Before the causing commit
https://bugs.winehq.org/show_bug.cgi?id=38358
multitude multitude@internode.on.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51242|Before the causing commit |Before the causing commit description| |(random piece lighting | |direction)
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #8 from multitude multitude@internode.on.net --- Created attachment 51243 --> https://bugs.winehq.org/attachment.cgi?id=51243 After causing commit (no piece lighting)
https://bugs.winehq.org/show_bug.cgi?id=38358
--- Comment #9 from multitude multitude@internode.on.net --- Created attachment 51244 --> https://bugs.winehq.org/attachment.cgi?id=51244 After bug 37838 patch applied to causing commit (correct piece lighting)
https://bugs.winehq.org/show_bug.cgi?id=38358
multitude multitude@internode.on.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from multitude multitude@internode.on.net --- Confirmed fixed in Wine v1.7.42
https://bugs.winehq.org/show_bug.cgi?id=38358
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.43.
https://bugs.winehq.org/show_bug.cgi?id=38358
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=37838 Resolution|FIXED |INVALID Regression SHA1|7a8ac888de232578dd36f799cf2 | |03e5a59fe5b70 |
--- Comment #12 from Matteo Bruni matteo.mystral@gmail.com --- This wasn't really a bug, 7a8ac888de232578dd36f799cf203e5a59fe5b70 fixed lighting broken by 9811d85141610f903d6c8de3b00be6c853ece182. There was a separate lighting issue with this game which is tracked by bug 37838.