The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 06, 2022, 05:33:48 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Help with content directory??
« previous next »
Pages: [1] Print
Author Topic: Help with content directory??  (Read 3955 times)
bubonicfish
Guest


Email
Help with content directory??
« on: May 31, 2008, 08:10:57 pm »

Hey there.
I hope you moderators still check these messages.. it seems a while since anything has happened.

Anyway. I have the Ur-Quan Masters v0.6.2 for Linux. I have had a look at the command line options and I wanted to adjust the content directory path using:

$ uqm -n=    *the directory*

I can't get it to work. I have even tried to use this command to use the default directory, but that doesn't work either. I get this message:

The Ur-Quan Masters v0.6.2 (compiled Jan 27 2007 15:12:22)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Netplay protocol version 0.3. Requiring remote UQM version 0.5.4.
Initializing base SDL functionality.
Using SDL version 1.2.12 (compiled with 1.2.10)
Using config dir '/home/celyn/.uqm/'
Fatal error: Could not find content.

What file (or folder) should I be pointing it to, and why will it not work? I have tried the content.uqm file and each of the parent folders....

Thanks in advance! Smiley
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Help with content directory??
« Reply #1 on: May 31, 2008, 09:02:33 pm »

In the top of the dir which you want to use as your content dir, there needs to be the "version" file. In the same dir you should have a directory named "packages", where you should have the
"uqm-0.6.0-content.uqm" file.

If you've compiled UQM from source, you should have the regular installation instructions in doc/devel/unixinstall. A typical layout is described here.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #2 on: June 01, 2008, 11:22:25 am »

Wow thanks for the fast reply.
I have version 0.6.2 ....
Do the names all of the files matter? I have re-named most of them and at the moment it still doesn't work. Here are the files...

/uqm/content/version
/uqm/content/packages/uqm-0.6.2-content.uqm
/uqm/content/packages/uqm-0.6.2-voice.uqm
/uqm/content/packages/addons/remix/uqm-remix-pack1.zip
/uqm/content/packages/addons/remix/uqm-remix-pack2.zip
/uqm/content/packages/addons/remix/uqm-remix-pack3.zip

The save files: /home/.uqm/

So... do I need the 3domusic.zip and where should I point the command to?
But... Thanks so much anyway!

And... I am looking in to it... I will post a reply if I do get it working! Thankyou!
Logged
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #3 on: June 01, 2008, 11:49:56 am »

yes, but..?
Why does this not work???
Here is what the terminal says:



spiro (~)
$ uqm
The Ur-Quan Masters v0.6.2 (compiled Jan 27 2007 15:12:22)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Netplay protocol version 0.3. Requiring remote UQM version 0.5.4.
Initializing base SDL functionality.
Using SDL version 1.2.12 (compiled with 1.2.10)
Using config dir '/home/.uqm/'
Using '/usr/share/games/uqm/content' as base content dir.
1 available addon pack.
    1. uqmremix
Saved games are kept in /home/.uqm/save/.
Initializing Pure-SDL graphics.
SDL driver used: x11
SDL initialized.
Initializing Screen.
Screen resolution of 800x600 not supported under pure SDL, using 640x480
Set the resolution to: 640x480x32
Screen scalers are using MMX code
0 joysticks were found.
Initializing SDL audio subsystem.
SDL audio subsystem initialized.
Opening SDL audio device.
    using alsa at 44100 Hz 16 bit stereo, 4096 samples audio buffer
Initializing mixer.
Mixer initialized.
Initializing sound decoders.
Sound decoders initialized.
        'starcon.lst' -- 12414 bytes
        'lbm/scclrtab.ct' -- 104466 bytes
We've loaded the Kernel
VideoDecoder_Load: Unknown file type
        'lbm/title.ani' -- 20 bytes
        'arilou.lst' -- 315 bytes
        'arilou/ariicons.ani' -- 50 bytes
        'arilou/aritext.txt' -- 407 bytes
        'arilou/arilou.cod' -- 1 bytes
        'arilou/arimicon.ani' -- 46 bytes
        'chmmr.lst' -- 389 bytes
        'chmmr/chmicons.ani' -- 48 bytes
        'chmmr/chmtext.txt' -- 353 bytes
        'chmmr/chmmr.cod' -- 1 bytes
        'chmmr/chmmicon.ani' -- 48 bytes
        'human.lst' -- 304 bytes
        'human/humicons.ani' -- 48 bytes
        'human/humtext.txt' -- 331 bytes
        'human/human.cod' -- 1 bytes
        'human/hummicon.ani' -- 47 bytes
        'orz.lst' -- 349 bytes
        'orz/orzicons.ani' -- 50 bytes
        'orz/orztext.txt' -- 389 bytes
        'orz/orz.cod' -- 1 bytes
        'orz/orzmicon.ani' -- 48 bytes
        'pkunk.lst' -- 304 bytes
        'pkunk/pkuicons.ani' -- 50 bytes
        'pkunk/pkutext.txt' -- 329 bytes
        'pkunk/pkunk.cod' -- 1 bytes
        'pkunk/pkumicon.ani' -- 48 bytes
        'shofixti.lst' -- 569 bytes
        'shofixti/shoicons.ani' -- 50 bytes
        'shofixti/shotext.txt' -- 395 bytes
        'shofixti/shofixti.cod' -- 1 bytes
        'shofixti/shomicon.ani' -- 46 bytes
        'spathi.lst' -- 415 bytes
        'spathi/spaicons.ani' -- 49 bytes
        'spathi/spatext.txt' -- 382 bytes
        'spathi/spathi.cod' -- 1 bytes
        'spathi/spamicon.ani' -- 48 bytes
        'supox.lst' -- 304 bytes
        'supox/supicons.ani' -- 49 bytes
        'supox/suptext.txt' -- 321 bytes
        'supox/supox.cod' -- 1 bytes
        'supox/supmicon.ani' -- 47 bytes
        'thradd.lst' -- 409 bytes
        'thradd/thricons.ani' -- 50 bytes
        'thradd/thrtext.txt' -- 339 bytes
        'thradd/thradd.cod' -- 1 bytes
        'thradd/thrmicon.ani' -- 48 bytes
        'utwig.lst' -- 304 bytes
        'utwig/utwicons.ani' -- 50 bytes
        'utwig/utwtext.txt' -- 315 bytes
        'utwig/utwig.cod' -- 1 bytes
        'utwig/utwmicon.ani' -- 48 bytes
        'vux.lst' -- 293 bytes
        'vux/vuxicons.ani' -- 50 bytes
        'vux/vuxtext.txt' -- 249 bytes
        'vux/vux.cod' -- 1 bytes
        'vux/vuxmicon.ani' -- 46 bytes
        'yehat.lst' -- 392 bytes
        'yehat/yehicons.ani' -- 50 bytes
        'yehat/yehtext.txt' -- 425 bytes
        'yehat/yehat.cod' -- 1 bytes
        'yehat/yehmicon.ani' -- 47 bytes
        'melnorme.lst' -- 458 bytes
        'melnorme/melicons.ani' -- 49 bytes
        'melnorme/meltext.txt' -- 369 bytes
        'melnorme/melnorme.cod' -- 1 bytes
        'melnorme/melmicon.ani' -- 48 bytes
        'druuge.lst' -- 321 bytes
        'druuge/druicons.ani' -- 49 bytes
        'druuge/drutext.txt' -- 333 bytes
        'druuge/druuge.cod' -- 1 bytes
        'druuge/drumicon.ani' -- 48 bytes
        'ilwrath.lst' -- 332 bytes
        'ilwrath/ilwicons.ani' -- 48 bytes
        'ilwrath/ilwtext.txt' -- 365 bytes
        'ilwrath/ilwrath.cod' -- 1 bytes
        'ilwrath/ilwmicon.ani' -- 48 bytes
        'mycon.lst' -- 304 bytes
        'mycon/mycicons.ani' -- 50 bytes
        'mycon/myctext.txt' -- 329 bytes
        'mycon/mycon.cod' -- 1 bytes
        'mycon/mycmicon.ani' -- 48 bytes
        'slylandr.lst' -- 277 bytes
        'slylandr/slyicons.ani' -- 48 bytes
        'slylandr/slytext.txt' -- 367 bytes
        'slylandr/slylandr.cod' -- 1 bytes
        'slylandr/slymicon.ani' -- 48 bytes
        'umgah.lst' -- 321 bytes
        'umgah/umgicons.ani' -- 50 bytes
        'umgah/umgtext.txt' -- 367 bytes
        'umgah/umgah.cod' -- 1 bytes
        'umgah/umgmicon.ani' -- 46 bytes
        'urquan.lst' -- 406 bytes
        'urquan/urqicons.ani' -- 49 bytes
        'urquan/urqtext.txt' -- 425 bytes
        'urquan/urquan.cod' -- 1 bytes
        'urquan/urqmicon.ani' -- 48 bytes
        'zoqfot.lst' -- 412 bytes
        'zoqfot/zoqicons.ani' -- 50 bytes
        'zoqfot/zoqtext.txt' -- 367 bytes
        'zoqfot/zoqfot.cod' -- 1 bytes
        'zoqfot/zoqmicon.ani' -- 48 bytes
        'syreen.lst' -- 321 bytes
        'syreen/syricons.ani' -- 50 bytes
        'syreen/syrtext.txt' -- 343 bytes
        'syreen/syreen.cod' -- 1 bytes
        'syreen/syrmicon.ani' -- 47 bytes
        'blackurq.lst' -- 449 bytes
        'blackurq/blaicons.ani' -- 48 bytes
        'blackurq/blatext.txt' -- 429 bytes
        'blackurq/blackurq.cod' -- 1 bytes
        'blackurq/blamicon.ani' -- 48 bytes
        'androsyn.lst' -- 449 bytes
        'androsyn/andicons.ani' -- 50 bytes
        'androsyn/andtext.txt' -- 389 bytes
        'androsyn/androsyn.cod' -- 1 bytes
        'androsyn/andmicon.ani' -- 47 bytes
        'chenjesu.lst' -- 443 bytes
        'chenjesu/cheicons.ani' -- 48 bytes
        'chenjesu/chetext.txt' -- 369 bytes
        'chenjesu/chenjesu.cod' -- 1 bytes
        'chenjesu/chemicon.ani' -- 48 bytes
        'mmrnmhrm.lst' -- 440 bytes
        'mmrnmhrm/mmricons.ani' -- 48 bytes
        'mmrnmhrm/mmrtext.txt' -- 395 bytes
        'mmrnmhrm/mmrnmhrm.cod' -- 1 bytes
        'mmrnmhrm/mmrmicon.ani' -- 48 bytes
        'lbm/starcon.fon' -- 1 bytes
        'lbm/status.ani' -- 132 bytes
        'lbm/tiny.fon' -- 1 bytes
        'lbm/starcon.txt' -- 15395 bytes
        'lbm/activity.ani' -- 239 bytes
        'lbm/micro.fon' -- 1 bytes
        'lbm/menusnd.snd' -- 56 bytes
_GetSoundBankData(): loading lbm/menusnd01.wav
SoundDecoder_DecodeAll(): WARNING, called with a small buffer (4096)
_GetSoundBankData(): decoded_bytes 1971
_GetSoundBankData(): loading lbm/menusnd02.wav
SoundDecoder_DecodeAll(): WARNING, called with a small buffer (4096)
_GetSoundBankData(): decoded_bytes 1955
_GetSoundBankData(): loading lbm/menusnd03.wav
SoundDecoder_DecodeAll(): WARNING, called with a small buffer (4096)
_GetSoundBankData(): decoded_bytes 1576
_GetSoundBankData(): loading lbm/menusnd04.wav
SoundDecoder_DecodeAll(): WARNING, called with a small buffer (4096)
_GetSoundBankData(): decoded_bytes 2399
        'lbm/stars.ani' -- 60 bytes
        'lbm/astbig.ani' -- 492 bytes
        'lbm/astmed.ani' -- 452 bytes
        'lbm/astsml.ani' -- 452 bytes
        'lbm/blabig.ani' -- 168 bytes
        'lbm/blamed.ani' -- 168 bytes
        'lbm/blasml.ani' -- 168 bytes
        'lbm/boobig.ani' -- 191 bytes
        'lbm/boomed.ani' -- 193 bytes
        'lbm/boosml.ani' -- 194 bytes
Warning: Can't open 'lbm/mainmenu.ogg'
        'lbm/newgame.ani' -- 177 bytes
Warning: Can't open 'lbm/mainmenu.ogg'
        'lbm/newgame.ani' -- 177 bytes



Okay, then I quit,



spiro (~)
$ uqm -n=/usr/share/games/uqm/content/
The Ur-Quan Masters v0.6.2 (compiled Jan 27 2007 15:12:22)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Netplay protocol version 0.3. Requiring remote UQM version 0.5.4.
Initializing base SDL functionality.
Using SDL version 1.2.12 (compiled with 1.2.10)
Using config dir '/home/.uqm/'
Fatal error: Could not find content.




It's the same folder!?
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Help with content directory??
« Reply #4 on: June 01, 2008, 11:56:41 am »

Oh, there was a bug with trailing slashes at some point. Try without it.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #5 on: June 01, 2008, 12:04:27 pm »

"Oh, there was a bug with trailing slashes at some point. Try without it."

Okay, sorry about this! But, I'm new. Trailing slashes? Embarrassed
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Help with content directory??
« Reply #6 on: June 01, 2008, 01:05:03 pm »

The slash at the end of the path.

But I see now that your problem was something else. If you use the short form ("-n"), you shouldn't add the "=" sign. A bit confusing, but that's how it works on GNU.
So "uqm -n /usr/share/games/uqm/content" or "uqm --contentdir=/usr/share/games/uqm/content".
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #7 on: June 01, 2008, 01:12:32 pm »

ooh yes!
Well, It didn't work immediately, but probably through my own fault! Thankyou! Smiley
Logged
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #8 on: June 07, 2008, 12:23:53 pm »

Oh, and one last thing, I can't seem to find the data for the starmap anywhere...
I have seen posts about how to edit it, but I think that is for Star Control 2, rather than UQM 0.6.2.
There is the uqm-0.6.2-content.uqm file, but I don't think it's in there at all.
Also I used the terminal log to see where it was getting the files from when you play the game, but when I opened the starmap it said nothing.

All I want to do is vaguely edit the game in my own ways - and I don't intend to do anything else other than play it Smiley
« Last Edit: June 07, 2008, 12:35:59 pm by bubonicfish » Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Help with content directory??
« Reply #9 on: June 07, 2008, 03:20:24 pm »

Oh, and one last thing, I can't seem to find the data for the starmap anywhere...
I have seen posts about how to edit it, but I think that is for Star Control 2, rather than UQM 0.6.2.
Editing the starmap in UQM (not SC2) has been discussed extensively on this board e.g. here.

Quote
There is the uqm-0.6.2-content.uqm file, but I don't think it's in there at all.
Also I used the terminal log to see where it was getting the files from when you play the game, but when I opened the starmap it said nothing.
The starmap data is compiled into the main executable; you'll either need to download the source code and recompile (a bit of work, if you don't do this sort of thing normally) or try to figure out where it's stored in the executable file (extremely tricky).
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #10 on: June 07, 2008, 07:02:41 pm »

Yes, I know that the plandata.c is in the source code and not the one I have, so I will probably have to recompile...
Logged
bubonicfish
Guest


Email
Re: Help with content directory??
« Reply #11 on: June 08, 2008, 10:40:54 am »

hey, I'm sorry because I keep pestering you guys (I'm a nooob  Tongue) but  I have more problems..
When I'm in /uqm-0.6.2/sc2 I do:

$./build.sh uqm install
'echo -n' capable echo found.
Sed stream editor found.
tr found.
Make found.
build/unix/config_proginfo_host: line 204: libmikmod-config: command not found
build/unix/config_proginfo_host: line 205: libmikmod-config: command not found
build/unix/config_proginfo_host: line 206: libmikmod-config: command not found
GNU C compiler found.
We have a C preprocessor.
We have a C dependency generator.
We have a C compiler.
We have a linker.
Little-endian machine detected.
Simple DirectMedia Layer version 1.2.12 found.
SDL_image not found.

Oh.
Well that's just annoying  Angry
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Help with content directory??
« Reply #12 on: June 08, 2008, 11:46:56 am »

hey, I'm sorry because I keep pestering you guys (I'm a nooob  Tongue) but  I have more problems..
At least you're trying to sort things out for yourself.

Quote
SDL_image not found.
SDL_image isn't installed properly (i.e. either the include or library files are missing from the appropriate system directory). Note that you need the development packages, not just the runtime packages, for each library you use.

If your distribution has a package manager, look for a package named something like SDL_image-devel and install it.
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!