The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 08, 2024, 03:41:11 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Mac OS X Success
« previous next »
Pages: [1] 2 Print
Author Topic: Mac OS X Success  (Read 6174 times)
fwiffo42
Zebranky food
*
Offline Offline

Posts: 10


I love YaBB 1G - SP1!


View Profile
Mac OS X Success
« on: January 08, 2003, 07:56:17 am »

I've had some success at getting UQM to run under Mac OS X.  I got it to compile after playing with some of the build environment stuff.  I haven't tested it extensively, but it seems to work.  The one thing I noticed was that in OpenGL mode all of the colors are messed up.  I don't know if this is a known issue or not, but thought I would mention it.

-fwiffo
Logged
Death 999
Global Moderator
Enlightened
*****
Offline Offline

Gender: Male
Posts: 3874


We did. You did. Yes we can. No.


View Profile
Re: Mac OS X Success
« Reply #1 on: January 08, 2003, 08:32:32 pm »

Can I have your .app?

::gets excited::
Logged
Mika
Core Team
*Many bubbles*
*****
Offline Offline

Gender: Male
Posts: 121



View Profile WWW
Re: Mac OS X Success
« Reply #2 on: January 08, 2003, 09:32:45 pm »

Quote
The one thing I noticed was that in OpenGL mode all of the colors are messed up.
Are you using 0.1 or current CVS version? It should be fixed in CVS (atleast I applied one patch for it once), but I've altered opengl code some more after that to fix another bug so in theory it might need some fixing again for OS X.
Logged
fwiffo42
Zebranky food
*
Offline Offline

Posts: 10


I love YaBB 1G - SP1!


View Profile
Re: Mac OS X Success
« Reply #3 on: January 08, 2003, 10:20:59 pm »

I'm using the current CVS version.

-fwiffo
Logged
fwiffo42
Zebranky food
*
Offline Offline

Posts: 10


I love YaBB 1G - SP1!


View Profile
Re: Mac OS X Success
« Reply #4 on: January 08, 2003, 11:28:32 pm »

If you want to download a binary, you can get it from http://www.andrew.cmu.edu/~jge/uqm-cvs-macosx.tar.gz  you still need to install the SDL, SDL_image, SDL_mixer, and vorbis libraries from fink.  Also, I compiled this on a machine running Mac OS X 10.2.3, it may not work on anything else.

Good Luck-

-fwiffo
Logged
Will
Guest


Email
Re: Mac OS X Success
« Reply #5 on: January 09, 2003, 01:06:17 am »

Wow, very cool!  However, a question.  I pulled the 0.1 content off of the web site.  When I run your binary with that, it starts up.  I get the splash screen to fade in, to fade to the menu screen.  Alas, I cannot click, or get any keys to do anything like interact with the menu.  After some seconds, it fades back to splash, and then back to menu, in an endless loop.  Do you have any idea what is wrong? (Or is this as far as you can have yours get?)
Logged
Peter Berger
Guest


Email
Re: Mac OS X Success
« Reply #6 on: January 09, 2003, 01:08:11 am »


Someone earlier indicated that they didn't see any benefit to having a ProjectBuilder project file for the source; but this is the reason:  if you can build with projectbuilder, you can distribute a packaged .app that doesn't require the user to separately build or finkify the various SDL things.

I managed to build ./uqm via gcc, but it's crufty and unsatisfying (the build process!  not the work -- thanks, guys!).  An integrated mac package would be so much nicer once we're out of beta.

I haven't put much effort into the projectbuilder path since christmas, mostly because of all the duplicated symbol issues that i know were actively being worked on.  maybe i'll have another go at it.

-Pete
PS: As a software engineer, the other thing i'll say is that if you can take your project and easily put it into various build systems, that's a good confirming sign that there aren't hidden dependencies on custom-rolled build environments, which are IMHO almost always a bad thing.  So it's a useful exercise in and of itself, because it gives you greater confidence in the correctness of your code.  Just like linting, in fact.
Logged
Death 999
Global Moderator
Enlightened
*****
Offline Offline

Gender: Male
Posts: 3874


We did. You did. Yes we can. No.


View Profile
Re: Mac OS X Success
« Reply #7 on: January 09, 2003, 03:16:25 am »

I'm ALMOST there:
I have the uqm-debug, I have the libraries finked in... but here's the remaining problem:
Couldn't initialize joystick subsystem: Joystick: Couldn't create a HID object iterator.
I'm not even USING a joystick. Is there some way to prevent this question from being asked?

Might it be because I'm on System 10.1.5? We might have a more primitive way of handling peripherals... or something...
Logged
Will
Guest


Email
Re: Mac OS X Success
« Reply #8 on: January 09, 2003, 04:44:51 am »

I stand corrected.  I got the CVS code, and it plays now!
One odd thing left.
I can't hear any speech.
For instance, when the probe hits me as I enter Earth's vicinity at the start of the game, the console gives this:

SpliceTrack(): loading comm/urquan/urqua027.ogg
SpliceTrack(): Mix_LoadWAV failed for comm/urquan/urqua027.ogg: Unrecognized file type (not VOC)

If I run uqm-debug with the PC music, it still won't play.  The 3DO music oggs play just fine, though.
All of my SDL stuff is from fink unstable, I'm running 10.2.3.  Any ideas?
Logged
Nic.
Guest


Email
Re: Mac OS X Success
« Reply #9 on: January 09, 2003, 05:33:27 am »

That means you don't have OGG support, which would make sense if you were using SDL_mixer from Fink instead of the bleeding-edge version..  The "Downloads" page explains all that..

I'm working on getting an OSX version running with OpenAL, which is proving challenging because the dev tools on OSX 10.1 are a thalidomide abortion. (for starters, "gcc -MM" doesn't work, and it just gets better from there)

But I'm pretty close, and might have something to offer publically in the next few days..  We shall see..

UPDATE: I finally got it to build, (and run!) after disabling joystick support and a bunch of other crap.  Now the only thing barring me from giving it away is that it plays static instead of Oggs.  Really funny, because it plays MOD files just fine, and doesn't seem to play WAV files at all.  Oh, and "pure SDL" looks fine, OpenGL mode has screwy colours.

But at the very least, I can now look into doing what I was trying to do originally, getting this thing localised into a .app for maximum fun; then when I get the kinks workedout it will be ready to go.  In theory.
« Last Edit: January 09, 2003, 09:55:05 am by Nic. » Logged
Death 999
Global Moderator
Enlightened
*****
Offline Offline

Gender: Male
Posts: 3874


We did. You did. Yes we can. No.


View Profile
Re: Mac OS X Success
« Reply #10 on: January 09, 2003, 08:03:27 pm »

Excellent! Can you post the executable, even if it isn't a .app yet?
Logged
Nic.
Guest


Email
Re: Mac OS X Success
« Reply #11 on: January 09, 2003, 08:46:05 pm »

That wouldn't be proper, it's still very broken on my machine just yet.  All good things in good time. Smiley
Logged
EldritchEvil
Zebranky food
*
Offline Offline

Gender: Male
Posts: 9


Only eats Khor-Ah!


View Profile WWW
Re: Mac OS X Success
« Reply #12 on: January 09, 2003, 09:01:42 pm »

FASTER!!!  Grin



Logged

www.warsmith.org

Go!  Go!  Go!
Irresponsible Capt. Tylor
Guest


Email
Re: Mac OS X Success
« Reply #13 on: January 09, 2003, 09:03:03 pm »

Hey, I am using Fwiffo's build with the SDL and vorbis files installed
from fink.  The program runs, but comes up with a black window.  The
terminal keeps spouting "Couldn't get cel data from..." many differnt files.  I checked to make sure that all those files are there.  Any clue what is going wrong?  Anyone else have this problem?
Logged
fwiffo42
Zebranky food
*
Offline Offline

Posts: 10


I love YaBB 1G - SP1!


View Profile
Re: Mac OS X Success
« Reply #14 on: January 09, 2003, 09:47:00 pm »

Is the executable in the same directory as the content directory?

-fwiffo
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!