TR4-Linux and Wine

PC problems/recommendations

Moderators: MichaelP, Tinka

Post Reply
User avatar
walter90
Newbie
Newbie
Posts: 57
Joined: 26 Jan 2011 18:59

TR4-Linux and Wine

Post by walter90 » 03 May 2011 18:06

Hi!
I can play TR 1, 2, 3 and 5's on my Puppy Linux machine but I can't play 4's. I have Wine but for some reason all I get is a blurry box after the load screen.
Does anyone know of a way to play 4's on Linux using Wine?

Thanks!

User avatar
Blue43
Senior Member
Senior Member
Posts: 1702
Joined: 06 Mar 2010 03:32
Location: Arizona

Re: TR4-Linux and Wine

Post by Blue43 » 24 Jun 2011 04:01

I an experimenting with all kinds of different Linux Distros at the moment but no luck with TR4 in Wine.
ΜΟΛΩΝ ΛΑΒΕ

maxchen
Newbie
Newbie
Posts: 63
Joined: 29 Sep 2004 11:46

Re: TR4-Linux and Wine

Post by maxchen » 30 Aug 2011 10:15

you have to patch the wine to play tr4 or custom level in linux

here is the patch come from wine's website :

Code: Select all

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 16327e4..89531c4 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3312,7 +3312,7 @@ static HRESULT process_vertices_strided(struct wined3d_device *device, DWORD dwD
              *
              */
 
-            if( !doClip ||
+            if( !doClip &&
                 ( (-rhw -eps < x) && (-rhw -eps < y) && ( -eps < z) &&
                   (x <= rhw + eps) && (y <= rhw + eps ) && (z <= rhw + eps) &&
                   ( rhw > eps ) ) ) {
@@ -3353,11 +3353,7 @@ static HRESULT process_vertices_strided(struct wined3d_device *device, DWORD dwD
                  * undergoes a different calculation.
                  */
                 TRACE("Vertex got clipped\n");
-                x += rhw;
-                y += rhw;
-
-                x  /= 2;
-                y  /= 2;
+                y  /= -1;
 
                 /* Msdn mentions that Direct3D9 keeps a list of clipped vertices
                  * outside of the main vertex buffer memory. That needs some more
download wine-1.3.25,patch it and compile, then install
tr sould run well except gamma value in game is a little big

User avatar
vimmers
Master Chatter
Master Chatter
Posts: 11735
Joined: 15 Mar 2002 16:10
Location: denmark

Re: TR4-Linux and Wine

Post by vimmers » 30 Aug 2011 10:55

good work or find maxchen
not that i shall use it but good job

User avatar
Blue43
Senior Member
Senior Member
Posts: 1702
Joined: 06 Mar 2010 03:32
Location: Arizona

Re: TR4-Linux and Wine

Post by Blue43 » 31 Aug 2011 18:49

Hey thanks! I just noticed that post. I will definitely give it a try and report back.
ΜΟΛΩΝ ΛΑΒΕ

User avatar
Dutchy
Master Chatter
Master Chatter
Posts: 9084
Joined: 25 Feb 2002 14:09
Location: Istanbul (but I'm Dutch)
Contact:

Re: TR4-Linux and Wine

Post by Dutchy » 13 Sep 2011 20:10

walter90 wrote:Hi!
I can play TR 1, 2, 3 and 5's on my Puppy Linux machine but I can't play 4's. I have Wine but for some reason all I get is a blurry box after the load screen.
Does anyone know of a way to play 4's on Linux using Wine?

Thanks!
Couldn't help it... :lol: Don't use too much Wine and maybe the box won't get blurry??? :lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests