Hey guys, I'm a new Ubuntu convert (installed through Wubi, and am blown away!) I'd love to get wine working so I play games etc, but I've got a lot of learning to do when it comes to installing and getting things working. So, I want to use the 1.0-rc1 version of wine, but CoD4 requires the 3dmark.diff patch. This is what I think I need to be doing: with the 3dmark.diff file (from http://bugs.winehq.org/attachment.cgi?id=8548) in the extracted wine-1.0-rc1 directory (from http://prdownloads.sourceforge.net/wine/wine-1.0-rc1.tar.bz2) Code: patch -p1 < 3dmark.diff However, I'm getting an error: [code] patching file dlls/wined3d/directx.c Hunk #1 succeeded at 846 (offset 172 lines). Hunk #2 FAILED at 2044. Hunk #3 FAILED at 2361. Hunk #4 FAILED at 2423. 3 out of 4 hunks FAILED -- saving rejects to file dlls/wined3d/directx.c.rej [code] following which I can't run ./configure Am I doing the right thing?! Could someone point me in the right direction? Thanks :)[/code]
On Fri, 16 May 2008 04:45:52 -0500 "csocean" <wineforum-user at winehq.org> wrote:> However, I'm getting an error: > [code] > patching file dlls/wined3d/directx.c > Hunk #1 succeeded at 846 (offset 172 lines). > Hunk #2 FAILED at 2044. > Hunk #3 FAILED at 2361. > Hunk #4 FAILED at 2423. > 3 out of 4 hunks FAILED -- saving rejects to file dlls/wined3d/directx.c.rej > [code] > > following which I can't run ./configure > > Am I doing the right thing?! Could someone point me in the right direction? Thanks :)[/code] >you are doing it right, but it seems this patch is for another wine version, the file dlls/wined3d/directx.c has changed since then and so the patch does not work correctly. if you have a bit of c knowledge you could probably take a look at what the patch file is placing where. perhaps the changes in the patch are already in the latest wine version you should check if cod4 runs w/o the patch -- Marcel W. Wysocki <maci at satgnu.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20080516/b4e00377/attachment.pgp
Hi, csocean ?rta:> Hey guys, > > I'm a new Ubuntu convert (installed through Wubi, and am blown away!) > > I'd love to get wine working so I play games etc, but I've got a lot of learning to do when it comes to installing and getting things working. > > So, I want to use the 1.0-rc1 version of wine, but CoD4 requires the 3dmark.diff patch. > > This is what I think I need to be doing: > with the 3dmark.diff file (from http://bugs.winehq.org/attachment.cgi?id=8548) in the extracted wine-1.0-rc1 directory (from http://prdownloads.sourceforge.net/wine/wine-1.0-rc1.tar.bz2) > > Code: > > patch -p1 < 3dmark.diff >The Wine code since that patch was rearranged a bit. I tried to refresh the patch for 1.0-rc1, semantically it should be the same. Let us know how it works.> However, I'm getting an error: > [code] > patching file dlls/wined3d/directx.c > Hunk #1 succeeded at 846 (offset 172 lines). > Hunk #2 FAILED at 2044. > Hunk #3 FAILED at 2361. > Hunk #4 FAILED at 2423. > 3 out of 4 hunks FAILED -- saving rejects to file dlls/wined3d/directx.c.rej > [code] > > following which I can't run ./configure >Can you run ./configure without any patch?> Am I doing the right thing?! Could someone point me in the right direction? Thanks :)[/code] > > > > > > >-------------- next part -------------- A non-text attachment was scrubbed... Name: wine-3dmark-1.0-rc1.diff Type: text/x-diff Size: 2644 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20080516/9da3a564/attachment.diff
ah I see! That helps a lot! [Embarassed] I'm not familiar enough with C, or the manner in which the patch works to delve into that just yet. Wine & WoW work fine without the patch, however CoD4 returns an error about my graphics card not being able to handle enough textures - I'm running an 8800gtx with the 169.12 drivers, and I've updated directx in wine (or at least the installer ran without a glitch, does that count as success, or is there more to it?)
> The Wine code since that patch was rearranged a bit. > I tried to refresh the patch for 1.0-rc1, semantically it should be the > same.Where can I get this refreshed patch from?
OK, I'll start again with a fresh wine installation then. I may use a previous version of wine for which the patch works, see if that helps with CoD4. I'll post back with the results later.
thanks Zoltan, your patch applied flawlessly. However, I can't run ./configure successfully now... I get: Code: sudo ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc -m32 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. I ran checkinstall after that, and noticed that the achitecture is set to AMD64, though I have a intel e6750, which is 64 bit, but I *think* I'm running 32bit Ubuntu (wubi didn't mention anything.) Code: checkinstall checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. The package documentation directory ./doc-pak does not exist. Should I create a default set of package docs? [y]: n ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ csocean at csocean-desktop ] 1 - Summary: [ Package created with checkinstall 1.6.1 ] 2 - Name: [ wine-1.0 ] 3 - Version: [ rc1 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ amd64 ] 8 - Source location: [ wine-1.0-rc1 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] Enter a number to change any of them or press ENTER to continue: Installing with make install... ========================= Installation results ==========================make: *** No rule to make target `install'. Stop. **** Installation failed. Aborting package creation. Cleaning up...OK Bye. Really appreciate the help guys![/quote]
austin987 wrote:> On Fri, May 16, 2008 at 11:40 AM > $ wget kegel.com/wine/hardy.sh > $ sh hardy.shwell, that installed a lot of stuff, and I've not a clue what it was! Am I too trusting? [Wink] but regardless, it didn't help :(
Ah, you got a second post in while I was writing!! ;-) DanKegel wrote:> On Fri, May 16, 2008 at 9:40 AM > You're running 64 bit Ubuntu. That makes things harder to build. > If WUBI is doing this to people by default, it should be shot. > - DanWell, consider wubi shot then, I'm off back to Vista (which I actually really liked until I installed wubi and saw how good ubuntu is!) to get the 32bit ubuntu package and partition/install... hopefully I'll post back later full of cheer :)