The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: netti on July 22, 2005, 02:26:50 pm



Title: keys.cfg missing - it's nowhere
Post by: netti on July 22, 2005, 02:26:50 pm
Hello Guys!

I've the following problem:

Code:
The Ur-Quan Masters v0.4.0 (compiled Jul 22 2005 13:56:15)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.7 (compiled with 1.2.7)
Using '/usr/local/games/share/uqm/content' as base content dir.
Saved games are kept in /home/maik/.uqm/save/.
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Set the resolution to: 640x480x32
0 joysticks were found.
Error: Could not copy default key config to user config dir: No such file or directory.

I already found threads about the problem. But the real problem is, that there is no config anywhere

Does anybody know why?


Title: Re: keys.cfg missing - it's nowhere
Post by: meep-eep on July 22, 2005, 03:40:30 pm
Tell us something about your system.


Title: Re: keys.cfg missing - it's nowhere
Post by: Dave on August 24, 2005, 05:31:31 pm
I am getting the same problem.

I am running an AMD 64, with Suse 9.2
On the install option I chose the defaults except to not include GL support.  All I would need is a copy of the keys.cfg to work with.


Title: Re: keys.cfg missing - it's nowhere
Post by: meep-eep on August 24, 2005, 05:48:36 pm
The keys.cfg file is copied from the content package (which is a .zip file in disguise). /usr/local/games/share/uqm/content should contain the file uqm-0.4.0-content.uqm. If it is missing you can get a message like this.


Title: Re: keys.cfg missing - it's nowhere
Post by: samuel on March 25, 2009, 07:53:09 am
I'm getting the same error.  I'm building from source. I am using 0.6.2 source and the 0.6.0 content file.
(these are the files linked too from the website)

so I unzipped the content file and still no keys.cfg

is there a 0.6.2 content file? or just the 0.6.0?

right now I'm downloading from the subversion repository on sourceforge.net in hopes of finding a keys.cfg

yes everything is in the right place and the uqm wrapper script points to the correct content directory



Title: Re: keys.cfg missing - it's nowhere
Post by: samuel on March 25, 2009, 08:02:20 am
Well, ok I see why I can't find keys.cfg
I checked the relase notes for 0.6.0 and found that Key config is entirely in-game

Unfortunately, sc2code/libs/sdl/input.c still looks for keys.cfg and throws an error when it cannot find the file.

...so I'll try the SVN version which currently downloading (STILL *sigh*)

if not I'll patch the source and submit said patch


Title: Re: keys.cfg missing - it's nowhere
Post by: samuel on March 25, 2009, 08:25:25 am
Ok, The SVN version of the game works fine. No error thrown by the input handler. No need for keys.cfg at all.
I would recommend building this baby (UQM) form SVN source rather than the 0.6.2 source package.

PS SVN checkout includes all the content as well.

...and now...on with the hacking :) ;D