The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 11:46:26 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)
| | |-+  Problem starting program - SDL?
« previous next »
Pages: [1] Print
Author Topic: Problem starting program - SDL?  (Read 1545 times)
Cormano
Zebranky food
*
Offline Offline

Posts: 2



View Profile
Problem starting program - SDL?
« on: August 15, 2006, 08:59:56 pm »

Hi guys - I've taken a look through and haven't seen this problem posted to the forums before.  I'm not sure how to get around it.  Here's my log:

Quote
argv[0] = [uqm]
argv[1] = [--logfile]
argv[2] = [log.txt]
The Ur-Quan Masters v0.5.0 (compiled Feb  2 2006 03:24:27)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.10 (compiled with 1.2.Cool
Error: Can't create //plx05: Invalid argument

I don't know what plx05: is, although it looks like a network drive perhaps.  I'm running the game off my local hard drive C:
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Problem starting program - SDL?
« Reply #1 on: August 15, 2006, 09:50:42 pm »

I'm assuming you're using UQM v0.5 official Windows release.

Looks like UQM is trying to store its configuration files somewhere funky like a network drive (is plx05 a machine on your network?). Where is your Windows application data being stored (i.e. what is the value of %APPDATA%)? I think this is a bug in UQM; I suggest you file a bug report including, besides the usual information, details on your user profile setup, especially the value of %APPDATA%.

As a workaround, try forcing UQM to use another configuration directory using the -C option. Alternatively, use a local profile instead of one on a network drive, or provide a drive letter mapping and set %APPDATA% to use that instead.

Edit: mkdirhier in src/sc2code/libs/file/dirs.c doesn't seem to support this sort of filename. There may be some other issues, too; I'll take a closer look tomorrow.
« Last Edit: August 15, 2006, 10:04:24 pm by Novus » Logged

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

Posts: 2



View Profile
Re: Problem starting program - SDL?
« Reply #2 on: August 16, 2006, 02:38:04 pm »

It was an appdata problem - my old value was set to a network drive. Setting it to a new value worked just fine.  Thanks!
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Problem starting program - SDL?
« Reply #3 on: August 16, 2006, 06:35:55 pm »

OK, I've been doing some checking. UQM doesn't support UNC (network) paths for configuration or content directories (tested UQM 0.5 on XP). This will cause some hard-to-detect problems if %APPDATA% is a UNC path. I've reported this as bug 907.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
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!