View Single Post
  #102  
Old 03-07-2013, 04:23 PM
hextasy hextasy is offline
Aviak

hextasy's Avatar

Join Date: Aug 2011
Posts: 53
Default amd64 gentoo wine-1.5.24 - WORKS

I'm happy to say that I got p99 working just fine on my gentoo machine today!

3.7.10-gentoo #4 SMP PREEMPT Wed Mar 6 21:45:01 EST 2013 x86_64 AMD Phenom(tm) II X4 955 Processor AuthenticAMD GNU/Linux
VGA compatible controller: NVIDIA Corporation GT200 [GeForce GTX 260] (rev a1)

I had to patch the existing wine-1.5.24 ebuild though.

Do some reading on using ebuild. pretty much you'll use 'ebuild wine-x.x.x.ebuild prepare' - then do the patch, then use ebuild .. compile, and finally ebuild .. merge.

I should have been not so lazy, and made an ebuild - but I didn't, so this is what you get [You must be logged in to view images. Log in or Register.]

you'll need to edit/patch /var/tmp/portage/app-emulation/wine-1.5.24/work/wine-1.5.24/dlls/d3d9/directx.c :
Quote:
--- directx.c.old 2013-03-07 14:35:59.458000000 -0500
+++ directx.c 2013-03-07 14:15:00.057000000 -0500
@@ -381,6 +381,7 @@

pCaps->MaxVertexShaderConst = min(D3D9_MAX_VERTEX_SHADER_CONSTANTF, pCaps->MaxVertexShaderConst);
pCaps->NumSimultaneousRTs = min(D3D9_MAX_SIMULTANEOUS_RENDERTARGETS, pCaps->NumSimultaneousRTs);
+ pCaps->MaxVertexBlendMatrices=0x4;

if (pCaps->PixelShaderVersion > 3)
pCaps->PixelShaderVersion = D3DPS_VERSION(3,0);
I can't tell you exactly what else I used exactly, to get this working - I may have missed a step (like copying that hex edited d3d9_30.dll to the system32 folder). I tried a lot of things before I had to resort to patching the wine source.

I also used winetricks for core fonts (Including Tomaha, doubt it's needed), mono and the whole d3dx9 package

Be sure to read everyone elses suggestions about disabling the VertexShaders as well.
Reply With Quote