The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 30, 2022, 05:48:16 am
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)
| | |-+  Linux install problems
« previous next »
Pages: [1] Print
Author Topic: Linux install problems  (Read 3369 times)
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Linux install problems
« on: November 09, 2005, 06:15:15 am »

I couldn't find UQM in the repository for Ubuntu, so i downloaded the source and content and followed the directions to build it and then install it.  When i try to run i get the error

Error: Could not copy default key config to user config dir: No such file or directory.

This has been mentioned here before, and the typical response is that it's due to unzipping the data files, or not having the content available at all.  I've checked and double checked, and the content files are all in the right place, just as downloaded.

I extracted the .key file manually and put it in my config directory, and now i get this error:   

Kernel failed to load!

The window opens, but stays blank.

Any ideas what's going on here? 
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Linux install problems
« Reply #1 on: November 09, 2005, 12:28:06 pm »

This sounds like you have the content in the wrong directory or the content for the wrong version of UQM. Without information on where you have placed the content and exactly how you are starting UQM it is hard to tell what's wrong. Have you tried manually specifying the content directory with the --contentdir option?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #2 on: November 10, 2005, 02:57:52 am »

This sounds like you have the content in the wrong directory or the content for the wrong version of UQM. Without information on where you have placed the content and exactly how you are starting UQM it is hard to tell what's wrong. Have you tried manually specifying the content directory with the --contentdir option?

Yes, i tried that.  It makes no difference on the behavior.  I downloaded the packages (including source) from the 0.4 version download page: http://sc2.sourceforge.net/downloads.php
All of them specified in the name that they were version 0.4.  I placed all the .uqm content files in the content subdirectory of the source tree before executing the build script:
sh build.sh uqm

After building, i installed with:
sudo sh build.sh uqm install

I tried using the default directories, and then deleted everything, rebuilt, and tried specifying different directories when that failed.  Every time i got the same results.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Linux install problems
« Reply #3 on: November 10, 2005, 04:23:22 am »

Ah, right. The 'version' file wasn't included in those packages. Create a file named 'version' in the 'content' dir of the source with as contents just '0.4.0'.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #4 on: November 10, 2005, 04:31:07 am »

Actually, the version file exists, but its contents are:
Code:
0.4.0

$Date: 2005/05/17 01:11:26 $

I tried removing the $Date line, but it doesn't seem like that fixed the problem.  I noticed that the unixinstall file is out of date: it mentions version 0.33 files and .zips instead of .uqms.  Is it otherwise correct?

Edit: i checked out the CVS and am trying to build that at the moment.  One thing i noticed is that during the build script there were a couple things not found:
Code:
Symbol 'strupr' not found.
Symbol 'stricmp' not found.

I didn't notice this in the 0.4 build, but since it didn't make a lot of noise i may have just missed it.  Could this be the cause of the problems?
« Last Edit: November 10, 2005, 04:36:16 am by Flandry » Logged
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #5 on: November 10, 2005, 04:37:42 am »

Waaaaah

Code:
The Ur-Quan Masters v0.4.1 (compiled Nov  9 2005 22:34:05)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
Screen scalers are using SSE/MMX-Ext/MMX code
0 joysticks were found.
Error: Could not copy default key config to user config dir: No such file or directory.

I tried using the content from 0.4 and opengl and etc, with no better luck:
Code:
me@hubris:~/dev/uqm-cvs/sc2$ ./uqm -o -r 1400x1050 -f -d 16 -n /usr/local/games/share/uqm/content -C /home/me/dev/uqm-cvs/sc2/cnfg
The Ur-Quan Masters v0.4.1 (compiled Nov  9 2005 22:34:05)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Initializing SDL with OpenGL support.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 1400x1050x32
OpenGL renderer: MOBILITY RADEON 9600 Generic version: 1.3.5272 (X4.3.0-8.16.20)
0 joysticks were found.
Error: Could not copy default key config to user config dir: No such file or directory.

Man, i need my SC2 fix!
« Last Edit: November 10, 2005, 04:49:49 am by Flandry » Logged
Zeep-Eeep
Enlightened
*****
Offline Offline

Gender: Male
Posts: 917


Good Grief


View Profile WWW
Re: Linux install problems
« Reply #6 on: November 10, 2005, 03:09:13 pm »

I'm not sure if this will fix the problem, but I'd like to
point out that Ubuntu has UQM in its package repositories,
occording to this website:
http://packages.ubuntu.com/breezy/games/

I'm guessing you can install UQM from your command line
using apt-get. ... I'm a RedHat person, so I'm taking a guess
there.
I think, though I may be wrong, you'll have to install
uqm and uqm-content as two seperate packages.

If nothing else, it should give you a standard Ubuntu
package to start with. If it doesn't work, maybe someone
on the Ubuntu forums has a suggestion.
Logged

What sound does a penguin make?
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Linux install problems
« Reply #7 on: November 10, 2005, 03:15:19 pm »

The date tag in the 'version' file is ignored.
The "not found" entries during compilation are not a problem.
Could you describe the content of the /usr/local/games/share/uqm/content dir?
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #8 on: November 10, 2005, 03:38:01 pm »

Code:
me@hubris:/usr/local/games/share/uqm/content$ ls
uqm-0.4.0-3domusic.uqm  uqm-0.4.0-content.uqm  uqm-0.4.0-voice.uqm  version

I did discover uqm in multiverse yesterday, but it was an earlier version, so i was trying to get 0.4 to work.  I'll try it out since it seems that no obvious solution is making itself known.

The "suggestion" i got on the Ubuntu forums was to download sc2 and run it on a DOS emulator.  I'm reminded fairly often there why it was that i liked gentoo forums.  If only gentoo on a laptop wasn't such a pain, i would be using that instead.  The jury's still out, though.

Edit: Okay, i installed uqm from multiverse (version 0.3) and it works fine with default parameters.  However, if i try to set OpenGL mode, i get an audio error.

Code:
OpenGL renderer: MOBILITY RADEON 9600 Generic version: 1.3.5272 (X4.3.0-8.16.20)
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Initializing MixSDL mixer.
MixSDL using driver 'SDL_audio'
Unable to open audio: a101, No available audio device
Sound driver initialization failed.
This may happen when a soundcard is not present or not available.

Weird.  Audio also fails with custom resolution set, even though that fails and defaults back to 640x480.  And now, it doesn't work at all.  I had it running twice by simply running uqm, but now that doesn't work!  Aargh...

Uninstalling and reinstalling has fixed it, but such Microsoftesque behavior in a linux app is strange.  What do command line switches do to the default install?

It seems stupid to have to run 0.3 when 0.4 has been out for months, and is a great improvement.  I hope something comes up to fix this.
« Last Edit: November 10, 2005, 03:59:34 pm by Flandry » Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Linux install problems
« Reply #9 on: November 10, 2005, 04:39:01 pm »

You need to put the .uqm files in content/packages/, not in content/.
("version" does go in content/)
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #10 on: November 10, 2005, 08:40:08 pm »

I knew it had to be something stupid on my part.   Roll Eyes What i don't understand is why the CVS install still failed, since it includes the content.  When i created a packages subdir in content in the CVS tree and added the voices and music packs, it worked fine, but i thought those were optional.  Huh

In any case, OpenGL and in fact, any command line options seem to break it still.

Thanks for catching that error- i was so preoccupied with it saying version 0.3 in unixinstall that i overlooked the full dir.

It seems that a more informative error would be useful, since it's clearly not the missing key file that caused this problem (eg in the CVS tree it exists outside of a package already).
« Last Edit: November 10, 2005, 08:54:34 pm by Flandry » Logged
Zeep-Eeep
Enlightened
*****
Offline Offline

Gender: Male
Posts: 917


Good Grief


View Profile WWW
Re: Linux install problems
« Reply #11 on: November 11, 2005, 02:11:26 am »

Glad you got UQM working. It's a shame it took so long to get
running, but it'll be worth it. I love this game.
BTW: How is Ubuntu? I've heard a lot of hype, but
haven't tried it yet.
Logged

What sound does a penguin make?
Flandry
Zebranky food
*
Offline Offline

Posts: 9


I love YaBB 1G - SP1!


View Profile
Re: Linux install problems
« Reply #12 on: November 11, 2005, 05:35:08 pm »

I use Kubuntu, and started with the most recent release.  Except for the fact that the installer is a bit retarded, it's quite impressive.  Everything i have needed to use on my Thinkpad T42 has just worked from the default install plus about three or four easy tweaks:  standby, hibernate, 3D acceleration (although ATI drivers are terrible), CPU scaling, sound (including volume buttons), 1400x1050 res, touchpad+the Thinkpad button, brightness control, usb mouse, dual boot (a bit of a hassle there, though), and wireless.  My biggest complaint is that wireless is NOT very functional, in the sense that only cli commands seem to work (ie the Kwireless panel seems to do nothing but mislead one) and i still can't get it to work with my work AP (which has no encryption or anything tricky)--just my home AP.

Man that game is addictive.  Went to bed at 5:00  Shocked
Logged
Krulle
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1111


*Hurghi*! Krulle is *spitting* again!


View Profile
Re: Linux install problems
« Reply #13 on: November 12, 2005, 11:30:07 pm »

Man that game is addictive.  Went to bed at 5:00  Shocked
You're definetly not the only one whom the SC series gave some lucky nights.
Logged
Pages: [1] 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!