PDA

View Full Version : How I got Guild Wars working in Wine 0.9.23



Pages : [1] 2 3 4

Jarn
October 23rd, 2006, 11:38 PM
EDIT (08/09/07) - UPDATED ONLY THE 32-BIT SCRIPT FOR 0.9.42
EDIT (07/02/07) - UPDATED FOR 0.9.40
EDIT (06/28/07) - Cleared everything but the edit history and redid it to reflect the current status of Guild Wars in wine.
EDIT (03/31/07) - See the note below - now defunct as the note was removed
EDIT (03/30/07) - The 64-bit script is now updated. Everyone say "Thank you, Azakus!".
EDIT (03/25/07) - UPDATED FOR 0.9.33. Note, the 64-bit scripts are not yet updated
EDIT (03/12/07) - Fixed some problems pointed out to me in the scripts.
EDIT (03/02/07) - UPDATED FOR 0.9.32
EDIT (01/27/07) - If you tried the installwine+gw.sh script prior to today, it most likely did not work. I had some typoes.
EDIT (01/25/07) - UPDATED FOR 0.9.30 - Added scripts for AUTOMATION! Also, added asterisks in the file paths so I only have to update the link to the source every time. ;)
EDIT (01/23/07) - UPDATED FOR 0.9.29
EDIT (About 01/01/07)- UPDATED FOR 0.9.28

NOTE: I have removed the old manual guide because I deemed it unnecessary due to the ease with which Guild Wars can now be run under Wine.

Read the list before you do anything as you may just be able to use the package from the wine repositories.

Step 1: Download the script

Download one of the attachments at the bottom of this post. Get winebuild.sh if you are on a 32-bit computer AND you get the "Too many concurrent lights" error (a description of this is provided under Troubleshooting). If you are on a 64-bit computer, you can get the 64-bit version helpfully provided by Azakus. This is necessary even if you do not have the "Too many concurrent lights" error (I think; all speculation - ask Azakus if you want to know for sure) because Wine needs to be compiled differently under a 64-bit operating system. Thanks, Azakus!
NOTE: These scripts are for Edgy only but if you are using Breezy or Dapper it should be VERY easy to convert it to that. Just replace the word 'edgy' in the line "wget http://kegel.com/wine/edgy.sh -O ~/winestuff/pkgs.sh" with breezy or dapper.

Step 2: Run the script

sh <<insert the path to the script you downloaded>>

Troubleshooting
A common error seems to be that Guild Wars freezes with this output repeatedly in the command line: "fixme:dbghelp:SymInitializeW what to do ??". There appears to be two causes of this.


The first is the "Too many concurrent lights" error. When this happens, the fixmes above are preceded by an error to the effect of "Too many concurrent lights". If this happens and you are on a 32-bit computer, run the winebuild.sh script. If you are on a 64-bit script, run Azakus' winebuild64.sh and tell it that, yes, you want to use the concurrent lights fix.
Wine doesn't appear to use the new sound system that Guild Wars implemented in a recent update. This can be fixed in three ways: running it with the -dsound flag, the -nosound flag, or turning off sound in winecfg. To run it with those flags, you would run it pretty much the same way you always do but append that on to the end of your command:

wine "C:\Program Files\Guild Wars\Gw.exe" -dsound


Good luck and happy gaming. :)

handy
October 24th, 2006, 12:18 PM
Your how-to looks great! :KS

How does GW play? Is it smooth, are there any zoning problems (lag after going through portals)?

I will have to put aside some time to try this out.

Thanks... :D

Jarn
October 24th, 2006, 01:03 PM
It works great. For a few seconds after you zone, you have no mouse. But it comes back shortly, quicker if you right-click. I have about 30-35 fps average, so no lag :D. There is this, though:


create a character. This does not work. When you try to type the name at the final stage of character creation, it freezes

But you may not have that problem. I don't think I've seen anyone else complain of this problem with Guild Wars.

FyreBrand
October 25th, 2006, 02:05 AM
I will be trying this soon. I don't have an established .dat file anymore because I nuked my Windows partition after the Nightfall PvE preview. So I guess I'll have to see how the login bug you talked about works out. I have hopes.

Jarn
October 25th, 2006, 02:25 AM
I guess I'll have to see how the login bug you talked about works out.I have a feeling that that is not a common thing, that it's just an oddity of something about my system.

Jarn
October 25th, 2006, 02:39 AM
Well, I found something else that doesn't work quite right, but it works well enough to play. I had never done any zoning besides in the Balthazar isles and I had extrapolated that all zoning would be the same. However, I just tried to zone in Prophecies - it works, all the cities show up, but when zoomed out it's all clouds and when zoomed in it's like black and orange clouds. :O

EDIT:Okay, I didn't do anything and now it's working. So apparently that sometimes works, sometimes doesn't. O.o Well, it always works, but sometimes it doesn't show the background correctly.

FyreBrand
October 25th, 2006, 03:19 AM
I'm wondering if running the -image switch will be helpful or not. Whenever ANet put out a major update or after a few weekly updates I used to run a GuildWars shortcut with the -image switch on so I could have all of the content decompressed. It might help for the system not to have to decompress files from the .dat file on the fly.

I really can't wait to try this out and see if I can get it to work. I'm pretty much of a Wine newbie so I'll do a little reading on how to configure that before I start.

Jarn
October 25th, 2006, 03:50 AM
I'm wondering if running the -image switch will be helpful or not.I don't know, I always use -image.


I really can't wait to try this out and see if I can get it to work. I'm pretty much of a Wine newbie so I'll do a little reading on how to configure that before I start.I'm a newbie too. :( Good luck! I hope this works for you and it's not just that I got lucky or something like that.

FyreBrand
October 25th, 2006, 04:41 AM
The wine install went pretty good, at least no errors, but I am getting a segmentation fault on winecfg. I will do a little more reading and try again later. I am using Edgy so I have to figure out if there is some version incompatibility somewhere between that and Dapper.

If nothing else I will do a quick Dapper reinstall over the holiday and see if it works under that before doing a fresh Edgy install.

Jarn
October 25th, 2006, 09:06 PM
Did you have any luck?

FyreBrand
October 26th, 2006, 02:35 AM
Yes and no. I went through the setup and compile again and checked some packages in the requirement list. There were a couple in that list that had broken dependencies on my machine. This is mostly due to a couple edgy updates that have broken several packages. So I successfully got those installed and the depends fixed.

I did the compile with no detected errors. In fact it seemed to go smooth the whole way. It was only at the point where I tried to run winecfg or wine itself that I got the Segmentation Fault. I'm not really sure what is causing this or what the memory problem is. The only thing I can figure is that you are running Dapper and the libraries at that version work right for this compile. I am thinking that Edgy has one or more of those libraries at different versions and that it breaks because of that.

I can't really nuke the OS until Thanksgiving (US) holiday or maybe even the beginning of Christmas holidays for me.

I hadn't ever intended on returning to Dapper because there are so many cool things about Edgy, but if I can run GW in Dapper but not Edgy then I will revert. :(

Jarn
October 26th, 2006, 09:21 PM
Well, I may have just gotten lucky that GW worked for me. So it may not be worth it, you may do it and it may just not end up working anyway.

ThisNamePwnzUrz
October 27th, 2006, 10:04 PM
Im getting stuck at the patch part

nimitz@nimitz-desktop:~/winestuff$ patch <~/winestuff/32mouse.patch
can't find file to patch at input line 8
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: dlls/winex11.drv/mouse.c
|================================================= ==================
|RCS file: /home/wine/wine/dlls/winex11.drv/mouse.c,v
|retrieving revision 1.1
|diff -u -r1.1 mouse.c
|--- dlls/winex11.drv/mouse.c 16 Jun 2006 13:19:17 -0000 1.1
|+++ dlls/winex11.drv/mouse.c 24 Jun 2006 21:07:54 -0000
--------------------------
File to patch:

what do i do at this point?

ThisNamePwnzUrz
October 27th, 2006, 10:34 PM
yeah never mind i got my freind to do it and its working great thx. :D

ThisNamePwnzUrz
October 27th, 2006, 11:08 PM
i cant get the wine desktop to acutally display guild wars...it just shows the mouse and a blue horizon....any suggestions???

ThisNamePwnzUrz
October 27th, 2006, 11:13 PM
ok i basicly fixed everything, i can log on and all that but all the words are screwed up...1 problem leads to another....

der_joachim
October 28th, 2006, 09:29 AM
Well, I may have just gotten lucky that GW worked for me. So it may not be worth it, you may do it and it may just not end up working anyway.

There may be more.

First of all: thank you for your guide. If I had still run Dapper, things would possibly have worked and that would have been a major step forward.

I run edgy now and since some libs were updated, Wine gives me segmentation faults galore. Reading the forums, this problem is common to all wine versions an dnot just the patched ones. It is probably an edgy issue (no pun intended).

There seems to be a new version of wine, but there is no edgy repo yet for edgy, so I will be patient some more then. ;)

erk
October 31st, 2006, 06:18 AM
Anyone tried the 32 bit mouse cursor patch on Wine 0.9.24 source yet to see if it still works?

chadk
October 31st, 2006, 06:07 PM
Will applying this WINE patch stop World of Warcraft from running on it's patched wine 9.21 or the other way around?

FyreBrand
November 1st, 2006, 07:23 AM
Will applying this WINE patch stop World of Warcraft from running on it's patched wine 9.21 or the other way around?I'm not sure I understand exactly what you're asking. If you are asking if you compile and install Wine 0.9.24 if that will interfere with earlier versions then the answer is yes.

The patches mentioned in the thread are mouse functionality patches and are applied at the time you compile Wine. Wine version 0.9.24 isn't actually a patch but an entire version update.

If there is a method to install two different versions concurrently (outside of a virtual machine of some type) I'm not aware of it. There very well could be. Maybe someone with more experience can answer that detail.

chadk
November 1st, 2006, 02:42 PM
I guess what I'm asking is. Can I run WoW AND Guildwars from the same WINE install. See, they both seem to require some special patch to wine in order to function correctly. Can I install both patches to Wine in order to play one or the other at any given time? Has anyone done this?

FyreBrand
November 1st, 2006, 07:16 PM
I can't answer that question. I'm sure it could be possible but I don't know.

Jarn
November 1st, 2006, 10:21 PM
Wow, I haven't checked this thread in awhile. It got big! I haven't checked it because I've been playing Nightfall ;). Sadly, I've been experiencing some crashes in Nightfall so I switched back to playing Guild Wars in Windows. They weren't that common, and I think it may have just been specific to one mission, but I didn't want to get through it as quick as possible. Once I beat it on the first character, I'll be going back to Linux. I think it may just have been specific to one mission. I got to about level 14 and beat the first twoish missions, but, in the one where you're killing Apocrypha, I kept crashing as soon as I entered. So then I went back to Windows, and that's what I'm using currently to play Guild Wars.

FyreBrand
November 1st, 2006, 10:52 PM
I got it running. It's pretty choppy on my current card ATI X300, but I have a Geforce 6800 on it's way. That should help a lot.

By the way. The seg-faults were coming from a problem with the make file. This thread provides a CFLAG export (http://www.ubuntuforums.org/showthread.php?t=287986) that is needed.

If I try and configure sound in winecfg then it crashes. So I have no sound but everything else is working okay.

Thanks a lot for the info and links to files. This was super duper helpful. I don't know if I'm going to buy Nightfall yet, but I know I'm sure not putting a Win partition back on my machine. I might just have to wait a while and see how it all goes.

Thanks again Jarn, you rock!

Jarn
November 1st, 2006, 10:59 PM
I have a Geforce 6800 on it's way. That should help a lot.I <3 my Geforce 6800. I'm glad you got it working! Are you running it on 0.9.24 or 0.9.23? And are you running it on Edgy? Once I get my Paragon through Nightfall, I'll probably upgrade both Ubuntu and Wine and see how it goes from there.

FyreBrand
November 1st, 2006, 11:30 PM
I'm running 0.9.24 and on Edgy

There were a couple modifications I made to the package install script. Well actually I used aptitude to install them all by hand in small chunks. There is a library near the bottom of that script that is older than one in the Edgy repo so I kept the newer version and it works okay I think.

I can input text in the login screen okay, but I have to wait a little for everything to load before it will let me.

I also have to wait a little for the mouse cursor to show up but it generally works good.

The only small problem I'm having so far is that I have my virtual desktop set to 1280x1024 and I set my GW resolution to that but it seems to be staying at an actual size of 1024x768. I can't find a way to force it to resize. The option to configure on right-clicking the title bar isn't working. No biggie I suppose. Hopefully I will figure it out soon.

erk
November 20th, 2006, 06:04 AM
Anyone tried 0.9.25 yet?

orgy
November 22nd, 2006, 02:08 AM
Anyone tried 0.9.25 yet?

i have. i got no cursor and can only rotate camera left/up. Everything else works though.

FyreBrand
November 22nd, 2006, 08:36 AM
i have. i got no cursor and can only rotate camera left/up. Everything else works though.Did you apply the two mouse patches when you compiled or did they not work?

lioncoeur
November 22nd, 2006, 09:27 AM
If I try and configure sound in winecfg then it crashes. So I have no sound but everything else is working okay.


This actually seems to be a bug with the alsa or arts driver. What I did was find the two drivers in the installed wine directory and renamed them to alsa_crap arts_crap or something like that. Then when you open the sound tab, it will complain about not finding the drivers but will give you the option to use oss or esd without crashing. I remember reading about this on a wine thread, I think to do with Warcraft III. Can't really find it! In any case if it doesn't work for you, you can just rename the drivers back to what they were before.

Currently compiling wine as per your instructions Jarn. It would be neat to get this working :D I really like Guild Wars.

I use an Intel 915GM. A recurring problem I've had with games is that X doesn't seem to detect the 128 MB of Video Ram in this card. It pretends that it actually doesn't have any Video Ram and I really don't know how to get around this problem. Should I look into compiling X with that card's driver or something?

FyreBrand
November 22nd, 2006, 08:25 PM
This actually seems to be a bug with the alsa or arts driver. What I did was find the two drivers in the installed wine directory and renamed them to alsa_crap arts_crap or something like that. Then when you open the sound tab, it will complain about not finding the drivers but will give you the option to use oss or esd without crashing. I remember reading about this on a wine thread, I think to do with Warcraft III. Can't really find it! In any case if it doesn't work for you, you can just rename the drivers back to what they were before.

Currently compiling wine as per your instructions Jarn. It would be neat to get this working :D I really like Guild Wars.

I use an Intel 915GM. A recurring problem I've had with games is that X doesn't seem to detect the 128 MB of Video Ram in this card. It pretends that it actually doesn't have any Video Ram and I really don't know how to get around this problem. Should I look into compiling X with that card's driver or something?

Thanks, that's interesting to know.

How does the current wine compile work for you?

xixsixxix
November 24th, 2006, 01:46 PM
I'm running 0.9.24 and on Edgy

The only small problem I'm having so far is that I have my virtual desktop set to 1280x1024 and I set my GW resolution to that but it seems to be staying at an actual size of 1024x768. I can't find a way to force it to resize. The option to configure on right-clicking the title bar isn't working. No biggie I suppose. Hopefully I will figure it out soon.

I'm having the same resolution problem in 0.9.25 (on Debian Etch/Sid). X and virtual desktop are set to 1280x1024, but it always scales to 1024x768, regardless of how i attempt to change the settings. Running fullscreen changed my X resolution to 1024x768 which is no good either. Managed to get the game running beautifully in every other respect though. If anyone figures out how to patch/fix the resolution issue I'd love to hear it.

I don't think messing with window setting in gnome really counts as a "fix" since not everyone runs gnome, But if it works for you more power to ya =) No such luck here.

tekno62
December 5th, 2006, 02:37 AM
Sorry but Im new to Ubuntu - kinda still a noobe to Linux even tho I do ok with FC3/4

I get this error

ddon@don-desktop:~/winestuff$ sudo apt-get install patch
Reading package lists... Done
Building dependency tree... Done
patch is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
don@don-desktop:~/winestuff$ sh pkgs.sh
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
don@don-desktop:~/winestuff$


when I try step 3 ( sh pkgs.sh )

I have searched for the root access for Ubuntu but from what I have read you cant do that.

hope someone has an idea on what Im doing wrong.

thanks

hikaricore
December 5th, 2006, 03:46 AM
Sorry but Im new to Ubuntu - kinda still a noobe to Linux even tho I do ok with FC3/4

I get this error

ddon@don-desktop:~/winestuff$ sudo apt-get install patch
Reading package lists... Done
Building dependency tree... Done
patch is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
don@don-desktop:~/winestuff$ sh pkgs.sh
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
don@don-desktop:~/winestuff$


when I try step 3 ( sh pkgs.sh )

I have searched for the root access for Ubuntu but from what I have read you cant do that.

hope someone has an idea on what Im doing wrong.

thanks

sudo is your friend:


sudo sh pkgs.sh

hikaricore
December 5th, 2006, 03:52 AM
I'm having the same resolution problem in 0.9.25 (on Debian Etch/Sid). X and virtual desktop are set to 1280x1024, but it always scales to 1024x768, regardless of how i attempt to change the settings. Running fullscreen changed my X resolution to 1024x768 which is no good either. Managed to get the game running beautifully in every other respect though. If anyone figures out how to patch/fix the resolution issue I'd love to hear it.

I don't think messing with window setting in gnome really counts as a "fix" since not everyone runs gnome, But if it works for you more power to ya =) No such luck here.

You could force it to run in a window:


wine explorer /desktop=guildwars,1024x768 GW.EXE

^Substitute GW.EXE for the name of the guildwars exe file as I don't play it I don't know the name of it. This forces the game to run on a virtual wine desktop sized 1024x768, adjust as needed adding any extra flags you normally do to launch the game.

tekno62
December 5th, 2006, 07:11 AM
hey... I just got GW to work - thanks...

Im tired and have some problems understanding step 10.

anyone able to help me out?

orgy
December 11th, 2006, 11:37 PM
guildwars is working here 100%, using wine 0.9.27 and the two patches from the first post. :D

iMerlin
December 15th, 2006, 05:08 PM
I followed your guide and I finally have a mouse cursor that I can see, hurray :)

However I'm stuck at 800x600 resolution in a bloody Window. I've tried all sorts of black magic like changing the virtual desktop and trying the Guildwars settings.

I didn't understand point "10". Made no sense to me. KDE specific?

In the Guildwars preferences there are two options in Graphics that work. Fullscreen (800x600) or Windowed. But Windowed does never get bigger than 800x600

I've also tried the Guildwars specific cli option -windowed without success. Anyone got this running in a higher resolution?

Running Dapper with the latest repository Nvidia drivers on my GT6600.

xixsixxix
December 15th, 2006, 05:30 PM
iMerlin> Mine's stuck at 1024x768 -- so a higher resolution, but the same issue. At what resolution are you running your monitor?


guildwars is working here 100%, using wine 0.9.27 and the two patches from the first post. :D

I too am running 0.9.27 patched *almost* perfectly using the nvidia-1.0.9631 drivers on a geforce 6800 card. Also got it running nicely on a core2duo laptop with a geforce go 7400 -- in both cases, however, the 1024x768 fixed res is the only remaining problem (particularly annoying when the laptop autoscales the 1024x768 to match the 1280x800 screen)

Don't suppose your "100%" includes changing resolutions, orgy? If so please post your setup =)

chronusdark
December 18th, 2006, 12:40 AM
has anyone figured out how to fix the messed up text?

ie mixed up strings, and scrambled text graphics

xixsixxix
December 18th, 2006, 03:07 PM
has anyone figured out how to fix the messed up text?

ie mixed up strings, and scrambled text graphics

Wow, picky issue compared to some of the others, lol =) So far as I've encountered the only apparently scrambled text graphics I've come across are, as I've seen mentioned around some other boards, the seeminly double printed text as areas are loading.

Pretty sure this is simply an issue of an attempt to load actual text over prerendered graphics right before the fade transition between the load screen and the game environment so as to keep it on screen through the fade. It's not really a bug as much as a variance in the way the fonts are being displayed in linux vs. windows. The graphics prerendered in windows with M$ fonts aren't matching up with the real-time rendered fonts in wine -- not something I can think of any reasonable fix for, unfortunately.

Other than that all in-game text has appeared fine to me but I'm always up for hearing about more bugs to research =)

rmjb
December 18th, 2006, 03:30 PM
I'm really liking this thread, since I'm a dormant Guild Wars player and an Ubuntu convert, so I'll be trying these steps out soon. A question though, these steps work for the newer editions of GuildWars too right? Like Factions and the new one that just came out?

- rmjb

chronusdark
December 19th, 2006, 02:09 AM
Wow, picky issue compared to some of the others, lol =) So far as I've encountered the only apparently scrambled text graphics I've come across are, as I've seen mentioned around some other boards, the seeminly double printed text as areas are loading.

Pretty sure this is simply an issue of an attempt to load actual text over prerendered graphics right before the fade transition between the load screen and the game environment so as to keep it on screen through the fade. It's not really a bug as much as a variance in the way the fonts are being displayed in linux vs. windows. The graphics prerendered in windows with M$ fonts aren't matching up with the real-time rendered fonts in wine -- not something I can think of any reasonable fix for, unfortunately.

Other than that all in-game text has appeared fine to me but I'm always up for hearing about more bugs to research =)

what im getting is like when i type my username it instead displays "General Settings" or other strings from other menus

handy
December 20th, 2006, 01:10 PM
I'm really liking this thread, since I'm a dormant Guild Wars player and an Ubuntu convert, so I'll be trying these steps out soon. A question though, these steps work for the newer editions of GuildWars too right? Like Factions and the new one that just came out?

- rmjb


Same game engine runs the lot! :KS

orgyn
December 20th, 2006, 07:03 PM
Don't suppose your "100%" includes changing resolutions, orgy? If so please post your setup =)

hehe, i didnt test that :P i like to play in window mode, i guess it runs 99% then :P

orgy
December 24th, 2006, 07:28 PM
patches and game working with wine-0.928

der_joachim
December 25th, 2006, 09:15 AM
patches and game working with wine-0.928

Not here. I have lots of freezes. I have to zap my X session when that happens. :(

Oh well, I am a patient man.

[edit]Installed Nightfall yesterday. Unchecked "Allow window manager to control windows" . Run GW in windowed mode. Is a lot better. Even did some questing.

xixsixxix
December 27th, 2006, 12:40 PM
Been pretty successful with wine 0.9.28 and the Nvidia 1.0.9631 drivers. GW resolution switching FINALLY works in 0.9.28, though it requires restarting the game.

The 32-bit mouse cursor patch is still required to make the mouse visible. I also found the dirty lighting hack is still required for both my Nvidia GeForce 6800 and 7400 cards to avoid the "Too many concurrent lights" error crash on certain maps, though I've heard some ATI users say they don't need it.

In any case I've attached updated [0.9.28] versions of both the mouse and lighting patches for anyone that needs them. The attached patches are for the files dlls/winex11.drv/mouse.c and dlls/wined3d/device.c. Only apply the lighting hack (device.c) if you find that you need it.

There are only two remaining issues now:
(1) blocky shadows when using antialiasing and medium/high quality shadows (I just set all settings to high and then drop shadow quality to low to get around this)
(2) combat sounds don't work -- as I understand it this issue only applies to systems with alsa installed -- see my full post on this issue on the winehq boards here (http://appdb.winehq.org/appview.php?iVersionId=5903) and continued here (http://appdb.winehq.org/commentview.php?iAppId=2243&iVersionId=5903&iThreadId=16458).

Any insight into either issue would be much appreciated =)

typhoon006
December 30th, 2006, 02:22 PM
first, sorry for my english but i'm french ......


i've test a 0.9.28 version of wine , but i'don't know where and how apply the patch, if somebody can help me ....

i'm not a Linux and Wine expert :-?
thank's

xixsixxix
December 31st, 2006, 06:29 AM
first, sorry for my english but i'm french ......


i've test a 0.9.28 version of wine , but i'don't know where and how apply the patch, if somebody can help me ....

i'm not a Linux and Wine expert :-?
thank's

No problem. Here's an example of how to apply the patches. Adjust the patch file paths as necessary, and skip the wined3d (device.c) patch if you don't need it.

Starting from your wine-0.9.28 source base directory:

$ cd dlls/winex11.drv/
$ patch mouse.c <patch.mouse.c.txt
$ cd ../wined3d/
$ patch device.c <patch.device.c.txt

After applying the patches you can drop back to your source base directory and run make again to recompile the winex11.drv and wined3d modules. Assuming you have already compiled once this will only recompile the two changed modules -- a full recompile isn't neccesary =)

EDIT: I would recommend you back up the original files before patching

nikinostyler
January 6th, 2007, 04:49 AM
Thank you for posting this how-to, it saved me from a lot of head-banging in to the wall :D
if you dont mind i have some updates on what you wrote.

i have an intel845G based Mainboard and a Geforce4MX440 Video card(With the Nvidia Drivers found in synaptic)
i used a plain Edgy install(Alternate CD), and wine 0.9.28 compiled almost the same way like you did.
The only difference is that i neded to add WineHQs repo before doing anything else.

For Ubuntu Edgy (6.10):
deb http://wine.budgetdedicated.com/apt edgy main

'sudo apt-get update'

'sudo apt-get install wine'

'apt-get build-dep wine'

so i got all the nescesary libs what where needed to compile wine with D3D and X11 support
after doing that i folowed the instructions you wrote (with filenames for 0.9.28),

an other bug what i encountered that using virtual desktop somehow made D3D errors and the game ran very slow, and the mouse look function of the game just worked to right and down.
the folowing options made the game run at a normal speed (50-75% of speed under windows)
-Disabling the virtual desktop
-running the game in fullscreen
-Vertex shader : none
-Pixel shader disabled

hope it will help some people.

PS: some links i used to get the solution
http://www.winehq.org/site/download-deb
http://appdb.winehq.org/appview.php?iVersionId=5903
http://appdb.winehq.org/appview.php?iVersionId=5386

Jarn
January 6th, 2007, 10:55 PM
First time I've checked this thread in awhile. I've been pretty busy lately, but now that it's winter break I've had some free time. I upgraded from Dapper to Edgy last night and now I'm about to begin the process of installing the newest wine.

nikinostyler, the problem you described with the mouse requires a patch to fix. It was one of the patches that I had in my post, but those probably would not work with the newest version. In this post, http://www.ubuntuforums.org/showpost.php?p=1935421&postcount=48, someone posted an updated patch.

Also, for those who asked about Step 10, it is indeed KDE-specific. Sorry I didn't put that in there. :(

EDIT: Also, for those of you who don't use the "Emulate virtual desktop" setting in wine, did you need to do anything to get it to work? Or does it just work? For me, as soon as the game goes fullscreen, the screen gets distorted. It's sizes changes a bit and I have slight black bars running through the screen. That's why I said to set that in my original post. That's also what Step 10 is for, to make it APPEAR full screen even though it's in a virtual desktop.

EDIT2: I accidentally didn't install the patch to prevent the camera only rotating two directions, yet it still rotates correctly. Does this work for everyone? Was it fixed since 0.9.23? Also, I updated the first post to work for 0.9.28 - and I took out the part about the aforementioned patch. So if it is just me, someone please notify me and I will add that back in.

FyreBrand
January 7th, 2007, 10:30 PM
Hi Jarn. If you're the same Jarn as on GWO, then I saw your post in the GWO tech forum in the "What do you use thread" :) very nice

I'm getting ready to reinstall wine on Edgy (I use KDE too). I will try your original thread and see how it goes. I would really love get this working again. Do you use Beryl or Compiz on your desktop? I'm curious if it interferes with the game running. Anyways I will work on it this week and post back.

Jarn
January 8th, 2007, 12:18 AM
I do not use those. I updated the main post so the links etc. are for 0.9.28, and it worked for me. I followed the first post myself when I installed it, just using the new links. When I was done, I edited those in and I made some other minor changes. Everything works great except no sounds in battles and no shadows. And that is me on the GWO forums ;). Who are you on the GWO forums?

FyreBrand
January 8th, 2007, 12:40 AM
I use the same user name 'Fyre Brand'. I've done the preliminary package installs and have downloaded the source. I'll be compiling here in a bit. You write a really nice how-to. It's clear and easy to follow. One question. Did you have to export the:
CFLAGS=-fno-stack-protector ./configure to prevent a segmentation fault in Edgy or has the gcc compiler been changed? I'll be exporting that because I had the seg fault problem on my last compile (about a month or so ago).

Jarn
January 8th, 2007, 02:11 AM
I didn't have to. I saw that page after I had already compiled, so I didn't know about it when I compiled and it still compiled fine. So I think the gcc compiler has been changed. Or I just got lucky. But the page that that recommendation was on did not make it sound like it only happens sometimes, it made it sound like it happens all the time, so I would guess the compiler has been changed.


You write a really nice how-to. It's clear and easy to follow.Thank you. :D

FyreBrand
January 8th, 2007, 03:28 AM
Everything compiled and runs mostly fine. I copied my gw.dat file from my windows partition. I did have one total freeze in the Nightfall newbie island. I have a Geforce 6800XT and I think I might need to install the device patch like xixsixxix posted. I'm going to try installing the patch and see what happens.

I also might need to do a little xorg.reconfiguring as that might be the problem. I'm using the nvidia driver from tseliots repo and haven't had any problems with it. The only thing is while xorg.conf says to use the "nvidia" driver kde system settings seems to think I'm using the "nv" driver. I'm not really sure which is taking precedence so I will try and figure that out before applying the patch. That way I can be sure there is no problem with my video driver.

Jarn
January 9th, 2007, 05:07 AM
Did you have to apply any patches besides the one I had in the first post? Specifically, the one that previously was necessary to allow the camera to rotate correctly? I didn't have to and I'm wondering it it was fixed.

FyreBrand
January 9th, 2007, 06:54 AM
I got a freeze up out in the instance that locked up my machine pretty good. I do think I will have to apply the patch that xixsixxix is talking about. I thought the 'nv' driver was loading at the same time as the nvidia driver, but I was wrong. Classes have started so I might not be able to work on it until the weekend.

Jarn
January 11th, 2007, 12:28 AM
Great, a few days after I upgrade from 0.9.28 they release 0.9.29! :P I probably won't get a chance to upgrade until Monday, so if someone else does it before I do, tell me if it goes alright.

orgyn
January 11th, 2007, 07:28 AM
everything works fine with 0.9.29

FyreBrand
January 12th, 2007, 03:11 AM
orgyn would you mind posting some specifics about the install?

What os version you are using?

If you used Edgy did you have to export the "CFLAGS=-fno-stack-protector" ?

What patches if any you applied.

If you have an nvidia card did you need to use the light patch xixsixxix posted above?

orgyn
January 12th, 2007, 06:27 AM
orgyn would you mind posting some specifics about the install?

What os version you are using?

If you used Edgy did you have to export the "CFLAGS=-fno-stack-protector" ?

What patches if any you applied.

If you have an nvidia card did you need to use the light patch xixsixxix posted above?

sure,

- using edgy
- did NOT export: "CFLAGS=-fno-stack-protector"
- 32bitmouse patch
- nvidia driver v1.0-9631 (nvidia 6600 GO)
- did NOT use the light patch
- wine 0.9.29

FyreBrand
January 12th, 2007, 08:07 AM
sure,

- using edgy
- did NOT export: "CFLAGS=-fno-stack-protector"
- 32bitmouse patch
- nvidia driver v1.0-9631 (nvidia 6600 GO)
- did NOT use the light patch
- wine 0.9.29
Thanks orgyn. I'll compile and install this as soon as I can and report back how it all went. I'm so looking forward to the day I can get this working reliably. I don't mind regular hero/henching, but I still log into Windows to do Tombs, AB, or anything where my guild is relying on me.

User_Program
January 12th, 2007, 08:40 AM
I have GW's installed with the latest wine with the mouse patch and everything is working "fine" but that is alittle misleading. It is working but the performace is failing. Only with everything turn down to low is the game playable with very few lag spikes (not network more like video)

But I am happy with the development so far it shouldn't be to long now before wine is up to par with cedega running Guild Wars. I do notice somethings that are beter with wine then cedega. For one it's far less laggy on the network side running wine , Loading maps after leaving towns is quicker too.

It's fun testing it out and all but that's about all it is for me, a test. Running games this way kinda takes the fun outa playing the game if you know what I mean? Not that Cedega does that better of a job at it either. So I wouldn't get your hopes up to high, with getting guild wars running like it does in windows. But one day hopefully soon it will be possible *fingers crossed*

Question: Not so much releated to Guild War but more of wine... Does anyone know of any projects that deal with using files from an exsisting windows install or from the cd itself (of course if you own the copy) to run games and other programs inside of Linux ? Yes this would break EULA but surely this has been tried right?

handy
January 12th, 2007, 10:23 AM
GW runs fantastically on my machine via Cedega. No issues at all. Double right mouse clicking after zoning to get the mouse back really is nothing...

I do look forward to being able to play at the same level via Wine, it will happen...

orgyn
January 12th, 2007, 07:43 PM
tried it on another computer:

- using edgy
- did NOT export: "CFLAGS=-fno-stack-protector"
- 32bitmouse patch
- nvidia driver v1.0-9631 (nvidia 5200)
- this time i had to use the light patch (the game doesnt freeze anymore)
- wine 0.9.29

orgyn
January 12th, 2007, 07:45 PM
GW runs fantastically on my machine via Cedega. No issues at all. Double right mouse clicking after zoning to get the mouse back really is nothing...

I do look forward to being able to play at the same level via Wine, it will happen...

for me it has the same performance in wine. Except for the sound :P still i always play with music so, no combat sound doesnt bother me.

Jarn
January 12th, 2007, 10:35 PM
GW runs fantastically on my machine via Cedega. No issues at all. Double right mouse clicking after zoning to get the mouse back really is nothing...

I do look forward to being able to play at the same level via Wine, it will happen...
It is ALMOST there now. Via the info in the first thread, you can get Wine running GW perfectly except for battle sound. Wine also needs the mouse to be right-clicked to see it after zoning, apparently like Cedega.

handy
January 13th, 2007, 04:01 AM
It is ALMOST there now. Via the info in the first thread, you can get Wine running GW perfectly except for battle sound. Wine also needs the mouse to be right-clicked to see it after zoning, apparently like Cedega.

Great news! :KS

Snu Woods
January 14th, 2007, 06:17 AM
That was really helpful!
I'm new to Linux, so it took me a while, but I got it.
At first, when GW loaded it would come up with the server connecting screen and then freeze.
I found that disabling the virtual desktop emulation thing fixed it.
Just now I started GW up...minimized it....and then :-k it wouldn't restore the window when I unminimized it. So, if anyone could tell me what was wrong, maybe fix it, I'd really appreciate it.
Thanks :KS

edit: It seems now that my mouse is gone....I tryed the mouse patch, but I was wondering is this compatible with wine 9.29?. Would that even be the case?

EvanPMeth
January 15th, 2007, 06:21 AM
Download a script to install the programs needed to compile wine for Dapper here (http://kegel.com/wine/dapper.sh) - save it as pkgs.sh. If you use breezy, download this one (http://kegel.com/wine/breezy.sh)). If you are using Edgy, there is no script, but you can see the necessary packages here (http://wiki.winehq.org/Recommended_Packages). If anyone ever writes a script for it, it will be posted there.



Actually the easier way and more proper way of doing this is to add the repositories and use "apt-get build-dep":

Follow this link Wine Dependencies (http://www.winehq.com/site/download-deb)

or add this to your /etc/apt/sources.list file:


deb http://wine.budgetdedicated.com/apt edgy main
deb-src http://wine.budgetdedicated.com/apt edgy main

then add the key set for wine if you get the ERROR

W: GPG error: http://wine.budgetdedicated.com edgy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58403026387EE263
then do:


gpg --keyserver subkeys.pgp.net --recv 387EE263 && gpg --export --armor 387EE263 | sudo apt-key add -

after that just type in
sudo apt-get build-dep wine

and then you have all the dependencies you need and more :D .

-evanpmeth

Apt_Quadruped
January 23rd, 2007, 12:30 AM
alright, I got Guild Wars to load, but the no cursor bug annoys me. I'm using wine version 0.9.29 on ubuntu 6.10 edgy and I haven't been able to figure out a way to patch wine (I searched everywhere). If somebody could explain exactly how to specificly patch Guild Wars with the patch for the no cursor bug it'd be greatly appreciated. Thanks in advance!

User_Program
January 23rd, 2007, 12:35 AM
alright, I got Guild Wars to load, but the no cursor bug annoys me. I'm using wine version 0.9.29 on ubuntu 6.10 edgy and I haven't been able to figure out a way to patch wine (I searched everywhere). If somebody could explain exactly how to specificly patch Guild Wars with the patch for the no cursor bug it'd be greatly appreciated. Thanks in advance!

Did you read the first page of this thread. It's right there. First post first pages.

enopepsoo
January 23rd, 2007, 12:35 AM
nice avatar!

Apt_Quadruped
January 23rd, 2007, 12:53 AM
nice avatar!

Thanks, I like your avatar too! lol


Did you read the first page of this thread. It's right there. First post first pages.

Yes, it is right there, for version 0.9.23 to 0.9.28 but I have version 0.9.29 which makes the guide (for me) worthless since half of the commands don't work. I may be mistaken but I can't follow along with it.

Jarn
January 24th, 2007, 12:05 AM
Nothing in there is specific to 0.9.28 except for MAYBE the patch, I haven't tested. The file names will have changed from 0.9.28 to 0.9.29 to reflect the change in version. I updated the first post to reflect the change in source number. I also updated the links. The patch may or may not work with 0.9.29, the only way I know is if someone else has done it before. I have not yet upgraded because I've been doing other things, so I'm still using 0.9.28. But if you try the patch and don't get an error, it worked. Again, I also updated the first post to use 0.9.29 instad of 0.9.28, so you SHOULD be able to use that now.

Apt_Quadruped
January 24th, 2007, 12:46 AM
alright, thanks for revising the guide for me! At the moment I'm patching the source with the mouse patch you've provided, but it's been about 5 minutes since I started to patch it. Once it is finally installed I'll let you know if it works, thanks!

Jarn
January 24th, 2007, 02:50 AM
Hrm... IIRC it was near instant. That's odd that it's taking so long. Did you have any luck?

ngdias
January 24th, 2007, 05:06 PM
I tried using this guide to fix the mouse issue, using wine 0.9.29 in Ubuntu Edgy 6.10 64-bits.

The page mentioned in this guide to get the necessary files to compile wine is for 32-bits, but on that page there is a link with instructions for 64-bits (http://wiki.winehq.org/WineOn64bit#head-56206e8bc74083807ffe06ccb471d3f964cb670a) and I followed it.

There it has instructions for several systems, including Debian and Dapper (no edgy). Following those Dapper instructions, I wasn't able to download libc6-dev-i386 due to this error:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev-i386_2.4-1ubuntu12.2_amd64.deb
403 Forbidden [IP: 195.248.90.35 80]

I tried compiling anyway, but got this output:

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.

Any ideas?...

EDIT: applying the mouse patch didn't create any errors. the filenames don't match though.

Apt_Quadruped
January 24th, 2007, 10:39 PM
Hrm... IIRC it was near instant. That's odd that it's taking so long. Did you have any luck?

nope, I didn't have any luck... I gave up after 30 minutes of waiting. I think I might try again today, but I doubt that it'll work. If it does work this time I'll post, but anyways, any ideas?


tony@APPLE:~/wine-0.9.29/dlls/winex11.drv$ patch <~/winestuff/32mouse.patch
bash: /home/tony/winestuff/32mouse.patch: No such file or directory
Is this the correct command (it returns in error)?


tony@APPLE:~/wine-0.9.29/dlls/winex11.drv$ patch /winestuff/32mouse.patch
This is the Command that makes it just "load" forever.

Jarn
January 25th, 2007, 12:01 AM
Is this the correct command (it returns in error)?It looks like you didn't save it in the same spot as in the guide. Where did you save it?

Apt_Quadruped
January 25th, 2007, 12:33 AM
Alright, Jarn you just made me feel like the stupidest person in the world! Yes, you were right, I didn't save it in the right spot, infact I had all my files scattered! I thank of you for catching my mistake, at the moment I'm compiling wine. I'll post back soon!

Jarn
January 25th, 2007, 12:56 AM
Good luck. All those commands are based off saving the files in the places indicated in the first post. ;)

Apt_Quadruped
January 25th, 2007, 02:22 AM
tony@APPLE:~$ wine "C:\Program Files\Guild Wars\Gw.exe"
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
fixme:advapi:SetFileSecurityW (L"C:\\Program Files\\Guild Wars\\Gw.tmp") : stub
fixme:advapi:SetFileSecurityW (L"C:\\Program Files\\Guild Wars\\Gw.dat") : stub
err:module:import_dll Library wined3d.dll (which is needed by L"c:\\windows\\system32\\d3d9.dll") not found
err:module:import_dll Library wined3d.dll (which is needed by L"c:\\windows\\system32\\d3d8.dll") not found
err:module:import_dll Library wined3d.dll (which is needed by L"c:\\windows\\system32\\d3d8.dll") not found
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!

Alright, I successfully patched wine, but once I attempted to run Guild Wars I retrieved this error. If someone could point me in the right direction I'd be very thankful.

~*this happens with everything in wine*~

ngdias
January 25th, 2007, 02:21 PM
The same thing is happening to me. Since libc6-dev-1386_2.4-1ubuntu12.2 can't be downloaded (the access forbiden error) I decided to download and install the next version - 12.3 for libc6, libc6-dev and libc6-i386. At some point I got a warning that one package (I think libc6-i386) was conflicting with libc6-dev, but now it seems that libc6-dev is conflicting with itself.

All this mess is probably related with the libc6 issue currently being worked out - I couldn't dl the 12.2 version (the recomended one) and i decided to give 12.3 a try. I guess there was bad timming, trying to get wine and GW to work this week...

Other than that I didn't detect any warnings or errors in the terminal at the end of each task. And I also get the same error messages as Apt_Quadruped when trying to use wine.

Jarn
January 25th, 2007, 05:49 PM
Sorry, I don't know what the problem is. :/

Mazza558
January 25th, 2007, 07:56 PM
I need help with this... I followed the guide, but got stuck at "mv GWSETUP.EXE ~/.wine/drive_c"


mv: cannot move `GWSETUP.EXE' to `/home/james/.wine/drive_c': No such file or directory



The folder apparently didn't exist, so I created a folder called "/.wine/drive_c/" and the command worked. However, It will not install. Where am I going wrong?

Jarn
January 25th, 2007, 10:02 PM
What are the errors? And have you run winecfg?

Apt_Quadruped
January 25th, 2007, 10:09 PM
Alright, I think I'll just wait untill some other day to mess with the patching stuff again. Anyways... Jarn could you help me uninstall everything of wine? I tried it through a package manager, but i can still use wine in terminal! I also tryed reinstalling but I still get that error!
*wine 0.9.30 has been released!*

Jarn
January 25th, 2007, 10:18 PM
There really isn't that much that you need to get rid of. I think 'locate wine' will tell you the locations of the wine binary. I'm not at home right now, so I don't remember where the binary is placed. However, all you should need to remove would be the binary, ~/winestuff, and ~/.wine - and HOORAY for a new version of wine! :) But wow, does that mean I've been slow updating the main page! I only updated it to 0.9.29 two days ago! I'll update it to 0.9.30 tonight, probably, and make sure all the patches work while I'm at it.

Apt_Quadruped
January 25th, 2007, 10:27 PM
Alright, I just found a command to remove wine...

apt-get remove wine
Anyways... I'm installing 0.9.30 now... Thanks for trying to get Guild Wars to work correctly, but I'll have to find another way.

Mazza558
January 25th, 2007, 11:40 PM
RIght, i've got GW running, but when it starts the 3D Rendering, I get a low-colour GW cursor and a green background.

Apt_Quadruped
January 25th, 2007, 11:42 PM
RIght, i've got GW running, but when it starts the 3D Rendering, I get a low-colour GW cursor and a green background.

how did you get the cursor, and what version of wine are you using?

Mazza558
January 25th, 2007, 11:48 PM
how did you get the cursor, and what version of wine are you using?

I used the 32bit patch on the first page. My version of wine is .29, not .23

However, my winecfg now won't run, with this in terminal:


X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 1 (X_CreateWindow)
Resource id in failed request: 0x2e00007
Serial number of failed request: 13
Current serial number in output stream: 15

Apt_Quadruped
January 25th, 2007, 11:51 PM
hm... I guess you must have something installed on your comp that I don't. I got that error that I previously metioned, but I'm installing guild wars right now (reinstalled wine).

Mazza558
January 25th, 2007, 11:52 PM
I wonder if there's a command to reset wine settings.

orgyn
January 26th, 2007, 12:29 AM
wine 0.9.30 still needs the 32bit mouse patch

Apt_Quadruped
January 26th, 2007, 12:46 AM
alright, turns out that no version of wine is working for me! I still get the same X11 error.

Application tried to create a window, but no driver could be loaded.
The X11 driver is missing.
Does anyone know how to get around this (I've been googling for a while with no luck...)?

Apt_Quadruped
January 26th, 2007, 02:09 AM
Okay, I just discovered how to get out of my hole! I got onto the winehq IRC channel and I got everything solved out. It turns out that I didn't have everything that I needed for wine to work properly. I had to download...

http://kegel.com/wine/edgy.sh
Then I just ran...

chmod +x edgy.sh
./edgy.sh
After I downloaded/installed all of that I was able to go through this guide without error! I hope this helps others that were experiencing the same problem as me, thanks once again Jarn for helping me with Guild Wars!

Jarn
January 26th, 2007, 06:15 AM
I had to download...

http://kegel.com/wine/edgy.shUGH! I literally JUST made a script that does the exact same thing. The wine page had one listed from the same guy for dapper and breezy, but not for edgy. Well, I can take mine down and replace it with his. :P I'm also writing script that will do the entire process, from start to finish. I'm running it right now, to upgrade myself to 0.9.30 and to see if it works. If it does, I'll post it.

EDIT: It is up! I have added two scripts that will do the entire guide, from start to finish! updatewine.sh does steps one through six. It is for if you have already installed GW at a previous time and only want to update to the newest version of the source. installwine+gw.sh does all the mandatory steps (one through nine) and is for if this is the first time you have installed GW. Also, installwine+gw.sh requires edgy since it apt-gets the packages needed to compile wine. It is really easy to edit, however, and I have posted instructions in the first post. I would like to note that I have not run the installwine+gw.sh (since I didn't need it) and only have run updatewine.sh. installwine+gw should work, though, because it is just updatewine with the extra steps added.

Mazza558
January 26th, 2007, 11:57 AM
http://img180.imageshack.us/img180/6576/screenshotpy9.th.png (http://img180.imageshack.us/my.php?image=screenshotpy9.png)

This is what my desktop looks like now... it hangs just after GW says "unsupported graphcs card", and I can't close it. Where am I going wrong?

EDIT: It now comes up with something like "out of memory" in a tiny message box. What now?

(I'm running wine .29, if that means anything)

misuher
January 26th, 2007, 12:23 PM
where can i Get installwine+gw.sh?

ngdias
January 26th, 2007, 01:23 PM
I was digging around yesterday and found some other guides to install wine. At this moment I have 0.9.29 installed and GW working with mouse visible, but crashing with the 'too many concurrent lights' error. I don't have combat sound and since I reinstalled wine the ALSA sound driver is not showing up in winecfg. I'm still testing and looking for info on this sound issue.

I'm also under the impression that graphics were better with my previous setup - 0.9.23 (compiled by someone else for 64-bits), but I'll have to do some more testing to find out. I can tell that before I could change gama ingame and now it's not working. Antialiasing options atm are 'none' only.

I'm also using Nvidia+Beryl and I don't notice anything worse compared to Metacity (Gnome default)- I had to activate a wine option in beryl manager to get full screen working properly though.

I think what me and Apt_Quadruped were missing while compiling wine was this symlink:

sudo ln -s /usr/lib32/libXrender.so.1 /usr/lib32/libXrender.so

-------------------------------------------------------------------

Anyway this was roughly what I did. Maybe it will help you:

1. Download the source code file and unzip it to a folder. I used 0.9.29 from http://prdownloads.sourceforge.net/wine/wine-0.9.29.tar.bz2. I'm not sure it's there anymore, but 0.9.30 is out already, so...

2. Use this guide (http://www.ubuntuforums.org/showthread.php?t=291620) to get your system ready to compile wine (for 64-bit systems). Just complete all of step 2.

3. Now patch wine to get the mouse working and fix all other bugs. I only used the mouse patch but I think there are other patches (not sure if they're needed for 0.9.30). The link for the patch file and the instructions to patch were taken from Jarn's guide at the very begginng of this thread:

- Download a patch you will need here (http://www.ubuntuforums.org/attachment.php?attachmentid=21723&d=1167218291) - save it as 32mouse.patch
- apply the patch

cd wine_folder_path_here/dlls/winex11.drv
patch <~/winestuff/32mouse.patch

3. Compile wine and install it (the code is the step 3 from the same guide mentioned at step 2):

CFLAGS="-fno-stack-protector -O2" ./configure --verbose
make depend && make
sudo make install

4. I also applied the Sidenet script as described here (http://www.ubuntuforums.org/showthread.php?t=185557), but I'm not sure its really necessary.

5. Follow steps 7 through 11 of Jarn's guide to configure wine and install GW.

Jarn
January 26th, 2007, 04:45 PM
where can i Get installwine+gw.sh?
At the bottom of the first post, it's attached to the first post.


crashing with the 'too many concurrent lights' errorThere's a patch for that in the first post, step 11. To sate my curiosity, does that come up in an error box or in the terminal?

Apt_Quadruped
January 26th, 2007, 09:59 PM
could anyway help me make it so that Guild Wars actually gets a higher fps then 10? On Windows I usually got at the least of 20 (in exteme combat at max settings).

Jarn
January 26th, 2007, 10:07 PM
I don't know why you don't get about the same as you do in Windows, I know I do. I get between 30 and 45, which is the same as what I get in Windows. Sorry. :/

FyreBrand
January 26th, 2007, 11:19 PM
I have wine compiled and installed correctly with 0.9.29. I used kegel's new script. It's funny that you said that about the script Jarn because I was about half way done with one and was checking his site for more info when I ran across the completed version. There are some things in that script I wouldn't have known to put in though.

Interestingly enough I can't enable the virtual desktop or it doesn't work. I have to use the mouse.patch and the lightingh-hack.patch in order for it to work (Nvidia 6800XT).

I copied my gw.dat file over from my Windows partition. It worked fine until I I went into a certain zone and then I got stuck. I was testing out the install with a pre-sear character and was heading to Barradin's Estate. About half way there the hard drive started working hard and thrashing. So I figure my gw.dat file was pretty fragmented from the NTFS partition and didn't copy well. If I understand it properly the gw.dat file is something like a virtual drive. So I will try and download a completely new .dat file.

I'm also not sure if it was that or possibly a networking issue at home. Every once in a while I get and err=58. But as far as wine goes it's working better than it ever has. It's pretty impressive the improvements they've made.

Jarn
January 26th, 2007, 11:31 PM
as far as wine goes it's working better than it ever has. It's pretty impressive the improvements they've made.It is indeed! Five, maybe even four, months ago Guild Wars rating was usually garbage or bronze. Now it seems to be generally silver or gold. That is a huge improvement!

FyreBrand, if you decide to update to 0.9.30, check out the script I made. It's pretty nice. ;)

ngdias
January 26th, 2007, 11:37 PM
To sate my curiosity, does that come up in an error box or in the terminal?

Terminal.

I know about the lights patch, I just was hoping .30 wouldn't need it.

Here's an update on my progress:
Things were not very bright, so i decided to turn off beryl, remove wine completely and start again.

I followed this https://help.ubuntu.com/community/WineForAMD64 to install 0.9.29, but since I didn't compile it, the bugs are still there. On the positive side, I can control gamma ingame now. I copied the GW folder back into 'Program Files' and ran gwsetup.exe again.

Audio quality is poor (I tried both OSS and ALSA) and giving a lot of errors in terminal.

I'm going to compile .30 next and see what happens.

@FyreBrand: Virtual desktop was disabled in all versions I compiled so far and everyone needed the 2 patches.

FyreBrand
January 26th, 2007, 11:48 PM
It is indeed! Five, maybe even four, months ago Guild Wars rating was usually garbage or bronze. Now it seems to be generally silver or gold. That is a huge improvement!

FyreBrand, if you decide to update to 0.9.30, check out the script I made. It's pretty nice. ;)Ugh! I can't believe there is a .30 already. hahaha. I will uninstall .29 and compile .30 in the coming week or so and then report back. Thanks for making a script. I will definitely check it out.

ngdias - I did have beryl installed a few weeks ago to test it out. It does not play well with GuildWars at all. I would suggest logging into kwin or metacity first and making sure beryl and emerald are not running.

Jarn
January 26th, 2007, 11:53 PM
So what happens with the "Too many concurrent lights" error? Does it happen every time? I heard that users of nVidia must use the patch for it, but I've never had any problems.

ngdias: Sorry you're having problems with 64-bit. That's why I installed 32-bit even though I have a 64-bit capable processor, since 32-bit is more used. ;)

FyreBrand
January 27th, 2007, 03:16 AM
So what happens with the "Too many concurrent lights" error? Does it happen every time? I heard that users of nVidia must use the patch for it, but I've never had any problems.

ngdias: Sorry you're having problems with 64-bit. That's why I installed 32-bit even though I have a 64-bit capable processor, since 32-bit is more used. ;)With the light-hack.patch I don't seem to have that error, but then I haven't verified that. Even though I leave the terminal open when I'm playing when it's crashed hard it's pretty much crashed my whole system so I haven't been able to see if the too many concurrent lights error was the problem.

I deleted my gw.dat file and I'm letting it rebuild from scratch.

I do have one problem that I'm not sure about. I don't have the ALSA sound option available in the config. I use ALSA sound drivers. I figure I've just missed an obvious step or I need to reconfigure ALSA. If you have any suggestions I'm listening.

Jarn
January 27th, 2007, 04:29 AM
I have no suggestions, I'm sorry, every time when I've compiled it I have had ALSA in my Audio tab.

FredDie3785
January 27th, 2007, 07:19 PM
Well I've downloaded your newest script for Edgy Eft. I've done everything what you suggested and now I don't know what to do. Script downloaded gw.exe but I don't know how to run it.

Sorry for this noobish question, I'm a rookie in Ubuntu, but I can't stand the Windows anymore.

Apt_Quadruped
January 27th, 2007, 07:47 PM
Well I've downloaded your newest script for Edgy Eft. I've done everything what you suggested and now I don't know what to do. Script downloaded gw.exe but I don't know how to run it.
Change your directory to where gw.exe is (in terminal) and then type...

wine gwsetup.exe
Just replace "gwsetup.exe" with whatever the exe is called. By the way... I don't find Guild Wars to be playable in wine (at least for me). My fps in wine is about 5-10 just at the login screen! Anyways... I just use windows for gaming now... since my fps is about 3-4 times better in it.

FredDie3785
January 27th, 2007, 08:15 PM
I've got Radeon 9200, 1GB RAM, AthlonXP 2200+ and the default ati drivers in Ubuntu. Someone tested GW under that configuration??

Jarn
January 27th, 2007, 11:48 PM
What script did you use, out of curiosity?

From what I have heard, ATI cards generally don't work very well in Linux. But the only way to find out is to try. Good luck!

EDIT: Looking over my installwine+gw.sh script, I had a typo in it. So if anyone had run that, you probably would have gotten an error. It's fixed now.

FredDie3785
January 28th, 2007, 12:27 AM
I've got another questions...

1. Can I use default Ati drivers which are installed with Ubuntu, or should I install other drivers??

2. Can I translate your guide on polish Guild Wars forum, of course I will add that it's your guide. I will only translate it.

Jarn
January 28th, 2007, 12:43 AM
1. Can I use default Ati drivers which are installed with Ubuntu, or should I install other drivers??Your best bet would be to ask someone who uses an ATI card, I have no idea. I would imagine the ones with Ubuntu are fine, though.


2. Can I translate your guide on polish Guild Wars forum, of course I will add that it's your guide. I will only translate it.Sure. But I would like you to put in it that it may be out of date, unless you plan on updating it every time I update mine (usually with every new release of wine).




I edited the installwine+gw.sh script... again.

FredDie3785
January 28th, 2007, 12:48 AM
Of course I will be updating it...thx broe...

FyreBrand
January 28th, 2007, 03:15 AM
Ok Jarn here's the feedback scoop. Wine 0.9.29 and 0.9.29 both work pretty good. I've expereienced no new problems in .30 and overall it does seem smoother. Here are some things of note starting in .28.
1. I could no longer get the game to execute under the version setting Win98. I had to use WindowsXP setting. The good thing is the WinXP setting finally works.

2. The virtual desktop setting didn't work that well. I would work some but I was still having sizing issues. The game was larger than the virtual desktop size even when I resized it at the login screen. It's like the resize got ignored. On a positive note the game seemed to work okay (not using the virtual desktop) especially when I set it to my desktop resolution. I did have some problems with the game resetting my desktop refresh rate to 60hz whenever I logged in, but that went away in version .30.

3. I'm having a file problem in these later versions that I didn't have before. The game will be running fairly smooth and then the framerate will start to drop off down to 10fps or less and the hard drive will start chunking away as though the gw.dat file is fragmented. The framerate will eventually drop down to 1fps and then freeze with occasional graphic updates. Then the game will crash. This seems to happen after an hour or maybe even two. It has happened in pre-searing and also in Abbadon's mouth. I haven't spent a lot of time in Cantha or Elona while in wine so it could happen there as well.

4. I still need the device.c.patch and the 32mouse.patch.

It is playable but I still only go with henchies when I'm in wine so I don't crash in the middle of someones mission. I log in to Windows when I group.

Jarn
January 28th, 2007, 04:01 AM
The virtual desktop setting didn't work that well. I would work some but I was still having sizing issues. The game was larger than the virtual desktop size even when I resized it at the login screen.What did you resize? The virtual desktop?


as though the gw.dat file is fragmented. The framerate will eventually drop down to 1fps and then freeze with occasional graphic updates. Then the game will crash.Have you tried defragmenting the file?


I still need the device.c.patch and the 32mouse.patch.So what happens with the "Too many concurrent lights"? Does the game just crash? Freeze? What happens?


Thanks for the update! It's good to know how others are fairing.

FyreBrand
January 28th, 2007, 05:27 AM
I tried the virtual desktop at 1280x1024 (my desktop rez) and also 1024x768. I tried resizing the GuildWars client in both and it wouldn't resize.

I originally copied the gw.dat file from my ntfs partition. I also deleted it and let it download a new one. Other than copying the file from one location to another I'm not sure how to defragment the files inside the .dat file. In any event it has happened with the old file and with a completely new file.

I'm not sure how to test if "too many concurrent lights" is the problem. Whenever the system has crashed it's really crashed the desktop hard. The hard drive is working away like mad. fsck and smart both haven't reported any problems, but that doesn't mean the drive isn't the problem, but I don't think so since it's behavior is reliable elsewise.

I'll test again in a week or two after doing some research and see if I come up with any answers.

It's always good to see you post back and update though. It's very encouraging. From reading a few threads on guildwarsonline.net there are more of us than I thought. Most use Cedega though.

Jarn
January 28th, 2007, 05:54 AM
I'm not sure how to test if "too many concurrent lights" is the problem.I wasn't suggesting it was, I just thought previously you had said you had had that problem (maybe it was someone else) and I still don't know anything about it. I was just trying to find out more about it, I wasn't suggesting it was your problem. ;)

FyreBrand
January 28th, 2007, 06:27 AM
You know I was just assuming it was because I did have a different type of complete freeze before it was installed. I also use an NVidia 6800XT which is a very similar card to xisixisxis (i can't remember exactly how he spells that lol).

FredDie3785
January 28th, 2007, 02:20 PM
Well I've got this error while installing gwsetup.exe


libGL warning: 3D driver claims to not support visual 0x4b
libGL warning: 3D driver claims to not support visual 0x4b
libGL warning: 3D driver claims to not support visual 0x4b
Failed to open the service control manager.
wine: '/root/.wine' created successfully.
libGL warning: 3D driver claims to not support visual 0x4b
libGL warning: 3D driver claims to not support visual 0x4b
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub!

rmjb
January 28th, 2007, 03:45 PM
I've got another questions...

1. Can I use default Ati drivers which are installed with Ubuntu, or should I install other drivers??

I use my ATi card to play GW in cedega and it works fine. See here http://wiki.cchtml.com/index.php/Ubuntu for a guide on how to install it. I used Method 1.

- rmjb

Jarn
January 28th, 2007, 05:59 PM
Well I've got this error while installing gwsetup.exe
Did you install it as root? I don't know what your problem would be, but it looks like you ran the script as root. That's not really necessary. It uses sudo so it should just prompt you for your password when it needs it. You could try asking in #winehq what that error means. But I would not install it as root, if I was you.

FredDie3785
January 28th, 2007, 10:01 PM
Ok I installed drivers correctly [my Radeon 9200 is being detected by fglrxinfo] and now I've got this error...


configure: WARNING: X development files not found. Wine will be built without
configure: WARNING: X support, which currently does not work, and probably
configure: WARNING: isn't what you want anyway. You will need to install devel
configure: WARNING: packages of Xlib/Xfree86 at the very least.

configure: WARNING: Wine will be build without OpenGL or Direct3D support
configure: WARNING: because something is wrong with the OpenGL setup:

configure: WARNING: Your system appears to have the FreeType 2 runtime librariesconfigure: WARNING: installed, but 'freetype-config' is not in your PATH. Install
configure: WARNING: the freetype-devel package (or its equivalent on your distribution)
configure: WARNING: to enable Wine to use TrueType fonts.

configure: WARNING: FreeType is missing.
configure: WARNING:

I'm trying to install it manually. Any suggestions...

Jarn
January 28th, 2007, 10:34 PM
Ok I installed drivers correctly [my Radeon 9200 is being detected by fglrxinfo] and now I've got this error...



I'm trying to install it manually. Any suggestions...
It looks like your missing a lot of stuff. O.o. Did you run the script that installed the packages you needed? And probably try installing freetype-devel.

FredDie3785
January 28th, 2007, 11:02 PM
Damn probably my card acceleration isn't supported by wine.


wine: creating configuration directory '/home/freddie/.wine'...
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Failed to open the service control manager.
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:module:import_dll Library wined3d.dll (which is needed by L"c:\\windows\\system32\\d3d8.dll") not found
err:module:import_dll Library wined3d.dll (which is needed by L"c:\\windows\\system32\\d3d9.dll") not found
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
wine: '/home/freddie/.wine' created successfully.
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!

Jarn
January 28th, 2007, 11:35 PM
Try asking in the #winehq channel on irc.freenode.net, they could probably help you.

Azakus
January 29th, 2007, 02:23 AM
The installwine+gw.sh script on the front has some typo errors with some extra space characters. I made one that works and here it is.
{EDIT}Fixed accidental removal of patch :( {/EDIT}

Jarn
January 29th, 2007, 03:11 AM
The installwine+gw.sh script on the front has some typo errors with some extra space characters. I made one that works and here it is.Thanks! But why did you remove the 'sudo apt-get install patch' line? I'll add it to the front page, but with that line back in, because patch is a necessary app to have.

Azakus
January 29th, 2007, 03:45 AM
Here's a 64-bit install file and modified files necessary for a 64-bit build.
Building Wine by default in 64-bit fails because the libsicuuc.a file cannot be ported to 32-bit by ./configure or make for the gdi32.dll file, so included is the proper libsicuuc.a file and a modified make file for gdi32. It is all automated with the new install script.
Read the readme if you have any questions.
{EDIT}Mess up in the install script now fixed. Sorry for accidentally removing the line for installing patch.{/EDIT}

Azakus
January 29th, 2007, 03:45 AM
Thanks! But why did you remove the 'sudo apt-get install patch' line? I'll add it to the front page, but with that line back in, because patch is a necessary app to have.

Whoops. Didn't mean to get rid of that
I'll add it back in.

Jarn
January 29th, 2007, 04:00 AM
Thanks for creating a 64-bit version! Also, I don't understand the other two differences between my original script and yours (32-bit). You changed 'sudo sh pkgs.sh' to 'sudo sh ./pkgs.sh' - what's the difference, both point to the current directory. Was it just to make it more specific? Also, what is the difference between #!/bin/bash and #!/bin/sh? I don't know much about scripts, I just took a look at a different one to see the format of them and it had #!/bin/sh so I put that in mine. Was that wrong? I'll add the 64-bit to the front page.

Azakus
January 29th, 2007, 06:53 AM
The whole difference is just what terminal shell processes the commands. I prefer to use the bash shell (#!/bin/bash), but for maximum compatibility, sh is better (#!/bin/sh).
Also, the big difference is that I modified the one Makefile for gdi32 because it can't be made with the default script in 64-bit, and added the 32-bit version of the file gdi32.dll depends on, libsicuuc.a.

Azakus
January 29th, 2007, 07:17 AM
Whoops. Ran into some problems with my current script (no ALSA drivers), so I modified the script with the enhancements on Wine's Wiki.

User_Program
January 29th, 2007, 08:32 AM
Thats great that others are joining in on creating scripts for no hastle install. How about you to collaborate your efforts? Maybe somthing cool could come out of it (not that the scripts arn't cool) .

Jarn
January 30th, 2007, 12:43 AM
Has anyone run the installwine+gw.sh script? I am trying but I keep getting errors. I don't understand, I get errors even in the parts that WORK in the updatewine.sh script. The whole thing is one giant error!


jarn@legion:~/bin$ sh installwine+gw.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package patch
: No such file or directoryh
sh: Can't open ./pkgs.sh
: No such file or directoryurce.tar.bz2
: No such file or directorye.patch
tar: winesource.tar.bz2\r: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
cd: 10: can't cd to wine-*/dlls/winex11.drv
: No such file.sh: 11: cannot open /home/jarn/winestuff/32mouse.patch
cd: 12: can't cd to /home/jarn/winestuff/wine-*
: not found+gw.sh: 13: ./configure
'. Stop. No rule to make target `depend
: not found+gw.sh: 15: make
'. Stop. No rule to make target `install
--17:42:14-- http://www.guildwars.com/downloads/gwsetup.zip
' => `/home/jarn/gwsetup.exe
Resolving www.guildwars.com... 206.127.153.151
Connecting to www.guildwars.com|206.127.153.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 81,466 (80K) [application/zip]

100%[================================================== =================================================>] 81,466 223.88K/s

' saved [81466/81466]) - `/home/jarn/gwsetup.exe

cd: 18: can't cd to ~
.ZIP.or gwsetup.zip or open gwsetup.zip
: not found+gw.sh: 20: wineprefixcreate
mv: cannot stat `/home/jarn/GWSETUP.EXE': No such file or directory
cd: 22: can't cd to /home/jarn/.wine/drive_c
: Permission denied23: cannot create /dev/null
installwine+gw.sh: 23: wine: not found
Complete! Good luck and have fun! - Jarn

All I can do is recommend the updatewine.sh script and then follow the manual instructions from there.

EDIT: Okay, that was odd. I simply retyped it and it works now. It's almost the exact same (I slightly changed the order) but it works now. Or atleast, it's running. Still downloading :P. I'll put it up when it finishes, if it finishes without errors.

Azakus
January 30th, 2007, 02:53 AM
You had some really odd characters in that script. They looked like spaces, but where really some weird unicode placefiller spaces. I don't quite know how you got those in there, but that is what was killing the script.

Jarn
January 30th, 2007, 03:06 AM
You had some really odd characters in that script. They looked like spaces, but where really some weird unicode placefiller spaces. I don't quite know how you got those in there, but that is what was killing the script.That is odd. They didn't show up with nano. Well, now I know the script works, since I tested it. I'll upload an updated version in a minute, I added something else to it.

EDIT: I put up an updated version of updatewine.sh and installwine+gw.sh.

der_joachim
January 30th, 2007, 07:05 PM
Shouldn't this thread be made sticky or something? Or even be included in the HOWTO forum? GWOS wiki anyone?

Dang. guild practice in 56 minutes and I still have to do the dishes. :(

Sir_Penguin
January 31st, 2007, 06:17 AM
The installwine+gw.sh script on the front has some typo errors with some extra space characters. I made one that works and here it is.
{EDIT}Fixed accidental removal of patch :( {/EDIT}
Thanks *heaps* for that. I'm actually trying to get CSS working but wine itself wasn't working. I wasn't actually sure what that script was meant to do but it worked :D Now WINE is running great :)

Balachmar
February 3rd, 2007, 09:38 AM
Hi this howto is great!
I used the install everything script at the first post.
And it runs pretty smoothly, it is now updating itself.
But I don't have any sound... Is that normal or is there a fix for it?

Apt_Quadruped
February 3rd, 2007, 02:17 PM
it's normal to not have sound in guild wars through wine.

Azakus
February 3rd, 2007, 10:00 PM
In Winecfg, change sound to Emulated. That will at least give you background sounds (though battle sounds are still missing).

Catsworth
February 4th, 2007, 03:47 PM
Anybody able to tell me how long the 'install everything' script should take once it's downloaded everything it needs?

It seems to be doing something (can't tell what) but it's been doing it for 20 minutes or so now and there doesn't seem to be an end in sight.

Here's an example of the output in the console:


gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_RPCRT4_ -DCOM_NO_WINDOWS_H -DMSWMSG -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o rpcss_np_client.o rpcss_np_client.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./rpcrt4.spec cproxy.o cpsf.o cstub.o ndr_clientserver.o ndr_fullpointer.o ndr_marshall.o ndr_ole.o ndr_stubless.o rpc_binding.o rpc_epmap.o rpc_message.o rpc_server.o rpc_transport.o rpcrt4_main.o rpcss_np_client.o -o rpcrt4.dll.so -lsecur32 -liphlpapi -ladvapi32 -lkernel32 -lntdll -Wb,-dsecur32 -luuid ../../libs/port/libwine_port.a
make[2]: Leaving directory `/home/rob/winestuff/wine-0.9.30/dlls/rpcrt4'
make[2]: Entering directory `/home/rob/winestuff/wine-0.9.30/dlls/rsabase'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./rsabase.spec -o rsabase.dll.so -lrsaenh -lkernel32 ../../libs/port/libwine_port.a
make[2]: Leaving directory `/home/rob/winestuff/wine-0.9.30/dlls/rsabase'
make[2]: Entering directory `/home/rob/winestuff/wine-0.9.30/dlls/rsaenh'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o des.o des.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o handle.o handle.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o implglue.o implglue.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o md2.o md2.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o mpi.o mpi.c
gcc -c -I. -I. -I../../include -I../../

Thanks.

jcquik
February 4th, 2007, 04:06 PM
it takes awhile. mine took 30 min and then the guild wars download started.

Catsworth
February 4th, 2007, 04:17 PM
Yeah, thanks for that - the GW download just started (and it looks like it's going to take a while - downloading at 15Kb/s and very spikey to say the least.....).

Cheers.

Jarn
February 4th, 2007, 05:25 PM
It takes awhile. Compiling things always takes awhile. The speed will vary based on your processor.

EDIT: Er... apparently I wasn't at the last post, I thought I was. My bad. :P

Catsworth
February 4th, 2007, 06:38 PM
Ok, all installed.

The problem now would appear to be that because GW was installed under 'sudo' it can't be run because the file permissions are wrong on the folders that contain the application files.

Anybody know which permissions I need to change, and to what?

Thanks.

rmjb
February 4th, 2007, 06:45 PM
sudo chmod 777 <files> will work. Where are the guild wars files? If they're in your home directrory chaning the owner to you should be the better thing. You can always gksu nautilus to get a root file browser and from there use the GUI tools to change owner and permissions as you like.

- rmjb

Catsworth
February 4th, 2007, 06:55 PM
[...]Where are the guild wars files?

Not a clue, they were installed by the automated script (I'm assuming under WINE) but I haven't a clue where they went :confused:

rmjb
February 4th, 2007, 07:02 PM
Check in /home/<your username>/.wine or, if it was done as root under /root/.wine.

- rmjb

Catsworth
February 4th, 2007, 07:16 PM
Ok, found it and (after some fiddling) changed the permissions so that I can launch the application.

Now I have two new problems:

1. GW changes the screen resolution when it launches. In Windows it gets changed back when the application is closed, in Ubuntu it doesn't.
2. As soon as I open GW my processor fan comes on full whack and GW slows to a crawl. I can't even get all of the elements of the login screen to load fully, everything just slows down so much it's unreal.

I'm guessing that #2 is because I'm running it through WINE, if that's the case then there's not a lot of point in worrying too much about #1 if it's not going to be playable anyway.

I'll have a read through the thread from the beginning and see if anybody else has had the same trouble.

Thanks for the help.

Jarn
February 5th, 2007, 02:27 AM
Ok, all installed.

The problem now would appear to be that because GW was installed under 'sudo' it can't be run because the file permissions are wrong on the folders that contain the application files.

Anybody know which permissions I need to change, and to what?

Thanks.GW was installed as root? Did you sudo the install script?

Azakus
February 5th, 2007, 05:07 AM
Ok, found it and (after some fiddling) changed the permissions so that I can launch the application.

Now I have two new problems:

1. GW changes the screen resolution when it launches. In Windows it gets changed back when the application is closed, in Ubuntu it doesn't.
2. As soon as I open GW my processor fan comes on full whack and GW slows to a crawl. I can't even get all of the elements of the login screen to load fully, everything just slows down so much it's unreal.

I'm guessing that #2 is because I'm running it through WINE, if that's the case then there's not a lot of point in worrying too much about #1 if it's not going to be playable anyway.

I'll have a read through the thread from the beginning and see if anybody else has had the same trouble.

Thanks for the help.

For #1, run Guild Wars in windowed mode.
For #2, are you running Beryl or Compiz? Neither like Guild Wars at all, so I'd drop back into Metacity for it. If not, try running it with the tag "-dx8" in the launcher and see if it gives you faster performance.

FyreBrand
February 5th, 2007, 06:07 AM
Ok, found it and (after some fiddling) changed the permissions so that I can launch the application.

Now I have two new problems:

1. GW changes the screen resolution when it launches. In Windows it gets changed back when the application is closed, in Ubuntu it doesn't.
2. As soon as I open GW my processor fan comes on full whack and GW slows to a crawl. I can't even get all of the elements of the login screen to load fully, everything just slows down so much it's unreal.

I'm guessing that #2 is because I'm running it through WINE, if that's the case then there's not a lot of point in worrying too much about #1 if it's not going to be playable anyway.

I'll have a read through the thread from the beginning and see if anybody else has had the same trouble.

Thanks for the help.Like Azakus said make sure you are using either metacity (in gnome) or kwin (in kde) as your window managers. 3d compositing window managers like compiz or beryl don't always work well with other 3d apps especially games.

Another thing to check out is which video driver you're using. I found that using the proprietary driver for both ATI and Nvidia helped out a lot. The open radeon driver works better than the open nv driver for 3d apps, but really fglrx (ati) and nvidia proprietary drivers work better.

A quick way you can check how well your card and driver are dealing with 3d is to open the konsole or terminal and type:

glxgears -printfpsThis will bring up 3d gears that rotate and also print the framerate that your card is processing them.. It will also give you a few error messages if it's not working well. If you do get error messages I can't really help you with them, but check the audio, video, multi-media forum. There are lots of threads there on how to get 3d working better.

cahumphrey
February 8th, 2007, 02:43 AM
First off, thanks for the script!
It worked perfectly for me, and I was able to load Guild Wars....

I tried the game today, in windowed mode, which seems to be a bit more compliant, and I now have a mouse pointer 95% of the time, but still have no sound. Any advice??

I am VERY new to linux, but I am really really liking Ubuntu 6.10, and hoping to push through some of these issue and enjoy linux all the time, instead of having to put up with a dual boot. :)

Jarn
February 9th, 2007, 12:04 AM
Sound doesn't seem to work in Guild Wars at the moment. AFAIK, no one has sound. Sorry. :(

FyreBrand
February 9th, 2007, 06:24 AM
Sound doesn't seem to work in Guild Wars at the moment. AFAIK, no one has sound. Sorry. :(I'm wondering if other people are getting sound with their wine games or if it's just Guild Wars. I also wonder if we might be leaving a library out when we compile. I used to have sound in GW under wine, but now I don't either. Kind of odd.

I haven't been playing under wine anymore. I kept getting those weird hard drive freezes, so I'm going to put it on the back burner for the moment.

der_joachim
February 9th, 2007, 06:38 PM
I'm wondering if other people are getting sound with their wine games or if it's just Guild Wars. I also wonder if we might be leaving a library out when we compile. I used to have sound in GW under wine, but now I don't either. Kind of odd.

I haven't been playing under wine anymore. I kept getting those weird hard drive freezes, so I'm going to put it on the back burner for the moment.

Steam has sound. In GW, it is only the combat sounds that do not work. AFAIK there's music and background sound. I have both alsa and OSS enabled, but enabling only alsa does the same for me.

Here, GW is pretty stable in wine. I run at 1680x1050 full screen at roughly the same frame rate as XP.

Catsworth
February 9th, 2007, 09:07 PM
Thanks guys, not had a chance to look at this yet as I haven't got Internet at home - it's all connected now so I'll take a look at this at the weekend and try out your suggestions.

Cheers.

FyreBrand
February 9th, 2007, 09:44 PM
I only show OSS available in winecfg. I use ALSA for everything else and have great sound in Amarok, Firefox, Konqueror, etc. I probably just don't have sound configured properly. I looked at some HowTo's for configuring onboard Intel sound, but I'm not ready to fiddle with that yet.

Mblackwell
February 12th, 2007, 12:47 AM
Wow, using the 32mouse patch I actually got the thing going in 9.30 basically out of the box (although performance kinda sucks and adjusting settings doesn't help much).

I do miss battle sounds and the like, but it's really really playable (and to note, I'm running it on a DX9 path so I get all the pretty effects). Too bad shadows are a bit crazy.

Hopefully by the next official Wine release we can see this in "Gold" status.

My big bugs are that I HAVE to run it with the virtual desktop (which is okay I suppose), and that it seems to get stuck in an endless loop during the intial load sometimes (often enough to be annoying). Luckily I run Wine from the terminal, so I can always just CTRL+C out.

axcairns
February 14th, 2007, 02:32 PM
My GW is cactus. I had previously installed wine 0.9.30 and used it to install GW. I then came across this thread and downloaded and ran the updatewine script. When I try to launch GW it changes resolution (shutting down my second monitor) but then nothing. If I run from console and alt-tab back to it at this point I get lines very much like this one scrolling by at a rapid rate -


err:dbghelp:elf_load_debug_info_from_map Bad CRC for module (got 1b3b353b while expecting dc4315be)

Allan

Jarn
February 15th, 2007, 12:56 AM
My GW is cactus.Cactus?

Mblackwell
February 15th, 2007, 01:02 AM
My GW is cactus. I had previously installed wine 0.9.30 and used it to install GW. I then came across this thread and downloaded and ran the updatewine script. When I try to launch GW it changes resolution (shutting down my second monitor) but then nothing. If I run from console and alt-tab back to it at this point I get lines very much like this one scrolling by at a rapid rate -



Allan

I have that too. If I CTRL+C out and run it again immediately it works.

axcairns
February 15th, 2007, 02:23 AM
Cactus?

Cactus - broken, busted, disabled, down, fallen apart, faulty, feeble, gone, haywire, imperfect, in disrepair, inoperable, kaput, not functioning, out, ruined, run-down, screwed up, shot, spent, unsatisfactory, weak, wracked

Jarn
February 15th, 2007, 03:06 AM
Cactus - broken, busted, disabled, down, fallen apart, faulty, feeble, gone, haywire, imperfect, in disrepair, inoperable, kaput, not functioning, out, ruined, run-down, screwed up, shot, spent, unsatisfactory, weak, wrackedApparently I'm not up on the latest lingo. As for your problem, does it affect other apps or only GW?

axcairns
February 15th, 2007, 12:55 PM
I have that too. If I CTRL+C out and run it again immediately it works.

I tried your suggestion -

First time - the CRC error. Ctrl-C
Second time - game launched successfully but the mouse cursor disappeared after a couple of seconds. I managed to click on the close button.
Third time - game launched successfully but the mouse cursor disappeared after a couple of seconds. I missed the close button and got the maximise/restore button next to it. This caused the whole thing to hang. Alt-tabbed to terminal and Ctrl-C
Fourth and all subsequent times - CRC error

:(

axcairns
February 15th, 2007, 12:56 PM
Apparently I'm not up on the latest lingo. As for your problem, does it affect other apps or only GW?

Just GW. I have Warcraft III, Frozen Throne, Starcraft and Brood War running happily through wine.

Allan

Jarn
February 15th, 2007, 01:30 PM
Did you try right-clicking when the mouse dissapears? Normally if the mouse dissapears, you can just right-click a few times and it will come back.

axcairns
February 17th, 2007, 04:34 AM
Progress!

The CRC error isn't happening anymore. Not sure what changed - I rebooted a couple of times since I last tried and GW downloaded a few more updates.

Bad news is the mouse still disappears. I tried right-clicking as you suggested but no improvement. It disappears when I mouse-over one of the links on the front page.

Cheers,

Allan

axcairns
February 18th, 2007, 09:17 AM
I got the 0.9.31 update today. No change. I'll wait for the updated patch.

Quick question - I looked at the patch file in the winestuff directory - should it have that html wrapper?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>untitled</title>
<style type="text/css">
#sBar {text-align: center; margin: 0; margin-bottom: 10px; padding: 5px 0px; width: 528px; background-color: #fff; border: 1px solid #dfdfdf;}
#sBar li {display: inline; }
#sBar li a, #sBar li a:visited {font: bold 11px tahoma,arial; text-decoration: underline; color: #004891; margin: 0px 5px;}
</style>
</head>

<body>
<table cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center" valign="top">
<ul id="sBar">
<li><a href="http://www.bravenet.com/webhosting/" target="_new">Web Hosting</a></li>
<li><a href="http://www.bravenet.com/webtools/guestbook/" target="_new">Guestbooks</a></li>
<li><a href="http://www.bravenet.com/webtools/chat/" target="_new">Live Chat</a></li>
<li><a href="http://www.bravenet.com/webtools/forum/" target="_new">Message Boards</a></li>
<li><a href="http://www.bravenet.com/webtools/journal/" target="_new">Journals</a></li>
<li><a href="http://www.bravenet.com/webtools/elist/" target="_new">Mailing List</a></li>
</ul>
</td>
<td valign="top"><a href="http://www.bravenet.com/c/o.php?id=35910"><img src="http://assets.bravenet.com/common/images/shell/badges/free_hosting.gif" border="0"></a></td></tr>
<tr>
<td colspan="2" valign="top">
<div align="center" style="z-index: 9000; margin-bottom: 10px;">
<script language="javascript" type="text/javascript" src="http://mercury.bravenet.com/rover/a?dbfile=SPONSORBAR_DB&serv=hosting-sites"></script><noscript><iframe src="http://mercury.bravenet.com/rover/a?dbfile=SPONSORBAR_DB&js=false&serv=hosting-sites" width="754" height="90" allowTransparency="true" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"><img src="http://mercury.bravenet.com/rover/d?dbfile=SPONSORBAR_DB&serv=hosting-sites" alt="" border="0"></iframe></noscript>
<div style="clear: both;"></div>
</div>
</td>
</tr>
</table>
<script src="http://jupiter.bravenet.com/rover/f?cid=bravenet&ctype=24"></script>
--- dlls/winex11.drv/mouse.c 2006-12-22 08:17:47.000000000 -0800
+++ dlls/winex11.drv/mouse.c 2006-12-26 23:43:32.000000000 -0800
@@ -412,16 +412,19 @@
}
else
{
- int rbits, gbits, bbits, red, green, blue;
+ int rbits, gbits, bbits,abits, red, green, blue, alpha;
int rfg, gfg, bfg, rbg, gbg, bbg;
int rscale, gscale, bscale;
int x, y, xmax, ymax, bitIndex, byteIndex, xorIndex;
unsigned char *theMask, *theImage, theChar;
int threshold, fgBits, bgBits, bitShifted;
- BYTE pXorBits[128]; /* Up to 32x32 icons */
+ BYTE pXorBits[128], pAndBits[128]; /* Up to 32x32 icons; could use same array but ... */
+ int failure = 0;

switch (ptr->bBitsPerPixel)
{
+ case 32:
+ abits = 8;
case 24:
rbits = 8;
gbits = 8;
@@ -463,13 +466,16 @@
ymax = (ptr->nHeight > 32) ? 32 : ptr->nHeight;

memset(pXorBits, 0, 128);
+ memset(pAndBits, 0, 128);
for (y=0; y<ymax; y++)
{
for (x=0; x<xmax; x++)
{
red = green = blue = 0;
+ alpha = 255; // This is visible?
switch (ptr->bBitsPerPixel)
{
+ case 32:
case 24:
theChar = theImage[byteIndex++];
blue = theChar;
@@ -477,6 +483,11 @@
green = theChar;
theChar = theImage[byteIndex++];
red = theChar;
+ if (ptr->bBitsPerPixel == 32)
+ {
+ theChar = theImage[byteIndex++];
+ alpha = theChar;
+ }
break;
case 16:
theChar = theImage[byteIndex++];
@@ -488,8 +499,18 @@
break;
}

- if (red+green+blue > threshold)
+ //bg or fg?
+ // If there is alpha for fg color then we should calculate avarange
+ // alpha and use that to create transperancy for cursor (at least my gnome
+ // has transperancy with xorg 7)
+ if (alpha < threshold>>3)
{
+ // Transparent
+ pAndBits[xorIndex] |= bitShifted;
+ }
+ else if (red+green+blue > threshold)
+ {
+ // Foreground
rfg += red;
gfg += green;
bfg += blue;
@@ -498,6 +519,7 @@
}
else
{
+ // Background
rbg += red;
gbg += green;
bbg += blue;
@@ -530,7 +552,16 @@
}
else bg.red = bg.green = bg.blue = 0;
pixmapBits = XCreateBitmapFromData( display, root_window, (char *)pXorBits, xmax, ymax );
- if (!pixmapBits)
+ if (ptr->bBitsPerPixel == 32)
+ {
+ pixmapMask = XCreateBitmapFromData( display, root_window, (char *)pAndBits, xmax, ymax );
+ if (!pixmapMask)
+ {
+ XFreePixmap( display, pixmapAll );
+ failure = 1;
+ }
+ }
+ if (!pixmapBits && failure)
{
XFreePixmap( display, pixmapAll );
XFreeGC( display, gc );
@@ -546,7 +577,13 @@
/* Put the image */
XCopyArea( display, pixmapBits, pixmapAll, gc,
0, 0, xmax, ymax, 0, ptr->nHeight );
+ if (ptr->bBitsPerPixel == 32)
+ {
+ XCopyArea( display, pixmapMask, pixmapAll, gc,
+ 0, 0, xmax, ymax, 0, 0);
+ }
XFreePixmap( display, pixmapBits );
+ XFreePixmap( display, pixmapMask );
}
image->data = NULL;
XDestroyImage( image );
<br>
<div style="text-align: center">
<a href="http://www.bravenet.com/webhosting/" style="font: 11px tahoma, sans-serif; color: #004891;">Web Hosting</a>
&middot;
<a href="http://www.bravenet.com/webtools/journal" style="font: 11px tahoma, sans-serif; color: #004891;">Blog</a>
&middot;
<a href="http://www.bravenet.com/webtools/guestbook/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Guestbooks</a>
&middot;
<a href="http://www.bravenet.com/webtools/forum/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Message Forums</a>
&middot;
<a href="http://www.bravenet.com/webtools/elist/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Mailing Lists</a><br>

<a href="http://allwebcodesign.com/" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Allwebco Web Templates</a>
&middot;
<a href="http://www.sbgglobal.com/b1/10136.html" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Online Casino</a>
&middot;
<a href="http://www.quotemedia.com/" style="font: 11px tahoma, sans-serif;color: #004891;" target="_blank">Financial Data</a>
&middot;
<a href="http://resources.bravenet.com" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Audio, Fonts, Clipart</a><br>

<a href="http://www.bravenet.com" target="_blank" style="text-decoration: none; color: #004891; font: bold 10px tahoma, sans-serif; display:block; padding-top: 10px;">powered by <img src="http://assets.bravenet.com/bravenet/images/poweredby.gif" border="0" alt="a free webtools company" style="vertical-align: middle;"> bravenet.com</a>
</div><br>

</body>
</html>


Cheers,


Allan

fktt
February 18th, 2007, 01:18 PM
umm.. i have guite a bizzarre reguest: could someone tell me how i could chmod my guildwars folder, there are some spaces in the dir. like: "Program Files/Guild Wars" :S makes it difficult to get there through the terminal..

axcairns
February 18th, 2007, 01:30 PM
umm.. i have guite a bizzarre reguest: could someone tell me how i could chmod my guildwars folder, there are some spaces in the dir. like: "Program Files/Guild Wars" :S makes it difficult to get there through the terminal..

Easiest way to reference those folders is to put a \ character before each space.

Allan

fktt
February 18th, 2007, 03:46 PM
thanks axcairns, ill have to check it out, right now :)
EDIT: just gotta love the terminal! :) thanks!

Jarn
February 18th, 2007, 06:53 PM
Quick question - I looked at the patch file in the winestuff directory - should it have that html wrapper?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>untitled</title>
<style type="text/css">
#sBar {text-align: center; margin: 0; margin-bottom: 10px; padding: 5px 0px; width: 528px; background-color: #fff; border: 1px solid #dfdfdf;}
#sBar li {display: inline; }
#sBar li a, #sBar li a:visited {font: bold 11px tahoma,arial; text-decoration: underline; color: #004891; margin: 0px 5px;}
</style>
</head>

<body>
<table cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="center" valign="top">
<ul id="sBar">
<li><a href="http://www.bravenet.com/webhosting/" target="_new">Web Hosting</a></li>
<li><a href="http://www.bravenet.com/webtools/guestbook/" target="_new">Guestbooks</a></li>
<li><a href="http://www.bravenet.com/webtools/chat/" target="_new">Live Chat</a></li>
<li><a href="http://www.bravenet.com/webtools/forum/" target="_new">Message Boards</a></li>
<li><a href="http://www.bravenet.com/webtools/journal/" target="_new">Journals</a></li>
<li><a href="http://www.bravenet.com/webtools/elist/" target="_new">Mailing List</a></li>
</ul>
</td>
<td valign="top"><a href="http://www.bravenet.com/c/o.php?id=35910"><img src="http://assets.bravenet.com/common/images/shell/badges/free_hosting.gif" border="0"></a></td></tr>
<tr>
<td colspan="2" valign="top">
<div align="center" style="z-index: 9000; margin-bottom: 10px;">
<script language="javascript" type="text/javascript" src="http://mercury.bravenet.com/rover/a?dbfile=SPONSORBAR_DB&serv=hosting-sites"></script><noscript><iframe src="http://mercury.bravenet.com/rover/a?dbfile=SPONSORBAR_DB&js=false&serv=hosting-sites" width="754" height="90" allowTransparency="true" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"><img src="http://mercury.bravenet.com/rover/d?dbfile=SPONSORBAR_DB&serv=hosting-sites" alt="" border="0"></iframe></noscript>
<div style="clear: both;"></div>
</div>
</td>
</tr>
</table>
<script src="http://jupiter.bravenet.com/rover/f?cid=bravenet&ctype=24"></script>
--- dlls/winex11.drv/mouse.c 2006-12-22 08:17:47.000000000 -0800
+++ dlls/winex11.drv/mouse.c 2006-12-26 23:43:32.000000000 -0800
@@ -412,16 +412,19 @@
}
else
{
- int rbits, gbits, bbits, red, green, blue;
+ int rbits, gbits, bbits,abits, red, green, blue, alpha;
int rfg, gfg, bfg, rbg, gbg, bbg;
int rscale, gscale, bscale;
int x, y, xmax, ymax, bitIndex, byteIndex, xorIndex;
unsigned char *theMask, *theImage, theChar;
int threshold, fgBits, bgBits, bitShifted;
- BYTE pXorBits[128]; /* Up to 32x32 icons */
+ BYTE pXorBits[128], pAndBits[128]; /* Up to 32x32 icons; could use same array but ... */
+ int failure = 0;

switch (ptr->bBitsPerPixel)
{
+ case 32:
+ abits = 8;
case 24:
rbits = 8;
gbits = 8;
@@ -463,13 +466,16 @@
ymax = (ptr->nHeight > 32) ? 32 : ptr->nHeight;

memset(pXorBits, 0, 128);
+ memset(pAndBits, 0, 128);
for (y=0; y<ymax; y++)
{
for (x=0; x<xmax; x++)
{
red = green = blue = 0;
+ alpha = 255; // This is visible?
switch (ptr->bBitsPerPixel)
{
+ case 32:
case 24:
theChar = theImage[byteIndex++];
blue = theChar;
@@ -477,6 +483,11 @@
green = theChar;
theChar = theImage[byteIndex++];
red = theChar;
+ if (ptr->bBitsPerPixel == 32)
+ {
+ theChar = theImage[byteIndex++];
+ alpha = theChar;
+ }
break;
case 16:
theChar = theImage[byteIndex++];
@@ -488,8 +499,18 @@
break;
}

- if (red+green+blue > threshold)
+ //bg or fg?
+ // If there is alpha for fg color then we should calculate avarange
+ // alpha and use that to create transperancy for cursor (at least my gnome
+ // has transperancy with xorg 7)
+ if (alpha < threshold>>3)
{
+ // Transparent
+ pAndBits[xorIndex] |= bitShifted;
+ }
+ else if (red+green+blue > threshold)
+ {
+ // Foreground
rfg += red;
gfg += green;
bfg += blue;
@@ -498,6 +519,7 @@
}
else
{
+ // Background
rbg += red;
gbg += green;
bbg += blue;
@@ -530,7 +552,16 @@
}
else bg.red = bg.green = bg.blue = 0;
pixmapBits = XCreateBitmapFromData( display, root_window, (char *)pXorBits, xmax, ymax );
- if (!pixmapBits)
+ if (ptr->bBitsPerPixel == 32)
+ {
+ pixmapMask = XCreateBitmapFromData( display, root_window, (char *)pAndBits, xmax, ymax );
+ if (!pixmapMask)
+ {
+ XFreePixmap( display, pixmapAll );
+ failure = 1;
+ }
+ }
+ if (!pixmapBits && failure)
{
XFreePixmap( display, pixmapAll );
XFreeGC( display, gc );
@@ -546,7 +577,13 @@
/* Put the image */
XCopyArea( display, pixmapBits, pixmapAll, gc,
0, 0, xmax, ymax, 0, ptr->nHeight );
+ if (ptr->bBitsPerPixel == 32)
+ {
+ XCopyArea( display, pixmapMask, pixmapAll, gc,
+ 0, 0, xmax, ymax, 0, 0);
+ }
XFreePixmap( display, pixmapBits );
+ XFreePixmap( display, pixmapMask );
}
image->data = NULL;
XDestroyImage( image );
<br>
<div style="text-align: center">
<a href="http://www.bravenet.com/webhosting/" style="font: 11px tahoma, sans-serif; color: #004891;">Web Hosting</a>
&middot;
<a href="http://www.bravenet.com/webtools/journal" style="font: 11px tahoma, sans-serif; color: #004891;">Blog</a>
&middot;
<a href="http://www.bravenet.com/webtools/guestbook/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Guestbooks</a>
&middot;
<a href="http://www.bravenet.com/webtools/forum/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Message Forums</a>
&middot;
<a href="http://www.bravenet.com/webtools/elist/" style="font: 11px tahoma, sans-serif; color: #004891;" target="_blank">Mailing Lists</a><br>

<a href="http://allwebcodesign.com/" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Allwebco Web Templates</a>
&middot;
<a href="http://www.sbgglobal.com/b1/10136.html" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Online Casino</a>
&middot;
<a href="http://www.quotemedia.com/" style="font: 11px tahoma, sans-serif;color: #004891;" target="_blank">Financial Data</a>
&middot;
<a href="http://resources.bravenet.com" style="font: 11px tahoma, sans-serif; color: #004891;" targetr="_blank">Audio, Fonts, Clipart</a><br>

<a href="http://www.bravenet.com" target="_blank" style="text-decoration: none; color: #004891; font: bold 10px tahoma, sans-serif; display:block; padding-top: 10px;">powered by <img src="http://assets.bravenet.com/bravenet/images/poweredby.gif" border="0" alt="a free webtools company" style="vertical-align: middle;"> bravenet.com</a>
</div><br>

</body>
</html>
It has never affected the patch for me. It still works. I think patch just ignores it, though I keep meaning to host it somewhere else that hopefully won't do that. I'll host it at my googlepage and I'll put it in when I update the scripts for 0.9.31. That won't be for a few days though, since I have a lot I need to do this weekend. Probably Tuesday.

falsenames
February 20th, 2007, 07:12 AM
Upgrading is a pain... I had everything working well on a patched version 0.9.28 until Guild Wars had some update a few weeks ago, so I took a break. Now I've upgraded to 0.9.31, and I'm having worse concurrent light issues than before. Now it's happening in fields and towns instead of just in caverns. On a brighter note, the textures and colouring is FAR suprior with just three minor revisions. I was quite impressed, since this update got rid of the need for the mouse patch for me, and got rid of the bug where sometimes various characters would be shaded black. I eagerly await your patch, as I have no clue how to muck about with this graphics stuff.

der_joachim
February 20th, 2007, 06:40 PM
Hmmm... GW in 0.9.31 just does not start for me. No worries though. I still had a .deb which I built from 0.9.30 and I am happily playing again.

Elsewhere in this subforum there is a thread about 0.9.31 and it seems to have quite a few regressions. Perhaps we will have more luck with 0.9.32.

falsenames
February 20th, 2007, 07:59 PM
Well, given the recent revision dates, we can probably expect 0.9.32 within a few weeks. The Wine dev team seems to not be sleeping much as of late, or they all got vacations from work at the same time. I've been enjoying the monthly releases, espeically since it seems most of the work is going into the 3D development.

Bit of an odd question though. How do you force Wine to use a specific directX interface? Someone in an earlier post said that they were using a directX9 path, and I'd like to see if I could use the same.

Azakus
February 21st, 2007, 06:09 AM
To force a direct x path, just add "-dxN" (N being the direct x version you want) to the end of the program's launcher.
For example, Guild Wars with Direct X 8 would look like this:

wine "C:\\ThePathToGuildWars\\Gw.exe -dx8"

Jarn
February 22nd, 2007, 01:16 AM
I'm having worse concurrent light issues than beforeThere's a patch for the concurrent lights glitch in the first post in the Manual section. It's near the end. I didn't include it in the script because not everyone needs it.

erk
February 22nd, 2007, 03:00 PM
Can someone email the Ubuntu/Wine package maintainer the 32 bit mouse cursor patch to include in future releases? I don't really know much about it so it's better if someone who does know emails him.

BTW The OpenSUSE Wine 0.9.30 package already has a patch installed that uses the X11 cursor in GW when I tried it a couple of weeks ago. It ran like a snail on my Thinkpad R52, completely useless, but the cursor worked :)

Jarn
February 23rd, 2007, 02:23 AM
BTW The OpenSUSE Wine 0.9.30 package already has a patch installed that uses the X11 cursor in GW when I tried it a couple of weeks agoOo, interesting... would people like that more than the current patch that (badly) reproduces GW's mouse?

falsenames
February 23rd, 2007, 03:40 AM
Well this is fun... I apparently forgot to patch the mouse in my 0.9.30 build, just the concurrent lights issue. A new build for GW came out today, and when I loaded it up again, the mouse disappeared, so I went back and double checked everything, patched mouse.c, and now gw crashes as soon as it is finished connecting to ArenaNet. Here's the error message:

fixme:d3d_surface:IWineD3DSurfaceImpl_UnlockRect unsupported unlocking to Rendering surface surf@0x21c350 usage(WINED3DUSAGE_RENDERTARGET)
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0x7e764d60
Serial number of failed request: 150
Current serial number in output stream: 174

I also thought I posted this next part before, but the message somehow got lost. The 0.9.31 device.c is greatly different from the previous releases. The patch no longer works for the concurrent light issue.

axcairns
February 23rd, 2007, 09:43 AM
Oo, interesting... would people like that more than the current patch that (badly) reproduces GW's mouse?

Yes please. The patch never worked for me.

Allan

FyreBrand
February 24th, 2007, 07:06 AM
The person who makes the debs for Ubuntu made a thread here (in the games forum) asking for feedback and talking a little bit about releases. You should search for that thread, post there and also PM him. He sounds like a really nice guy and very interested in making wine a good thing in Ubuntu.

Something to consider is that adding the patches to the deb might break other games or applications. Just because it works for GW doesn't mean it's going to work for everything, though it might.

Flyser
February 24th, 2007, 12:08 PM
Hi I ported the the 32-Bit Cursor and the "Too many current lights" Patch to wine 0.9.31
The Cursor works perfectly and the lights-patch is untested (still compiling).
Except some lock-ups because of the lights-problem Guild Wars is running perfectly! Even the perfomance is better (very playable for me now)

EDIT: After applying the lights-patch everthing works nearly perfect now! (still there are some very rare and minor graphic bugs, nothing that affects gameplay)
In the Wine AppDB I would rate it gold now!


My patches:

axcairns
February 24th, 2007, 01:16 PM
The person who makes the debs for Ubuntu made a thread here (in the games forum) asking for feedback and talking a little bit about releases. You should search for that thread, post there and also PM him. He sounds like a really nice guy and very interested in making wine a good thing in Ubuntu.

Something to consider is that adding the patches to the deb might break other games or applications. Just because it works for GW doesn't mean it's going to work for everything, though it might.

Care to point us to the thread? I just trawled through the games forum with no luck.

Allan

axcairns
February 24th, 2007, 01:33 PM
I thought I'd try flyser's mouse patch and noticed a problem when running ./configure - my system (recent edgy build) was missing a couple of key packages (flex and bison). The same error probably also occurred when running jarn's updatewine script but the subsequent commands in the script would quickly have pushed the error off screen.

Jarn, do those packages appear in your howto?

Cheers,


Allan

axcairns
February 24th, 2007, 01:41 PM
Hi I ported the the 32-Bit Cursor and the "Too many current lights" Patch to wine 0.9.31
The Cursor works perfectly and the lights-patch is untested (still compiling).
Except some lock-ups because of the lights-problem Guild Wars is running perfectly! Even the perfomance is better (very playable for me now)

EDIT: After applying the lights-patch everthing works nearly perfect now! (still there are some very rare and minor graphic bugs, nothing that affects gameplay)
In the Wine AppDB I would rate it gold now!


My patches:

Just tried your mouse patch but no luck. Mouse disappears first time I mouseover a link.

Allan

Flyser
February 24th, 2007, 01:47 PM
huh? really? well its exactly the same as the 0.9.28 patch on the first page, I just corrected the linenumbers.
Are you sure the source code is patched correctly and without errors?
You may also try clicking right three times, while moving the mouse. I have to do this sometimes

FyreBrand
February 24th, 2007, 09:29 PM
Care to point us to the thread? I just trawled through the games forum with no luck.

AllanHere is the link to that thread: Wine 0.9.31 Thread by YokoZar (http://www.ubuntuforums.org/showthread.php?t=364256&highlight=wine).


I thought I'd try flyser's mouse patch and noticed a problem when running ./configure - my system (recent edgy build) was missing a couple of key packages (flex and bison). The same error probably also occurred when running jarn's updatewine script but the subsequent commands in the script would quickly have pushed the error off screen.

Jarn, do those packages appear in your howto?

Cheers,


AllanRead the instructions and the initial script closely. You need certain packages installed before you can compile wine and Bison is one of them. It should compile just fine for you, just check that you've met all the prerequisites first.

falsenames
February 25th, 2007, 10:18 AM
For those who are experiencing problems with the mouse patch not working, it's not always needed. For some odd reason, I only have issues with the mouse if I install any mouse patches, but most people do need them. I also need a concurrent lights patch all the time, and most people don't. Each system has it's own unique quirky behaviour, and you just have to find out what works for you. Also, as Flyser said, sometimes you have to cause several mouse events to happen before the cursor appears on the screen.

** EDIT **

I forgot, mouse issues also are a bigger problem if you have set the game at full screen mode. It's the only time I ever have it act up on my computer. Running in window mode seems to work much better. This is the windowing set within GW's options, not within Wine's

Flyser
February 25th, 2007, 03:47 PM
Yup I think this depends in your X-Configuration (color-depth and various driver switches) and on the graphiccard+drivers. (I am using a ATI Mobility Radeon 9700 + fglrx 8.34.8; tried opensource-radeon-driver but doesnt work)

falsenames
February 25th, 2007, 06:54 PM
I'm not sure about ATI's open source driver, but nVidia's is starting to become almost useful. I still recommend using the binaries at nVidia's site, since they are making a huge effort at becoming compatable with Linux's kernel, if not it's open source ideals. The companies that make these cards obviously have an advantage for being able to make the driver if they choose to. I'm just glad they have finally started to, even if I can't figure out any reason they would not make these drivers open source. I'm sure a very large complicated legal department decided it was releasing company secrets.

Jarn
February 27th, 2007, 01:54 AM
Jarn, do those packages appear in your howto?Yes. What the script from the Wine website doesn't install, apt-get build-dep wine will - between the two you should have everything you need and some you don't.

FredDie3785
February 27th, 2007, 11:41 PM
Ok now I've got 3d acceleration with my ATi Radeon 9200 and GW seems to work properly.
Right now I'm downloading game files and I've got a question how to install GW from CDs [I have all campaigns].
I tried to install "Prophecy" but I had problems with 2nd CD. The installation doesn't want to continue....

EDIT: Holy mother of god it works great. Thx Jarn and everyone, but I've got some minor problems with textures but nvm

Here I've got another question. Is there any possibility to apply those two patches if I'm installing WINE from repositories.
As someone wrote it earlier you should send email to WineHQ with your work, Jarn...

Azakus
February 28th, 2007, 02:31 AM
No, you have to build wine yourself if you want the patches as they need to be applied before being compiled.

Jarn
February 28th, 2007, 02:58 AM
As someone wrote it earlier you should send email to WineHQ with your work, Jarn...I didn't do anything. O.o. All I did was put all the information I could find in one place. And I wrote the two 32-bit scripts. But the patches and things already existed, they were just hard to find.

Flyser
February 28th, 2007, 02:54 PM
It would be useful to update the howto on the first page, since there are a lot of performance boosts in 0.9.31

Vexed Arcanist
February 28th, 2007, 11:50 PM
Right now I'm downloading game files and I've got a question how to install GW from CDs [I have all campaigns].
I tried to install "Prophecy" but I had problems with 2nd CD. The installation doesn't want to continue....

Off topic from thread but on topic for the above quote, if you have all 3 campaigns you should only install Nightfall (or the latest in case where you have 2). Everything up to that campaign's release will be on that set of discs.

For those using this method to install (CDs vs Client download) you will knock out about 50000 of 80000 files this way.

Azakus
February 28th, 2007, 11:58 PM
BIG NEWS!!!!
I found a script that makes the 32-bit libsicuuc.a file needed for WINE on AMD64, so now the build script is much smaller! All that in the gzip file now is the modified Makefile for gdi32 and the new 64-build script!

Jarn
March 1st, 2007, 12:18 AM
It would be useful to update the howto on the first page, since there are a lot of performance boosts in 0.9.31
I know, I keep meaning to, but I've been really busy. I'll try to get to it this weekend, but I have a Science Olympiad state competition on Saturday, so I'm not sure if I'll have time.

Fasga
March 1st, 2007, 03:07 AM
Still a total nooby at all this, and I probably did this wrong, but, here's a 0.9.31 deb with the mouse patch: http://jtorials.com/debs/wine_0.9.31-1_i386.deb

FredDie3785
March 1st, 2007, 11:59 AM
Sorry for another offtop...
And if I want to remove completely old ver of W.I.N.E installed from sources??

axcairns
March 1st, 2007, 01:04 PM
Sorry for another offtop...
And if I want to remove completely old ver of W.I.N.E installed from sources??

While in the directory where you did the build -


sudo make uninstall

Allan

FredDie3785
March 1st, 2007, 02:54 PM
I've read that there is other way to apply the patch. Just install the newest version of W.I.N.E.
Then move to it's category:


cd ../wine

Then just apply patch with:

cat <patch> |patch -s -p0 --dry-run

And if it's not working do this:


cat <patch> |patch -s -p0

Actually I haven't tested it yet, but I will when the GW will download!

EDIT: Well it's not working...:( Please someone do the sources...

Flyser
March 1st, 2007, 06:21 PM
Whats new about this??

Fasga
March 2nd, 2007, 03:52 AM
I often get this when the game finishes loading a new area. It keeps spitting it out and it crashes the entire game:

err:dbghelp:elf_load_debug_info_from_map Bad CRC for module (got (differs) while expecting (differs))

falsenames
March 2nd, 2007, 06:24 AM
Check up in the scroll to see if you have the concurrent lights issue. When I ran 0.9.31 before the patches Jarl posted, I got that spammed a LOT right after the warning for concurrent lights. A nice quick way to see if that's the case is by running gw with this command:

wine Gw.exe 2> grep concurrent
If you see a warning pop up after gw freezes, then you need to patch wine with the devices.c.0.9.31.lights.patch.txt file.

Azakus
March 2nd, 2007, 06:42 AM
There were a few regressions in the Direct3D portion of WINE for the 0.9.31 release. That might explain your errors. Should be fixed by 0.9.32

Jarn
March 2nd, 2007, 06:50 AM
Looking at more about 0.9.31, should I even update the scripts etc. for 0.9.31? The regressions in Direct3D could be bothersome and we know 0.9.30 works.

FyreBrand
March 2nd, 2007, 08:29 AM
I would say just to wait until the next version and see how that one goes especially if you're short on time. With the rate they've been pumping out releases I would say it won't be long anyways.

Jarn
March 2nd, 2007, 08:47 AM
Will do.

falsenames
March 2nd, 2007, 08:40 PM
Personally, I see much better quality in the graphics with 0.9.31 than I did even with 0.9.30. There isn't a problem with my character being shadowed in the inventory screen anymore. I rarely have issues with armour not appearing on people anymore. The display for dyes actually shows the new colour now. Regression is not always a bad thing when it's going back and fixing things that were wrong.

Also, the bad CRC error message is the same exact one that shows up in 0.9.30 when you have the concurrent lights issue, so the regression doesn't matter there. Especially Jarl posted the working patch for devices.c for 0.9.31

Flyser
March 2nd, 2007, 10:51 PM
Does any1 know WHY the Combat-Sound isn't working? maybe it is possible to write a patch for this issue :)

Azakus
March 2nd, 2007, 10:52 PM
So far, the regressions have only been found in two games, but it's still not really clear.
More details: http://winehq.com/?issue=323#Direct3D%20Breakage%20in%200.9.31

Azakus
March 2nd, 2007, 10:56 PM
Wine 0.9.32 Just released, with the Direct3D problems apparently fixed.
Updating scripts.
{EDIT}
Wine no longer needs a modified makefile for GDI32 in AMD64, so now it is all in one shell script!
{/EDIT}

Jarn
March 3rd, 2007, 12:41 AM
Well, I'll probably update this today! Science Olympiad was canceled due to snow so I find myself with several hours of free time I was not planning on. :D

EDIT: Okay, I'm about to change the script, but before I do: should I put the concurrent lights patch in it? Since a lot of people have that problem and it shouldn't negatively effects those who don't, I figure I might as well. Sound good? Also, I'm going to edit the script so it uses checkinstall to create a deb - that way if a later release of wine breaks your current, you can just uninstall the deb and install your old version.

Fasga
March 3rd, 2007, 01:40 AM
Would it be too hard to make two? If it would, add it. Mostly because I think that might be my problem. :p

Jarn
March 3rd, 2007, 01:50 AM
It wouldn't be too hard to make two. Only, I'd rather have just one script for the sake of simplicity. I think I'll just throw in the lights patch, because I don't think it will negatively affect those who DON'T have that problem and it will benefit those who do. I updated the script and I'm running it now. If it works, I'll post it when it's done.

EDIT: Hrm. It worked, but I think my FPS went down. I'm going to install an older version to see if it did or if it's just my imagination.
EDIT2: Yeah, it did. And not just in 0.9.32, either. It did in 0.9.31. At 0.9.30, I get about 30 FPS while PvPing. With 0.9.31 I get about 20. Now, with 0.9.32, I get about 10. I have to lower my settings to get decent FPS.

Jarn
March 3rd, 2007, 04:15 AM
Okay, I updated it for 0.9.32 now. And I decided I need more RAM. :P

FyreBrand
March 3rd, 2007, 07:51 AM
Okay, I updated it for 0.9.32 now. And I decided I need more RAM. :P
Hahaha. RAM makes it all good. :) Thanks for the update Jarn. You're awesome.

FredDie3785
March 3rd, 2007, 02:37 PM
If I have installed Wine 0.9.30 so I must run updatewine.sh. to update it to 0.9.32?? Am I correct??

Flyser
March 3rd, 2007, 03:01 PM
Today I played a bit with the Direct3D-Registry-Keys the results are not that bad:
DirectDrawRenderer:
gdi(default)
opengl -> Better perfomance and no errors

RenderTargetLockMode: -> Changing this does not change anything in perfomance, quality or anything for me
auto (default)
disabled
readdraw
readtex
texdraw
textex

Nonpower2Mode: -> Didn't try, I dont think this is useful for Guild Wars
y
n (default)

OffscreenRenderingMode:
backbuffer (default) -> best
pbuffer -> Works but drops performance
fbo -> Unplayable slow and graphicbugs

UseGLSL
disabled (default)
enabled -> Seems to add support for Shader (Either Pixel or Vertex, but not both); it seems safe to enable this even if you dont use shader

VideoMemorySize:
64 (default)
Must be higher or equal than "8" (this means 8MByte) otherwise Guild Wars wont start
If this value is low (e.g. 8 ) there are LOTS of texturebugs (trees which looks like giant footprints; difficult to explain ;) )
If its high (e.g. 512) you will barely see any texturebugs (still there are some)

--------

I recommend setting:
VideoMemorySize to "512"
UseGLSL to "enabled"
DirectDrawRenderer to "opengl"

A overview over this switches (what they do and where to find them) can be found at: http://wiki.winehq.org/UsefulRegistryKeys

gl&hf

Azakus
March 3rd, 2007, 05:58 PM
I figured out how to get ALSA support for AMD64. You have to install lib32asound2-dev and libasound2-dev before compiling.
I'll add it into the script later.

Jarn
March 3rd, 2007, 08:55 PM
I recommend setting:
VideoMemorySize to "512"
UseGLSL to "enabled"
DirectDrawRenderer to "opengl"Woah! Guild Wars is a lot more responsive now! Even opening menus etc. is a lot quicker. Of course, it could be my imagination, but I don't think it is.

Flyser
March 3rd, 2007, 09:49 PM
No reason :) :) :)

Is the 32-bit-cursor- and the "too many currently active light"-patch still needed in wine-0.9.32? What about the performance-fixes, which were mentioned in winehq-changelog is it much faster?

Is there need in a new version of those patches? I would post them when wine-0.9.32 hit the gentoo-portage!

Jarn
March 3rd, 2007, 09:52 PM
Is the 32-bit-cursor- and the "too many currently active light"-patch still needed in wine-0.9.32?I don't know. I put them in without checking.
EDIT: Looking over the changelog, the files that the patches modify (device.c and mouse.c) weren't edited, so they're most likely still necessary.


What about the performance-fixes, which were mentioned in winehq-changelog is it much faster?I dunno, I think it's about the same. Your registry tweaks, however, made a noticeable difference.


Is there need in a new version of those patches?Nope, the ones for 0.9.31 still work.

Lincolns_back
March 3rd, 2007, 09:55 PM
hey im not sure how to psot inmy own forum or make on so im postign here my wine was fien one day i went into winecfg then clickedadd program and it came up with this

err:shell:SHGetFolderPathW Failed to create directory 'L"z:\\home\\lincoln\\Desktop"'.
err:commdlg:IShellBrowserImpl_BrowseObject could not browse to folder

so i cant add programs with it adn cant install stuff it jsut freezes on stuff plz help i tryed reinstalloing it but didnt work

Flyser
March 3rd, 2007, 10:04 PM
just do a

rm -r ~/.wine
as your local user
NOTE: this deletes all programs you installed in wine previously and removes all files that might be in your virtual-windows-directory

EDIT: Well do it as Jarn said (next post) though this is a Guild Wars + wine and NOT a everything-to-do-with-wine thread

Jarn
March 3rd, 2007, 10:06 PM
hey im not sure how to psot inmy own forum or make on so im postign here my wine was fien one day i went into winecfg then clickedadd program and it came up with this

err:shell:SHGetFolderPathW Failed to create directory 'L"z:\\home\\lincoln\\Desktop"'.
err:commdlg:IShellBrowserImpl_BrowseObject could not browse to folder

so i cant add programs with it adn cant install stuff it jsut freezes on stuff plz help i tryed reinstalloing it but didnt work
Go into the forum and click the button that says "Make New Post". It's right over "Threads in Forum : Gaming & Leisure"

Ryan H
March 4th, 2007, 07:54 AM
I tried to compile it and got this error:

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 can't seem to get it to work, I saw someone else also had this error, but I didn't see a solution for it. Any help would be greatly appreciated! :)

Thank you.

-Ryan H

Jarn
March 4th, 2007, 08:18 AM
I've never seen that before, but maybe config.log would give more information.

EDIT: Flyser, I just found something out. Turning on the UseGLSL registry entry causes CS:S to behave the same as it did in 0.9.31, namely, not work. It just sits at a black screen. So if anyone enables that and CS:S doesn't work... now you know why.

Flyser
March 4th, 2007, 10:55 AM
Well you can use different wine-directories, I have CS1.6, Guild Wars and XFire in their own dir and start Guild Wars like this:

WINEPREFIX="/home/yourusername/.wine.gw" WINEDEBUG=trace-all,fixme-all,err+all wine C:\\Program\ Files\\GW\\Gw.exe -perf -dx8 -noshaders -noshader &>/var/tmp/guildwars.log &

Azakus
March 4th, 2007, 02:23 PM
I've never seen that before, but maybe config.log would give more information.

EDIT: Flyser, I just found something out. Turning on the UseGLSL registry entry causes CS:S to behave the same as it did in 0.9.31, namely, not work. It just sits at a black screen. So if anyone enables that and CS:S doesn't work... now you know why.

Actually, I got it to work with GLSL on, but I had to modify my ALSA configurement to provide direct access to the card, other wise I'd have a screen all perfect, but when I tried to click something, it would freeze upon one of the options going "click".

Pugwash
March 4th, 2007, 02:32 PM
Ok, when I start guildwars.exe (I've already installed it through wine) I see no mouse cursor and the thing runs really slowly. I'm on the latest wine. Could someone point me towards the right direction here.

Cheers

Flyser
March 4th, 2007, 02:58 PM
http://ubuntuforums.org/showthread.php?t=283122
;)

Ryan H
March 4th, 2007, 03:40 PM
My config.log file shows this

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Wine configure 0.9.32, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = ryan-ubuntu
uname -m = x86_64
uname -r = 2.6.15-28-amd64-generic
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu Feb 1 15:53:41 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1895: checking build system type
configure:1913: result: x86_64-unknown-linux-gnu
configure:1935: checking host system type
configure:1950: result: x86_64-unknown-linux-gnu
configure:2015: checking whether make sets $(MAKE)
configure:2036: result: yes
configure:2093: checking for gcc
configure:2120: result: gcc -m32
configure:2358: checking for C compiler version
configure:2365: gcc -m32 --version >&5
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2368: $? = 0
configure:2375: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
configure:2378: $? = 0
configure:2385: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2388: $? = 1
configure:2411: checking for C compiler default output file name
configure:2438: gcc -m32 conftest.c >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:2441: $? = 1
configure:2479: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "0.9.32"
| #define PACKAGE_STRING "Wine 0.9.32"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2486: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC='gcc -m32'
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALSALIBS=''
AR=''
ARTSCCONFIG=''
ARTSINCL=''
ARTSLIBS=''
AS='as --32'
AUDIOIOLIBS=''
BISON=''
BUILTINFLAG=''
CARBONLIB=''
CC='gcc -m32'
CFLAGS=''
COREAUDIO=''
COREFOUNDATIONLIB=''
CPP=''
CPPBIN=''
CPPFLAGS=''
CROSSCC=''
CROSSTEST=''
CROSSWINDRES=''
CRTLIBS=''
CXX=''
CXXFLAGS=''
DEFS=''
DEPENDENCIES=''
DISKARBITRATIONLIB=''
DLLEXT=''
DLLFLAGS=''
DLLTOOL=''
DLLWRAP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ESDCONFIG=''
ESDINCL=''
ESDLIBS=''
EXEEXT=''
EXTRACFLAGS=''
EXTRA_BINARIES=''
FONTFORGE=''
FONTSSUBDIRS=''
FREETYPEINCL=''
FREETYPELIBS=''
GLU32FILES=''
GPHOTO2INCL=''
GPHOTO2LIBS=''
GREP=''
HALINCL=''
ICULIBS=''
IMPLIBEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IOKITLIB=''
LCMSLIBS=''
LD='ld -m elf_i386'
LDAPLIBS=''
LDCONFIG=''
LDD=''
LDDLLFLAGS=''
LDEXECFLAGS=''
LDFLAGS=''
LDPATH=''
LDSHARED=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBDL=''
LIBEXT=''
LIBOBJS=''
LIBPOLL=''
LIBPTHREAD=''
LIBS=''
LIBWINE_LDFLAGS=''
LINT=''
LINTFLAGS=''
LN=''
LN_S=''
LTLIBOBJS=''
MAIN_BINARY=''
MINGWAR=''
NASLIBS=''
OBJEXT=''
OPENGLFILES=''
OPENGL_LIBS=''
PACKAGE_BUGREPORT='wine-devel@winehq.org'
PACKAGE_NAME='Wine'
PACKAGE_STRING='Wine 0.9.32'
PACKAGE_TARNAME='wine'
PACKAGE_VERSION='0.9.32'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PRELINK=''
QUARTZFILES=''
RANLIB=''
RESOLVLIBS=''
SANEINCL=''
SANELIBS=''
SET_MAKE=''
SHELL='/bin/sh'
SOCKETLIBS=''
STRIP=''
TOOLSDIR=''
WIN16_FILES='$(WIN16_FILES)'
WIN16_INSTALL='$(WIN16_INSTALL)'
WINDRES=''
XFILES=''
XLEX=''
XLIB=''
XMKMF=''
XML2INCL=''
XML2LIBS=''
XSLTINCL=''
XSLTLIBS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AS=''
ac_ct_CC='gcc -m32'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
ft_devel2=''
ft_devel=''
gphoto2_devel=''
gphoto2port_devel=''
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='i386'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sane_devel=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MAKE_DLL_RULES=''
MAKE_IMPLIB_RULES=''
MAKE_PROG_RULES=''
MAKE_RULES=''
MAKE_TEST_RULES=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "Wine"
#define PACKAGE_TARNAME "wine"
#define PACKAGE_VERSION "0.9.32"
#define PACKAGE_STRING "Wine 0.9.32"
#define PACKAGE_BUGREPORT "wine-devel@winehq.org"

configure: exit 77


That's a lot of stuff, I don't know if it's any help.

-Ryan H

Jarn
March 4th, 2007, 07:53 PM
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

I think that is the part that is giving you problems. I don't know what it means, though. Try asking in the #winehq irc channel on irc.freenode.net.

falsenames
March 5th, 2007, 09:25 AM
I had this problem when I tried running a 64 bit version of Gentoo earlier. You need to run ldconfig as superuser to fix up a few incompatible libraries. After installing a 32 bit version of MEPIS though, I haven't had to deal with it, so I forget how. Whatever version of wine you're using is for the wrong chipset, or can't find the gcc libraries for the correct chipset.

Here's the problem from your config.log if you don't have the 32bit versions of those libraries.
/bin/arch = x86_64
...
configure:2120: result: gcc -m32

PsychoStorm
March 5th, 2007, 06:56 PM
The sound problem

Does the combat sound in Guild Wars work for someone here?
I found something that might be interesting:
Actually the sound works but it's very very quiet.
If you have working music and working interface sound, try this:
Use headphones and turn the volume as high as possible and make sure that this is the only source sound can come from, so turn off any music because music would be louder anyway.
Now you should hear the combat sound.
Even then it's still quiet but it works.

P.S.: I'm sorry if this has been posted before but I didn't read the whole thread, just the first and the last two sites. :shame:

Flyser
March 5th, 2007, 08:47 PM
mh if you are treu and the sound is just quite, it would be fairly easy to write a patch, wouldn't it?

aswells
March 5th, 2007, 09:33 PM
Even after running the command wineprefixcreate in the same folder as my copiled wine source code my regedit tool does now show any of the registry keys that are suggested to be changed. I used the updatewine.sh script.