The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Guest on May 23, 2005, 12:35:53 am



Title: Mac OS X 10.4 Problem
Post by: Guest on May 23, 2005, 12:35:53 am
When I try to run the latest version, it opens a window with wavy images that cannot be made out.  What do I do?  I would take a screenshot if I knew how.


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on May 23, 2005, 01:09:52 am
I can't reproduce this at all.  A screenshot might be useful, to take one, hit Shift-Command-3, the computer should make a "camera-click" sound, and save a PNG file to your Desktop.  From there, you can use Flickr or some other image hosting service to show it off, and link to it here.

As an alternate means of figuring out WTF is going on, try downloading the version of UQM provided here:

http://www.submedia.net/uqm/

...and see if turning on OpenGL mode helps any.


Title: Re: Mac OS X 10.4 Problem
Post by: Guest on May 23, 2005, 01:43:03 am
That did it, thanks alot!


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on May 23, 2005, 03:12:30 am
Huh.  It would seem that some Macs have a problem with "pure SDL" mode, then.  Since that's the default, and the only way to change it in the official 0.4.0 is through the in-game menus, and you can't see the in-game menus when it's all b0rked, this could pose a problem.

What are your system specs?  What resolution + colours are you running at?


Title: Re: Mac OS X 10.4 Problem
Post by: Guest on May 23, 2005, 07:35:05 am
I have a g4 iMac, with 1.25 ghz processor and 768 ram.  I run a resolution of 1440x900 with millions of colors.


Title: Re: Mac OS X 10.4 Problem
Post by: Michael Martin on May 24, 2005, 01:00:51 pm
Quote
Huh.  It would seem that some Macs have a problem with "pure SDL" mode, then.  Since that's the default, and the only way to change it in the official 0.4.0 is through the in-game menus, and you can't see the in-game menus when it's all b0rked, this could pose a problem.


Huh?  Why can't they just pass the -o option in?


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on May 24, 2005, 01:38:53 pm
Quote
Huh?  Why can't they just pass the -o option in?

Because there exists no mechanism to pass command line options to programs via the Finder.


Title: Re: Mac OS X 10.4 Problem
Post by: ryan on June 03, 2005, 11:51:18 pm
That fixed it for me too. iBook G3/800, OS 10.4.1.
OpenAL audio makes SC2 quit unexpectedly at startup.
I am getting some stuttering audio, but haven't had a chance to play with settings to try and fix that.


Title: Re: Mac OS X 10.4 Problem
Post by: themadthinker on June 15, 2005, 10:13:55 am
I'm having the same wavy lines problem on my G4 12" 867MHz Powerbook. How do I turn on openGL? Hell, I don't even know how to launch the app in terminal.

A bit of help for unknowing, please?

TMT


Title: Re: Mac OS X 10.4 Problem
Post by: Halleck on June 15, 2005, 01:40:53 pm
I believe that Nic's version of UQM contains a preference menu like a standard mac application, in which you can choose between pure sdl (the nasty one) and OpenGl mode. However, the standard distribution does not.


Title: Re: Mac OS X 10.4 Problem
Post by: themadthinker on June 17, 2005, 10:39:39 am
Oh, okay. Well, if anybody has any ideas, here is what I'm seeing

(http://themadthinker.spymac.com/uqm1.png)
(http://themadthinker.spymac.com/uqm2.png)

Once again, any advice is wonderful.


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on June 17, 2005, 11:16:15 am
That's just super.

Now do you think you could be bothered to read this whole thread and follow the instructions contained therein?


Title: Re: Mac OS X 10.4 Problem
Post by: themadthinker on June 18, 2005, 06:34:26 am
My apologies, but you asked for screenshots in your earlier post, and I assumed that, seeing as these were never posted, by doing so I could illustrate the issues I was having more clearly.

Even though your earlier post directed to the unnoficial build, which fixes the problem, the insturction manual that comes with the official build implies that openGL can be toggled via Terminal, which is obviously no longer the case. I was labouring under the assumption that there might in fact have been a way to do this, without having to download files, and that my screen issues may in fact have been different from the ones mentioned above, as I wouldn't call it wavy lines, so much as interlaced.

And finally, these screenshots would also serve to allow later viewers, suffering the same issues, to compare with what is occuring on their computers, and from that realise the correct path of action.

I meant no offence.

-TMT


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on June 18, 2005, 08:53:24 am
Quote
the insturction manual that comes with the official build implies that openGL can be toggled via Terminal, which is obviously no longer the case.

It's possible, but it's a little tricky, and it's just easier to have people use the "other" build.

If you really have a burning need to use the "official" build, open a Terminal, and change to the Resources directory in the app, and run the program from there, e.g.:

Code:
$ cd /Applications/The Ur-Quan Masters.app/Contents/Resources
$ ../MacOS/The\ Ur-Quan\ Masters -o
The Ur-Quan Masters v0.4.0 (compiled May 21 2005 15:37:05)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.

...and away we go!  But clicking on a chekbox in a Cocoa menu is much easier.  ;)


Title: Re: Mac OS X 10.4 Problem
Post by: meep-eep on June 18, 2005, 10:51:36 am
Those who do use the unofficial build, do know what you're signing up for. Nic's version contains more changes than just the pre-setup menu. You may want to look at the list of added patches here (http://www.submedia.net/uqm/).
We have not included these patches into the official build for various reasons. For some it's because they doesn't fit our straight port philosophy (eg. rings around Saturn, exploding tractors on the moon), for others it's because we don't agree with the implementation (eg. Shofixti vs Pkunk music, pre-setup menu), and on others we just haven't decided yet.
It's very likely that you do not care about this (or you agree with all of Nic's changes), and the pre-setup menu certainly has its advantages. I just thought some of you would like to have the complete info.
What should definitely not be a reason not to use Nic's version is that it would somehow be less trustworthy; the official MacOS X build was also made by Nic, so I'm pretty sure the number of trojans is approximately the same :P.


Title: Re: Mac OS X 10.4 Problem
Post by: Spathiwan on June 26, 2005, 12:51:06 am
Code:
$ cd /Applications/The Ur-Quan Masters.app/Contents/Resources
$ ../MacOS/The\ Ur-Quan\ Masters -o
The Ur-Quan Masters v0.4.0 (compiled May 21 2005 15:37:05)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.



Hello. I'm also trying to run v. 0.4.0 under OS 10.4.

Here is what I get when I use the code provided above in the Terminal:

Code:

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Fatal error: Could not find content.


Am I doing something wrong?

Thanks.

A Spathiwan


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on July 07, 2005, 05:42:29 am
I cannot reproduce what you are seeing, but from all outward appearances, you are doing all the steps correctly; it's just not working.

Probably better to just download this version (http://www.submedia.net/uqm/) and sidestep the issue completely.


Title: Re: Mac OS X 10.4 Problem
Post by: Michael Martin on July 10, 2005, 12:32:13 am
Looking at those screenshots (thanks, themadthinker!) I have a theory.  This looks like it's Bug #740 in our bug database (http://uqm.stack.nl/cgi-bin/bugs/show_bug.cgi?id=740), so I've attached a partial fix as a patch to that bug.  However, since I'm developing on Linux, I can't actually test it...

If Pure-SDL mode works with no scaler with that patch, but breaks as soon as you select bilinear, then I do believe we've found the problem and I can work on a complete fix.


Title: Re: Mac OS X 10.4 Problem
Post by: 0xDEC0DE on July 17, 2005, 03:07:53 am
Seeing as I cannot reproduce the problem on my machine, I've made the following files available:

http://www.submedia.net/uqm/uqm-patch-1.zip
http://www.submedia.net/uqm/uqm-patch-2.zip

People having the "bad video" problem are hereby invited to download them both and report the results of running each in non-OpenGL mode, i.e., #1 works, #2 doesn't, etc.


Title: Re: Mac OS X 10.4 Problem
Post by: Morthos on September 27, 2005, 02:07:34 pm
Hi. Just a note to say that on an Apple iBook G4 (1Ghz) machine running OS X 10.4.2 that patch 2 was the one that worked for me.


Title: Re: Mac OS X 10.4 Problem
Post by: seankreynolds on October 19, 2005, 09:48:17 pm
Heya -

Nic, any plans to make a Mac ship editor? For game data, or for art?