The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 13, 2024, 07:31:32 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)
| | |-+  Fatal errors when running
« previous next »
Pages: [1] Print
Author Topic: Fatal errors when running  (Read 2296 times)
Preth
Zebranky food
*
Offline Offline

Posts: 4



View Profile
Fatal errors when running
« on: January 28, 2011, 07:15:32 pm »

Hi there -

I have downloaded the installer for Windows, version 0.6.2, and installed.  When I tried to run the game, I got the error:

Error: Can't create C:/Users/mc/Application Data/uqm: File exists

So I deleted this file.  Then I tried running again, and got the error:

Fatal Error: Could not mount config dir: No such file or directory

Then I thought that maybe if I downloaded the individual files for content/music/voice ahead of time, then ran the installer, it might help.  However, I'm getting the same errors.

Thank you for any help you can provide.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Fatal errors when running
« Reply #1 on: January 29, 2011, 09:31:01 am »

UQM is supposed to automatically create a configuration directory for uqm if it doesn't exist, but it seems to already exist once it tries to create it. One way for this to happen is if UQM notices the directory is missing and it is created before UQM has time to create it. This could happen if you are starting two instances of UQM. There could, I guess, be some sort of strange permissions issue going on here, too.

Have you tried creating an empty directory in C:/Users/mc/Application Data/uqm? That might work around the problem. Reinstalling probably won't help, as the configuration files are unaffected by this.

It's also possible that there is a bug in mkdirhier in sc2code/libs/file/dirs.c, but I would have expected it to surface much earlier if it did. What version of Windows are you using?
Logged

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

Posts: 4



View Profile
Re: Fatal errors when running
« Reply #2 on: January 29, 2011, 02:54:40 pm »

I am using Vista.

Yes, it creates a uqm directory whenever it's not there.  That's when it gives the second error about "mount config dir".  After getting this error, if I try to run it again immediately, it gives me the first error again.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Fatal errors when running
« Reply #3 on: January 29, 2011, 04:16:28 pm »

OK, it looks like UQM isn't recognising the directory and is therefore recreating it every time it starts (which fails since it's already there). Is the directory really called "C:\Users\mc\Application Data\uqm", or is there, for example, a difference in letter case somewhere in the path? Have you tried specifying a different configuration directory using the -C option? Is your file system for some strange reason case sensitive?
Logged

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

Posts: 4



View Profile
Re: Fatal errors when running
« Reply #4 on: January 29, 2011, 04:29:14 pm »

The error it gives is exactly as I typed:

"Can't create C:/Users/mc/Application Data/uqm: File exists"

However, the file is actually located in the path described in the Technical FAQ:

C:/Users/mc/AppData/Roaming/uqm

I don't know if that would make a difference?  I don't know how to use a -C option.  I don't have any reason to believe that my system is case sensitive.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Fatal errors when running
« Reply #5 on: January 30, 2011, 09:57:44 am »

The error it gives is exactly as I typed:

"Can't create C:/Users/mc/Application Data/uqm: File exists"

However, the file is actually located in the path described in the Technical FAQ:

C:/Users/mc/AppData/Roaming/uqm

I don't know if that would make a difference?  I don't know how to use a -C option.  I don't have any reason to believe that my system is case sensitive.
"C:\Users\mc\Application Data" is apparently supposed to be a junction point pointing to "C:\Users\mc\AppData\Roaming", so it's reasonable that it shows up somewhere unexpected. I'd try specifying the canonical path of "C:/Users/mc/AppData/Roaming/uqm" as the configuration directory and see if it helps.

I don't use Vista, so I can't give any more detailed instructions, not do I know how you're starting UQM. However, the general idea is that you need to add the following to the command line used to start UQM:
Code:
-C "C:/Users/mc/AppData/Roaming/uqm"
If you right-click a shortcut in the start menu or desktop, you should be able to access its properties, one of which is this command line.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
onpon4
Enlightened
*****
Offline Offline

Gender: Male
Posts: 709


Sharing is good.


View Profile WWW
Re: Fatal errors when running
« Reply #6 on: January 30, 2011, 05:32:36 pm »

If you right-click a shortcut in the start menu or desktop, you should be able to access its properties, one of which is this command line.

Windows calls it "Target", BTW.
Logged

Preth
Zebranky food
*
Offline Offline

Posts: 4



View Profile
Re: Fatal errors when running
« Reply #7 on: January 31, 2011, 05:51:05 pm »

I have successfully installed UQM.  Thank you very much for your help, Novus and Onpon4.  And kudos to everyone who created it - it's looking to be as good a game as SC3.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Fatal errors when running
« Reply #8 on: February 01, 2011, 08:58:56 am »

I have successfully installed UQM.  Thank you very much for your help, Novus and Onpon4.  And kudos to everyone who created it - it's looking to be as good a game as SC3.
For future reference, what did you need to change to get it to work?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
onpon4
Enlightened
*****
Offline Offline

Gender: Male
Posts: 709


Sharing is good.


View Profile WWW
Re: Fatal errors when running
« Reply #9 on: February 01, 2011, 09:51:42 pm »

it's looking to be as good a game as SC3.

Whoa, whoa, whoa! I just noticed this, and yes, SC2/UQM is OVER 8000 times better than SC3! No contest! If you liked SC3, you'll absolutely love SC2!
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!