Discussion:
Docking Station on Ubuntu6.10
(too old to reply)
s***@gmail.com
2007-04-17 03:51:48 UTC
Permalink
Hey there.

I tried to install the Linux Version of the Docking Station on a
machine running Ubuntu 6.10 (Kernel 2.6.17-11-generic). After much
fiddling with dstation-install and dockingstation, I got it as far as
to start and check the available resolutions, but it crashes
afterward. Apparently, it can't setup the sound part of SDL. The error
I get is :

SoundManager::SetMNGFile() failed

I tried copying all the SDL libs from my /usr/lib directory, but then
lc2e can't find the jumppoint for SDL_RateSLOW.

any idea?

thanks,
Sammy
Fuzzie
2007-04-17 09:26:20 UTC
Permalink
Post by s***@gmail.com
Hey there.
I tried to install the Linux Version of the Docking Station on a machine
running Ubuntu 6.10 (Kernel 2.6.17-11-generic). After much fiddling with
dstation-install and dockingstation, I got it as far as to start and
check the available resolutions, but it crashes afterward. Apparently,
SoundManager::SetMNGFile() failed
The sound should fail before there if it's failing at the SDL stage, as
far as I know (besides, it should fail nicely and just tell you it's
going to run without sound); I'd check that ds_music.mng is in your
Sounds directory and is readable and in the correct capitalisation (the
installation script should've re-capitalised things for you, but if
you've been messing with them then perhaps it didn't do that bit).
emmel
2007-04-17 12:47:58 UTC
Permalink
Post by s***@gmail.com
Hey there.
I tried to install the Linux Version of the Docking Station on a
machine running Ubuntu 6.10 (Kernel 2.6.17-11-generic). After much
fiddling with dstation-install and dockingstation, I got it as far as
*Much* fiddling? Care to post a diff?
Post by s***@gmail.com
to start and check the available resolutions, but it crashes
afterward. Apparently, it can't setup the sound part of SDL. The error
SoundManager::SetMNGFile() failed
I tried copying all the SDL libs from my /usr/lib directory, but then
lc2e can't find the jumppoint for SDL_RateSLOW.
any idea?
Hm... you could try to patch your version to support scaling, but I'm
not sure if that's the problem with SDL_RateSLOW... No, it's part of the
audio system...

You are not using 64bit by chance, do you? And do you have OSS
compatibilty enabled? AFAIK the engine won't work without that.
--
emmel <the_emmel*you-know-what-that's-for*@gmx.net>
(Don't forget to remove the ** bit)

Official AGC feedback maniac

"God is playing creatures - and we're the norns."

"A hundred dead are a tragedy - a hundred thousand are statistics."

"I guess you can call yourself lucky." -
"I could, but Linda suits me a little better... :)
Things called lucky tend to get hit by trucks."

Hi, I'm a .sig virus. Just copy me to your .signature. And don't worry.
s***@gmail.com
2007-04-18 01:25:27 UTC
Permalink
The "much" was more in reference to the time I spent fiddling than to
the actual changes. The link creation kept on failing after a pass, as
the link were already there, and as I was messing around as root with
the files but somehow setting REALLY_RUN_AS_ROOT didnt seem to be
registered by the script, I just changed that part a bit. The rest of
the changes were show-stopping though.

It's not 64bit, and other games using SDL run just fine (gl117 for
example). I don't know whether OSS compatibility is enabled. I'm going
to check on that. (I first need to find how to check it though .. I'm
relatively new to Linux)

ds_music.mng is in the sound directory, completely uncapitalized.

Anyway .. here is the diff, and afterward the output from
"dockingstation nocheck". Before I kill it, I get an output window
with the "SoundManager::SetMNGFile() failed" message. I have the
choice to continue, stop or brutally kill. If I continue, the
dockingstation window just stays open and black.

thanks for your help :)
Sammy

DIFF :

65,66c65
< # dirname $fullpath
< dirname /usr/local/games/dockingstation/blabla
---
dirname $fullpath
567c566
< check_writeable `dirname $INSTALL_DEST`
---
check_writeable `dirname "$INSTALL_DEST"`
619c618
< check_writeable `dirname $INSTALL_DEST`
---
check_writeable `dirname "$INSTALL_DEST"`
712c711
< check_writeable `dirname $INSTALL_DEST`
---
check_writeable `dirname "$INSTALL_DEST"`
740c739
< if [ -e "$REALLY_RUN_AS_ROOT" ]
---
if [ -z "$REALLY_RUN_AS_ROOT" ]
943c942
< ln -s "$DS_MAIN/Bootstrap/000 Switcher" $DS_HOME/Bootstrap&
---
ln -s "$DS_MAIN/Bootstrap/000 Switcher" $DS_HOME/Bootstrap
946c945
< ln -s "$DS_MAIN/lc2e-netbabel.so" $DS_HOME/lc2e-netbabel.so&
---
ln -s "$DS_MAIN/lc2e-netbabel.so" $DS_HOME/lc2e-netbabel.so
and the output :

/usr/local/bin/dockingstation: line 84: type: creatures3: not found

Creatures 3 is not installed (you can buy it, or you can
buy Creatures Internet Edition, which has Docking Station
and the Magma Norns bundled with it, see the web site
http://ds.creatures.net for more info)

Welcome to Docking Station!

Video information:
32 bits per pixel, 4 bytes per pixel
rmask: 0xff0000 gmask: 0xff00 bmask: 0xff
Display is 32 bit
WARNING - there will be a performance hit.
For best results, set your display depth
to 16 (or 15) bits in X configuration.
Available fullscreen modes: 2880x1200 1600x1200 1280x1024 800x600
Initializing Sound
Killed
emmel
2007-04-18 13:34:02 UTC
Permalink
Post by s***@gmail.com
The "much" was more in reference to the time I spent fiddling than to
the actual changes. The link creation kept on failing after a pass, as
the link were already there, and as I was messing around as root with
the files but somehow setting REALLY_RUN_AS_ROOT didnt seem to be
registered by the script, I just changed that part a bit. The rest of
the changes were show-stopping though.
It's not 64bit, and other games using SDL run just fine (gl117 for
example). I don't know whether OSS compatibility is enabled. I'm going
to check on that. (I first need to find how to check it though .. I'm
relatively new to Linux)
DS relies on the SDL shipped with the game. It has a patch applied to it
to allow scaling of surfaces, you see. Hm... maybe you get the trouble
because the sound libraries are to new, although that doesn't seem to be
an issue with my machine. Then again slack doesn't wildly patch
libraries like some other distros.
Post by s***@gmail.com
ds_music.mng is in the sound directory, completely uncapitalized.
Anyway .. here is the diff, and afterward the output from
"dockingstation nocheck". Before I kill it, I get an output window
with the "SoundManager::SetMNGFile() failed" message. I have the
choice to continue, stop or brutally kill. If I continue, the
dockingstation window just stays open and black.
thanks for your help :)
Sammy
65,66c65
< # dirname $fullpath
< dirname /usr/local/games/dockingstation/blabla
---
Post by s***@gmail.com
dirname $fullpath
I see. There have been some problems with that one, although it is
usually fixed by replacing a 10 with an 11 in the awk script...
Post by s***@gmail.com
567c566
< check_writeable `dirname $INSTALL_DEST`
---
Post by s***@gmail.com
check_writeable `dirname "$INSTALL_DEST"`
619c618
< check_writeable `dirname $INSTALL_DEST`
---
Post by s***@gmail.com
check_writeable `dirname "$INSTALL_DEST"`
712c711
< check_writeable `dirname $INSTALL_DEST`
---
Post by s***@gmail.com
check_writeable `dirname "$INSTALL_DEST"`
What the hell did you do that for?!
Post by s***@gmail.com
740c739
< if [ -e "$REALLY_RUN_AS_ROOT" ]
---
Post by s***@gmail.com
if [ -z "$REALLY_RUN_AS_ROOT" ]
Whatever... although you really shouldn't run as root.
Post by s***@gmail.com
943c942
< ln -s "$DS_MAIN/Bootstrap/000 Switcher" $DS_HOME/Bootstrap&
---
Post by s***@gmail.com
ln -s "$DS_MAIN/Bootstrap/000 Switcher" $DS_HOME/Bootstrap
946c945
< ln -s "$DS_MAIN/lc2e-netbabel.so" $DS_HOME/lc2e-netbabel.so&
---
Post by s***@gmail.com
ln -s "$DS_MAIN/lc2e-netbabel.so" $DS_HOME/lc2e-netbabel.so
You made it fork into the background?! WTF?
Post by s***@gmail.com
/usr/local/bin/dockingstation: line 84: type: creatures3: not found
I guess that one makes sense without C3 installed...
Post by s***@gmail.com
Creatures 3 is not installed (you can buy it, or you can
buy Creatures Internet Edition, which has Docking Station
and the Magma Norns bundled with it, see the web site
http://ds.creatures.net for more info)
Welcome to Docking Station!
32 bits per pixel, 4 bytes per pixel
rmask: 0xff0000 gmask: 0xff00 bmask: 0xff
Display is 32 bit
WARNING - there will be a performance hit.
For best results, set your display depth
to 16 (or 15) bits in X configuration.
Available fullscreen modes: 2880x1200 1600x1200 1280x1024 800x600
Initializing Sound
Killed
Nice screen resolutions...


Could you just go into the dockingstation folder and try the following:

LD_LIBRARY_PATH=. dstation-install nocheck
--
emmel <the_emmel*you-know-what-that's-for*@gmx.net>
(Don't forget to remove the ** bit)

Official AGC feedback maniac

"God is playing creatures - and we're the norns."

"A hundred dead are a tragedy - a hundred thousand are statistics."

"I guess you can call yourself lucky." -
"I could, but Linda suits me a little better... :)
Things called lucky tend to get hit by trucks."

Hi, I'm a .sig virus. Just copy me to your .signature. And don't worry.
s***@gmail.com
2007-04-19 01:51:53 UTC
Permalink
And now for my nightly update ;)

The forking is only because for one reason or another, dockingstation
and dstation-install try to create the links everytime. As the links
already exist after the first pass, the script dies at that point. I
could have removed the lines, or commented them, but well .. I thought
it was less hassle this way.
Post by emmel
Nice screen resolutions...
Thanks, the glory of dualhead setups ;)
Post by emmel
LD_LIBRARY_PATH=. dstation-install nocheck
--
I guesst those were supposed to be to lines. So I did

LD_LIBRARY_PATH=.
dstation-install nocheck

And It went one step further. Sound initialization fails, and the game
is said to be started silently. I click "continue" but the window
stays black :/
What's weird is that the the window is called "Docking Station -
Engine 2.296 B195 P64 - Autokill Enabled" ... now, does the P64 refer
to a 64 Bit Pentium, or is it just a coincidence? My CPU is an Athlon
XP 2600+ by the way.

I think I might just boot Windows to play ... I never came around to
buy C2 or C3, only C1, and when I finally wanted to, Creatures Lab
told me they didn't ship to my carribean island (not unusual sadly),
then they disappeared .. so I was rather thrilled to find out about
Docking Station, especially if it meant I could play it on this side
of the OS World :/

bbye,
Sammy
Fuzzie
2007-04-19 09:31:52 UTC
Permalink
Post by s***@gmail.com
And It went one step further. Sound initialization fails, and the game
is said to be started silently. I click "continue" but the window stays
black :/
What's weird is that the the window is called "Docking Station - Engine
2.296 B195 P64 - Autokill Enabled" ... now, does the P64 refer to a 64
Bit Pentium, or is it just a coincidence? My CPU is an Athlon XP 2600+
by the way.
That's just the normal window title as far as I know, I'm not sure what
the P64 means but it's not something to do with 64-bit :)

The window staying black is very strange, but is probably the symptom of
something of the DS data files being installed incorrectly (and if the
script is trying to recreate links, perhaps it thinks things aren't
installed correctly, too) and so the game not actually starting up,
rather than anything wrong with your system or libraries.
emmel
2007-04-19 12:09:54 UTC
Permalink
Post by s***@gmail.com
And now for my nightly update ;)
The forking is only because for one reason or another, dockingstation
and dstation-install try to create the links everytime. As the links
already exist after the first pass, the script dies at that point. I
could have removed the lines, or commented them, but well .. I thought
it was less hassle this way.
Post by emmel
Nice screen resolutions...
Thanks, the glory of dualhead setups ;)
<g> Yes, those are nice.
Post by s***@gmail.com
Post by emmel
LD_LIBRARY_PATH=. dstation-install nocheck
--
I guesst those were supposed to be to lines. So I did
LD_LIBRARY_PATH=.
dstation-install nocheck
No, that'd be quite pointless. It's *one* line.
Post by s***@gmail.com
And It went one step further. Sound initialization fails, and the game
is said to be started silently. I click "continue" but the window
stays black :/
Well, you *are* missing a patched SDL.
Hm... chances are it will work then. And that your messed up when
editing your script. Might require a clean install. (After replacing the
10 in the awk script with an 11. The output format of ls changed and
that breakes detection of the link target.)
Post by s***@gmail.com
What's weird is that the the window is called "Docking Station -
Engine 2.296 B195 P64 - Autokill Enabled" ... now, does the P64 refer
to a 64 Bit Pentium, or is it just a coincidence? My CPU is an Athlon
XP 2600+ by the way.
Babel Protocol version 64. Nothing to do with your system at all.
Post by s***@gmail.com
I think I might just boot Windows to play ... I never came around to
buy C2 or C3, only C1, and when I finally wanted to, Creatures Lab
told me they didn't ship to my carribean island (not unusual sadly),
then they disappeared .. so I was rather thrilled to find out about
Docking Station, especially if it meant I could play it on this side
of the OS World :/
bbye,
Sammy
Well, it works fine for me (C3 as well). Unfortunatly it has no multi
CPU support.
--
emmel <the_emmel*you-know-what-that's-for*@gmx.net>
(Don't forget to remove the ** bit)

Official AGC feedback maniac

"God is playing creatures - and we're the norns."

"A hundred dead are a tragedy - a hundred thousand are statistics."

"I guess you can call yourself lucky." -
"I could, but Linda suits me a little better... :)
Things called lucky tend to get hit by trucks."

Hi, I'm a .sig virus. Just copy me to your .signature. And don't worry.
Continue reading on narkive:
Loading...