Page 1 of 1

need help with Spring on a gentoo linux system

Posted: 29 Aug 2006, 00:47
by genblood
I installed the latest build of Spring on my linux gentoo box.
I installed ver 72b2 of the linux gentoo ebuild script.

Spring load without any errors. When I run spring the menu
comes up and I select Cmds 1000 res press end, then select
a map, then select a mod ... after that it exits the program
to the main window. I'm using xfce4 GUI ...

If you know a fix for these, can you post it ...

Thanks ...

Posted: 29 Aug 2006, 00:58
by Tobi
Can you run spring from the console and paste it's output here?

I didn't get around to implementing an X MessageBox yet, so any error messages are printed on the console.

Posted: 29 Aug 2006, 01:40
by genblood
There is the error message I'm getting

... Permission denied
open /dev/[sound/]dsp: No such device
ERROR: OpenAL error
Could not create audio device



The sound is setup for the gentoo box. I set it update with alsa ... I can play my
mp3s and stream radio with xmms ...


I hope this info helps you out ....

Posted: 29 Aug 2006, 01:45
by hollowsoul
http://gentoo-wiki.com/OpenAL

Need to configure your openal. As it defaults to oss if not setup :(

If u need help with above link give me a shout or if u can get onto
irc
server = irc.freenode.net
channel = #taspring

Posted: 29 Aug 2006, 03:45
by genblood
hollowsoul,

Got it working .. thanks for the help ... I'm impressed by the linux version

I even made some screenies ... too 8)

Image

Image

Image


I just need to learn the keyboard layout.

Thanks again ....

Posted: 29 Aug 2006, 15:09
by Icebird
you can also edit it via uikeys.txt ;)

Posted: 30 Aug 2006, 18:00
by Vivien
Just one question for Genblood: how do you setup your openalrc file to solve your pb?. Someone have the same error on ubuntu linux.

thank you for your answer.

Edit: finally it work with 'oss' something like this:

Code: Select all

(define devices '(oss))
(define devices '(oss alsa esd arts sdl null))
(define alsa-out-device default)
thank you hollowsoul to suggest the solution :-)

Posted: 30 Aug 2006, 21:47
by hollowsoul
Err u using OSS sound ?
Tad bit odd. U sure u dont have ALSA with OSS emultaion ?
Since ALSA is new sound system for linux kernel & also allow for sound mixer in kernel & not userspace mixer.

Simple answer ALSA == better & allow u to run multiple sound programs with another program mixing the sound

Posted: 30 Aug 2006, 22:19
by genblood
Vivien

This is what I put in my .openalrc file


(define devices '(alsa))
(define alsa-out-device "hw:0,0")
(define alsa-in-device "hw:0,0")
(define speaker-num 2)

Posted: 31 Aug 2006, 11:45
by Vivien
Personnaly i use alsa, not oss. It was just to resolve the error with taspring for someone...but now, if he encounters some pbs with sound i know what say to him. thank you for the replies.