Issues with Wine and Star Wars Galaxies

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
drpain
Newbie
Newbie
Posts: 4
Joined: Tue Mar 24, 2009 6:37 am

Issues with Wine and Star Wars Galaxies

Post by drpain »

Having some issues getting Galaxies to launch, I can get other programs within Wine to launch like tvants and other basic programs. I'm using Wine 1.1.7 on Mac OSX 10.5.6 with X11 updated to 2.3.3 and Darwine 1.1.9.

When I got to launch Galaxies all I get is a terminal page full of errors. I notice Wine is deferring a lot dlls and I don't know if this is the cause of it or not. It also is having some issues with OpenGL launching as well I think.

Code: Select all

err:wgl:has_opengl  glx_version is 1.2 and GLX_SGIX_fbconfig extension is unsupported. Expect problems.
wine: Unhandled page fault on execute access to 0x00000000 at address 0x0 (thread 0009), starting debugger...
Unhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037
 EIP:00000000 ESP:0031b5ac EBP:0031b628 EFLAGS:00010206(   - 00      - RIP1)
 EAX:6080c200 EBX:61fe418e ECX:000000a0 EDX:0031b60c
 ESI:00000000 EDI:60833600
Stack dump:
0x0031b5ac:  61fe4327 6080c200 624cf000 00008013
0x0031b5bc:  0031b60c 60619e10 605bad8e 0031b618
0x0031b5cc:  605bae51 00000214 0031b5f0 62025dc8
0x0031b5dc:  62025dc8 0031b60c 0031b6a0 00000000
0x0031b5ec:  6080c200 00000000 00000000 60833600
0x0031b5fc:  7def00cc 00129210 00000000 000000a0
0200: sel=1007 base=7def0000 limit=0000ffff 32-bit rw-
Backtrace:
=>1 0x00000000 (0x0031b628)
  2 0x61feccf8 (0x0031b6c8)
  3 0x605f38f9 (0x0031b718)
  4 0x60359abc (0x0031bbd8)
  5 0x603d0040 (0x0031bc28)
  6 0x606e8044 (0x0031bcc8)
  7 0x606e893b (0x0031bd28)
  8 0x00403bdd in swgclientsetup_r (+0x3bdd) (0x0031bdbc)
0x00000000: -- no code accessible --
Modules:
Module	Address			Debug info	Name (14 modules)
PE	  400000-  48b000	Export          swgclientsetup_r
PE	60170000-60174000	Deferred        d3d9
PE	60420000-60435000	Deferred        user32
PE	605a0000-605a4000	Deferred        gdi32
PE	60650000-60654000	Deferred        advapi32
PE	606c0000-606c4000	Deferred        ddraw
PE	60730000-60734000	Deferred        rpcrt4
PE	619d0000-619d4000	Deferred        ole32
PE	61ab0000-61ab6000	Deferred        shlwapi
PE	61b20000-61b24000	Deferred        oleaut32
PE	61bf0000-61bf4000	Deferred        ws2_32
PE	61c20000-61c26000	Deferred        winspool
PE	7b810000-7b887000	Deferred        kernel32
PE	7bc10000-7bc14000	Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\StarWarsGalaxies\SwgClientSetup_r.exe
	00000009    0 <==
0000000c 
	00000014    0
	00000013    0
	00000012    0
	0000000e    0
	0000000d    0
0000000f 
	00000016    0
	00000015    0
	00000011    0
	00000010    0
00000017 
	00000018    0
Backtrace:
=>1 0x00000000 (0x0031b628)
  2 0x61feccf8 (0x0031b6c8)
  3 0x605f38f9 (0x0031b718)
  4 0x60359abc (0x0031bbd8)
  5 0x603d0040 (0x0031bc28)
  6 0x606e8044 (0x0031bcc8)
  7 0x606e893b (0x0031bd28)
  8 0x00403bdd in swgclientsetup_r (+0x3bdd) (0x0031bdbc)
I'm not trying to totally play the game on this laptop because it only has a Intel GMA950 but I would like to at least login and check my trader and craft. I tried updating DirectX as well but that failed to initialize. Any ideas or suggestions?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Issues with Wine and Star Wars Galaxies

Post by austin987 »

On Wed, Mar 25, 2009 at 12:10 PM, drpain <[email protected]> wrote:
Having some issues getting Galaxies to launch, I can get other programs within Wine to launch like tvants and other basic programs. I'm using Wine 1.1.7 on Mac OSX 10.5.6 with X11 updated to 2.3.3 and Darwine 1.1.9.
How are you using wine 1.1.7 AND Darwine 1.1.9?
When I got to launch Galaxies all I get is a terminal page full of errors. I notice Wine is deferring a lot dlls and I don't know if this is the cause of it or not. It also is having some issues with OpenGL launching as well I think.
Something looks fishy...a couple of those should NEVER be deferred.
And your video drivers are borked, so it follows your game won't work.
Code:

err:wgl:has_opengl  glx_version is 1.2 and GLX_SGIX_fbconfig extension is unsupported. Expect problems.
wine: Unhandled page fault on execute access to 0x00000000 at address 0x0 (thread 0009), starting debugger...
Unhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037
 EIP:00000000 ESP:0031b5ac EBP:0031b628 EFLAGS:00010206(   - 00      - RIP1)
 EAX:6080c200 EBX:61fe418e ECX:000000a0 EDX:0031b60c
 ESI:00000000 EDI:60833600
Stack dump:
0x0031b5ac:  61fe4327 6080c200 624cf000 00008013
0x0031b5bc:  0031b60c 60619e10 605bad8e 0031b618
0x0031b5cc:  605bae51 00000214 0031b5f0 62025dc8
0x0031b5dc:  62025dc8 0031b60c 0031b6a0 00000000
0x0031b5ec:  6080c200 00000000 00000000 60833600
0x0031b5fc:  7def00cc 00129210 00000000 000000a0
0200: sel=1007 base=7def0000 limit=0000ffff 32-bit rw-
Backtrace:
=>1 0x00000000 (0x0031b628)
 2 0x61feccf8 (0x0031b6c8)
 3 0x605f38f9 (0x0031b718)
 4 0x60359abc (0x0031bbd8)
 5 0x603d0040 (0x0031bc28)
 6 0x606e8044 (0x0031bcc8)
 7 0x606e893b (0x0031bd28)
 8 0x00403bdd in swgclientsetup_r (+0x3bdd) (0x0031bdbc)
0x00000000: -- no code accessible --
Modules:
Module  Address                 Debug info      Name (14 modules)
PE        400000-  48b000       Export          swgclientsetup_r
PE      60170000-60174000       Deferred        d3d9
PE      60420000-60435000       Deferred        user32
PE      605a0000-605a4000       Deferred        gdi32
PE      60650000-60654000       Deferred        advapi32
PE      606c0000-606c4000       Deferred        ddraw
PE      60730000-60734000       Deferred        rpcrt4
PE      619d0000-619d4000       Deferred        ole32
PE      61ab0000-61ab6000       Deferred        shlwapi
PE      61b20000-61b24000       Deferred        oleaut32
PE      61bf0000-61bf4000       Deferred        ws2_32
PE      61c20000-61c26000       Deferred        winspool
PE      7b810000-7b887000       Deferred        kernel32
PE      7bc10000-7bc14000       Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\StarWarsGalaxies\SwgClientSetup_r.exe
       00000009    0 <==
0000000c
       00000014    0
       00000013    0
       00000012    0
       0000000e    0
       0000000d    0
0000000f
       00000016    0
       00000015    0
       00000011    0
       00000010    0
00000017
       00000018    0
Backtrace:
=>1 0x00000000 (0x0031b628)
 2 0x61feccf8 (0x0031b6c8)
 3 0x605f38f9 (0x0031b718)
 4 0x60359abc (0x0031bbd8)
 5 0x603d0040 (0x0031bc28)
 6 0x606e8044 (0x0031bcc8)
 7 0x606e893b (0x0031bd28)
 8 0x00403bdd in swgclientsetup_r (+0x3bdd) (0x0031bdbc)
--
-Austin
drpain
Newbie
Newbie
Posts: 4
Joined: Tue Mar 24, 2009 6:37 am

Post by drpain »

I got my darwine install from this dude's website which I picked up on insanely mac

http://www.kronenberg.org/darwine/

Don't know if that says anything or not. I guess I'll try to track some GMA950 drivers down someplace to see if those work.

Thanks for the reply

EDIT: forgot a 1 in 1.1.17 so it shouldn't be 1.1.7 my bad
rwoodsmall
Level 2
Level 2
Posts: 20
Joined: Tue Feb 24, 2009 9:50 pm

Post by rwoodsmall »

Darwine is probably based on an old version of Wine, and likely not compiled with OpenGL support either; it probably won't work. You might have better luck with compiling your own Wine from source or using either the "wine-devel" or "wine-crossover-games" packages from MacPorts.

Please note that latest Xquartz 2.3.3 packages are still in the "release candidate" stages, and not currently the stable version. OpenGL in older versions doesn't work with Wine, however, so it's something of a catch-22 - you have to use the beta version to get Wine OpenGL/DirectX to work. I've had more luck with running Windows apps, particularly games, with self-compiled, newer versions of Wine. Enabling the "virtual desktop" functionality of Wine is almost a requirement as well, as Xquartz is lacking RandR, causing fullscreen apps to have issues.

Without a lot of work, you're might be out of luck for the time being. I can attest that this is being actively addressed in Xquartz however, so hopefully something stable and working will be available sooner than later.
drpain
Newbie
Newbie
Posts: 4
Joined: Tue Mar 24, 2009 6:37 am

Post by drpain »

I did do the initial Wine install using MacPorts and Xcode which installed Wine 1.0.1 and then I downloaded 1.1.17 and did the update. I looked at Cross Over for Mac and is this just a whole package deal or does it work with Wine that I already have installed? Is it also a one time buy or do I have to continue to pay money to use it?

I'm not to advance on compiling things on my own so if someone could give some simple pointers that would help me greatly.

EDIT: I downloaded the trial version for crossover will give that ago when I get the chance to see if it works. So far I installed it but it refuses to see my pre-existing .wine folder which I did make it un-hidden. If all else fails guess I'll just do a reinstall and start from scratch.

Thanks for the responses guys!
rwoodsmall
Level 2
Level 2
Posts: 20
Joined: Tue Feb 24, 2009 9:50 pm

Post by rwoodsmall »

What did you update? Did you install Wine 1.0.1 via MacPorts and 1.1.17 via a source build? I'm afraid I don't follow.

Re: CodeWeavers CrossOver Games Mac, you can buy it for a one-time fee, and get support for a year. No forced upgrades. Money spent on CrossOver goes directly to Wine developers, and I'm a happy purchaser of the product. If it works for you, it's money well spent, and nobody will try to dissuade you from supporting CodeWeavers. I also like using the open source Wine releases though.

Also forgot to mention that you're not going to find any Intel GMA drivers for your Mac. The Xquartz server is basically a modified Xorg server that runs as a native application on Mac OS X. With recent versions of Xquartz, the X bits of OpenGL/GLX rely on the system OpenGL frameworks. No driver updates are available, nor would they help.

You're probably not going to get much help with the MacPorts packages... You can run "port list wine\*" to see the available packages, though. The standard "wine" MacPort is the stable version 1.0.1, which is very old. The "wine-devel" package is the current version, 1.1.17. So remove "wine" and install "wine-devel" to test. Don't bother with Darwine, it won't work with OpenGL/DirectX. There may be some custom, up-to-date versions of Darwine with OpenGL support, but I've no idea where to find one.

One of the Xquartz developers also recently added a custom build from the CodeWeavers Games sources. It's called "wine-crossover-games" No experience with this via MacPorts, but I've built the CrossOver Games Wine from source and have had good luck with it. It's a bit a bear to get going perfectly from source on a Mac, though.

There's not much more I can help you with on MacPorts, since I don't use it for my Wine installs. The Xquartz folks have been good about getting their Xorg changes into MacPorts as well. The MacPorts documentation is pretty good if you want to stick with that, and these may be applicable if you want to build from source:

http://wiki.winehq.org/MacOSX/Building

Most of the standard "install from source" instructions are applicable on Linux, FreeBSD, Mac OS X, etc. as well:

http://ftp.winehq.org/pub/wine/docs/en/ ... INE-SOURCE

If you're so inclined, you can also look at the MacPorts port file for Wine. It will be in a location like /opt/local/var/sources/rsync.macports.org/release/ports/x11/wine-devel/Portfile.

EDIT: Just saw your edit as well. CrossOver Games will use a "bottle" that will be put into a location in your home directory:

Code: Select all

~/Library/Application\ Support/CrossOver\ Games/Bottles/
Blow away your .wine and restart from install into a CrossOver bottle. It's a pain, but you'll be happier you did it in the long run.
drpain
Newbie
Newbie
Posts: 4
Joined: Tue Mar 24, 2009 6:37 am

Post by drpain »

Well I reinstalled Galaxies with CrossOver and it is actually launching and letting me login. So it looks like CrossOver might be the way to go. I didn't think it would be this hard for Mac when it on my Ubuntu box things seem to work a lot easier and Wine works a lot better.

Thanks for the help and recommendation of CrossOver
Locked