[Bug 31260] Tomb Raider 4 Broken Lighting

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 1 12:09:29 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=31260

progger1986 <anubis1 at linux-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anubis1 at linux-ecke.de

--- Comment #10 from progger1986 <anubis1 at linux-ecke.de> 2013-02-01 12:09:29 CST ---
A small bit to make the game a bit more playable.
It reduces the overall brightness of the game. Since there is no dynamic
lighting working reducing brightness too much is a bad idea.

So (for Wine 1.5.23) open in wines sources dlls/wined3d/device.c

In line 3425 change the word '0xffffffff' to '0x40404040'

compile it and have a bit more fun with playing.

the value 0x40404040 i found by trying and seems to be a good value.
When changing to 0x00000000 it will look as its supposed to be, but entities
are black.
With these changes you will see, that dynamic lighting is missing at all.

Note: I have no idea if this change will break some other games.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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