[Bug 24009] New: Tomb Raider 4: Wrong camera position (Unnecessary Viewport Scaling transformation)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 15 02:51:24 CDT 2010


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

           Summary: Tomb Raider 4: Wrong camera position (Unnecessary
                    Viewport Scaling transformation)
           Product: Wine
           Version: unspecified
          Platform: x86-64
               URL: http://tombraider.ru/files/demos/pc/tr4_demo.rar
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sudemon at gmail.com


Created an attachment (id=30158)
 --> (http://bugs.winehq.org/attachment.cgi?id=30158)
Screenshot

Game start normal with "Wine Windows version" is win98.

But the camera is too close to the character, than his back can not see
anything.

If I remove these lines in the code of Wine in the file
"dlls/wined3d/device.c", in "process_vertices_strided" function, Viewport
transformation part... :

3946,3948d3945
<                 x *= vp.Width / 2;
<                 y *= vp.Height / 2;
<                 z *= vp.MaxZ - vp.MinZ;
3950,3952d3946
<                 x += vp.Width / 2 + vp.X;
<                 y += vp.Height / 2 + vp.Y;
<                 z += vp.MinZ;

... and recompile(reinstall) wine, that CAMERA is WORKING PROPERLY, and the
GAME becomes PLAYABLE!!

May be x,y,z values corrupted, or viewport scaling transformation makes by game
itself.

May be wine did not recognize any special flag for the viewport transformation
(maybe except the "scaling" is more modes of viewport transformation)

===============
You can download demo versions of game on one of these links:
http://www.tombraiderchronicles.com/cgi-bin/dl03/dl.pl?dm_tlrdemo
http://www.tombraiderchronicles.com/cgi-bin/dl03/dl.pl?dm_tlrtimesdemo
or
http://tombraider.ru/files/demos/pc/times_level.rar
http://tombraider.ru/files/demos/pc/tr4_demo.rar
===============
PS: Game used DirectX 6.1

-- 
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