The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Cormano on August 15, 2006, 08:59:56 pm



Title: Problem starting program - SDL?
Post by: Cormano 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.8)
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:


Title: Re: Problem starting program - SDL?
Post by: Novus 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.


Title: Re: Problem starting program - SDL?
Post by: Cormano 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!


Title: Re: Problem starting program - SDL?
Post by: Novus 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 (http://uqm.stack.nl/cgi-bin/bugs/show_bug.cgi?id=907).