The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2024, 05:13:59 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)
| | |-+  Keys.cfg missing!
« previous next »
Pages: [1] Print
Author Topic: Keys.cfg missing!  (Read 4304 times)
ObMeiste
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


I agree!


View Profile WWW
Keys.cfg missing!
« on: September 09, 2003, 01:17:02 pm »

Whenever i try to start up the game it gives me this baloney!

Code:
C:\Program Files\The Ur-Quan Masters>uqm
The Ur-Quan Masters v0.3 (compiled Sep  5 2003 03:55:46)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Saved games are kept in C:/Documents and Settings/Marius/Programdata/uqm/save/.
Initializing SDL (pure).
SDL driver used: directx
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Initializing MixSDL mixer.
MixSDL using driver 'SDL_audio'
MixSDL Mixer initialized.
   opened dsound at 44100 Hz 16 bit stereo, 4096 samples audio buffer
Initializing sound decoders.
Sound decoders initialized.
1 joysticks were found.
The names of the joysticks are:
   Driver for Microsoft PC-styresp
Error: Could not copy default key config to user config dir: No such file or directory.


And now the manual says that it's in my "C:\Documents and Settings\YourName\Application Data\" folder, but lo and behold there is no Application Data folder.

Help would be much appreciated.
Logged

Best of wishes
-ObMeiste
Paxtez
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 130


Joystick Jedi


View Profile
Re: Keys.cfg missing!
« Reply #1 on: September 09, 2003, 01:27:49 pm »

Quote
Whenever i try to start up the game it gives me this baloney!

Code:
C:\Program Files\The Ur-Quan Masters>uqm
The Ur-Quan Masters v0.3 (compiled Sep  5 2003 03:55:46)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Saved games are kept in C:/Documents and Settings/Marius/Programdata/uqm/save/.
...
Error: Could not copy default key config to user config dir: No such file or directory.


And now the manual says that it's in my "C:\Documents and Settings\YourName\Application Data\" folder, but lo and behold there is no Application Data folder.


Well from what UQM says your save games are saved in
"C:/Documents and Settings/Marius/Programdata/uqm/save/"

Your keys.cfg should be in
"C:/Documents and Settings/Marius/Programdata/uqm/"

What OS are you using?  Is this the first time you installed UQM, did you uninstall the old one before installing this one?

Logged

....Paxtez....
Mika
Core Team
*Many bubbles*
*****
Offline Offline

Gender: Male
Posts: 121



View Profile WWW
Re: Keys.cfg missing!
« Reply #2 on: September 09, 2003, 03:14:17 pm »

You sure you have uqm-0.3-content.zip in 'content\packages' dir and the download didn't fail or become corrupt? I can replicate this error message if I remove my content zip. It's trying to copy file 'starcon.key' from that and failing.
Logged
ObMeiste
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


I agree!


View Profile WWW
Thank you kind sirs
« Reply #3 on: September 10, 2003, 12:10:56 am »

I'm using XP.
And i have all the files neatly placed in contents/packages.
This is the first time i've installed it, and there is no programdata/uqm either
« Last Edit: September 10, 2003, 02:20:51 am by ObMeiste » Logged

Best of wishes
-ObMeiste
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Keys.cfg missing!
« Reply #4 on: September 10, 2003, 05:15:09 am »

"Application Data" is a hidden folder by default.

However, if it's looking in "Programdata" your machine may be configured to have a different name for the directory.

keys.cfg is supposed to be generated the first time you run the program, and it's supposed to copy it from "starcon.key" from the content packages.  Is such a file in your uqm-0.3-content zip?
Logged
ObMeiste
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


I agree!


View Profile WWW
Re: Keys.cfg missing!
« Reply #5 on: September 10, 2003, 06:41:16 am »

I found the uqm folder with the save and teams folder in it, but alas no keys.cfg was to be found.
And the Starcon.key file is in my contents zip.
But when i think about it i did install it in another folder than the default first, but then the game didn't find the data it was looking when i tried starting it up for so i uninstalled it and reinstalled it in the default folder.
« Last Edit: September 10, 2003, 06:43:36 am by ObMeiste » Logged

Best of wishes
-ObMeiste
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Keys.cfg missing!
« Reply #6 on: September 10, 2003, 02:50:03 pm »

Sounds like it's having trouble finding the content directories, then.  Try messing around with the -n option ("-n DIRECTORY" sets where the content dir should go).

You could also try copying the starcon.key file directly out of the zip into your local config dir and renaming it "keys.cfg", but I strongly suspect that it will then die because it will claim it can't find any of the menu graphics.
Logged
ObMeiste
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


I agree!


View Profile WWW
Re: Keys.cfg missing!
« Reply #7 on: September 10, 2003, 08:33:34 pm »

Ok i copied and renamed the starcon.key and here is what happened

Code:
C:\Program Files\The Ur-Quan Masters>uqm
The Ur-Quan Masters v0.3 (compiled Sep  5 2003 03:55:46)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Saved games are kept in C:/Documents and Settings/Marius/Programdata/uqm/sav
Initializing SDL (pure).
SDL driver used: directx
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Initializing MixSDL mixer.
MixSDL using driver 'SDL_audio'
MixSDL Mixer initialized.
   opened dsound at 44100 Hz 16 bit stereo, 4096 samples audio buffer
Initializing sound decoders.
Sound decoders initialized.
1 joysticks were found.
The names of the joysticks are:
   Driver for Microsoft PC-styresp
Kernel failed to load!


Wouldn't it be easier to provide a link to a spare keys.cfg?
Logged

Best of wishes
-ObMeiste
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Keys.cfg missing!
« Reply #8 on: September 11, 2003, 06:49:50 am »

That looks like it not finding the content (hence, "kernel failed to load".)  Experiment with the -n option, or try running it from the UQM directory directly.
Logged
Alex Yap
Guest


Email
Re: Keys.cfg missing!
« Reply #9 on: September 11, 2003, 07:03:10 pm »

Hi,

I got a similar problem. My OS is Mandrake Linux 9.1. As root, compiled and installed UQM in

/usr/local/games/uqm

Unzipped the content zip into /usr/local/games/uqm/content/packages.

Then as normal user, ran

/usr/local/games/uqm/bin/uqm

but got error message:

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

Then I tried running

/usr/local/games/uqm/bin/uqm -n /usr/local/games/uqm/content/packages

It WORKED beautifully.

So what's the problem?
Looks like I got to type the -n ... option every time I play. Sad
Luckily the game is so cool I'm willing to do it every time. Wink

Alex.


Logged
Nic.
Guest


Email
Re: Keys.cfg missing!
« Reply #10 on: September 11, 2003, 07:43:03 pm »

You're not supposed to unzip the content -- simply place the content.zip in the packages/ directory and the game should do the rest.

If you've still got the original content zip, annihilate the existing contents of your packages/ directory and just put the zip files in there.  Else you can create your own zip file, or move the contents of your packages directory up one level and play "unbundled", like we all used to.
Logged
ObMeiste
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


I agree!


View Profile WWW
Re: Keys.cfg missing!
« Reply #11 on: September 13, 2003, 05:02:04 am »

Well i reinstalled it and downloaded all the stuff and it worked.
Hoorah!
Logged

Best of wishes
-ObMeiste
Sage
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Keys.cfg missing!
« Reply #12 on: September 16, 2003, 07:56:30 pm »

Perhaps there should be some circumvention put in place so people don't try to unpack the zip files. A couple of ideas spring into my mind:

1) Put a password on the files within the zip, but don't keep it a secret. Put it in the readme and the various FAQs, but beside that password mention that unpacking the content files is unnecessary.
2) Change the extension of the content zips to something besides .zip so people who don't know better won't think they are zips and try to unpack.
« Last Edit: September 16, 2003, 07:58:14 pm by sageallen » Logged
Nic.
Guest


Email
Re: Keys.cfg missing!
« Reply #13 on: September 16, 2003, 10:57:08 pm »

Duh!  #2 is an easily-implemented and effective solution, already employed by the likes of id Software (Quake III Arena .PK3 files were simply renamed .ZIP files)  It is definitely worth consideration.

Of course, then we'll have to deal with the teeming hordes of people who want to know "what is the spec for the .UQM file format?" which will require another entry in the FAQ.  So perhaps you can't win no matter what you do.  Smiley
« Last Edit: September 17, 2003, 05:43:53 am by Nic. » Logged
Sage
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 234



View Profile WWW
Re: Keys.cfg missing!
« Reply #14 on: September 17, 2003, 07:24:11 am »

Yeah, considering the fact that we are being encouraged to mod the game, either solution will require an entry in the FAQ. People will keep on asking, but that can just be directed thusly.

/me thinks about all the RTFM posts regarding this subject that will come from these ideas.

Coincidentally, I was thinking of Q3 when I came up with that idea. Or Blizzard and thier MPQs (which though originally a secret format it has long since been decoded and is used regularly by modmakers). Either one applies here.

EDIT: One other idea.

3) Though people who run the windows installer completely through (including getting content files and such) have no problem with this, perhaps a separate installer program could be made that would put the zips in place for the users. Of course this requires knowing where the content files were downloaded to begin with, but hopefully if the user downloaded them he should know where they went. This really doesn't fall under the ideas of circumvention, but it might still be something to think about.
« Last Edit: September 17, 2003, 08:58:04 am by sageallen » 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!