Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: leo2501 on December 07, 2008, 05:12:12 pm
-
I'm using arch linux and i followed this guide http://www.hard-light.net/wiki/index.php/The_fs2_open_on_Linux_Guide to know how and where to copy the retail files of the game, but when i run the startup script it dies on me with this errors
[aleyscha@aleyscha 4 ~ 20:34]$ start_freespace
Unrecognized command line parameter "-jpgtga". Ignoring...
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
(null): "Audio could not be initialized. If you are running any applications playing sound in the background, you should stop them before continuing."
open /dev/[sound/]dsp: Device or resource busy
ERROR: " Web cursor bitmap not found. This is most likely due to one of three reasons: 1) You're running FreeSpace Open from somewhere other than your FreeSpace 2 folder; 2) You've somehow corrupted your FreeSpace 2 installation, e.g. by modifying or removing the retail VP files; 3) You haven't installed FreeSpace 2 at all. (Note that installing FreeSpace Open does NOT remove the need for a FreeSpace 2 installation.) Number 1 can be fixed by simply moving the FreeSpace Open executable file to the FreeSpace 2 folder. Numbers 2 and 3 can be fixed by installing or reinstalling FreeSpace 2." at graphics/2d.cpp:1457
-
which sound system are you using anyways? ALSA, pulse or whichever?
-
Also,
Unrecognized command line parameter "-jpgtga". Ignoring...
If you're running a 3.6.10 build, there is no need for the -jpgtga flag.
ERROR: " Web cursor bitmap not found. This is most likely due to one of three reasons:
1) You're running FreeSpace Open from somewhere other than your FreeSpace 2 folder;
2) You've somehow corrupted your FreeSpace 2 installation, e.g. by modifying or removing the retail VP files;
3) You haven't installed FreeSpace 2 at all. (Note that installing FreeSpace Open does NOT remove the need for a FreeSpace 2 installation.)
Number 1 can be fixed by simply moving the FreeSpace Open executable file to the FreeSpace 2 folder.
Numbers 2 and 3 can be fixed by installing or reinstalling FreeSpace 2."
You're sure that you have the retail files and that you're running FSO from the same folder where the retail files are?
-
Is sound softmixing set up correctly? Without that, Linux sound system(s) tend to only be able to play sound from one application at a time.
You might want to try something as simple as disabling system sounds. And, of course, check that there's no media players or other sound using applications open, but basically softmixing is something you should make sure is set up correctly because it will mix the sounds from all programs you use into one stream and then the sound system will be able to play that unified (mixed) stream through to your speakers.*
You can probably try -nosound command line argument to test if the executable works otherwise, but obviously that won't give you any sound (d'oh).
*gross oversimplification warning, I just can't care of the details at the moment... not that I would know much more anyway, my experience on Linux is limited but my bitter fightes with sound systems have left some information I guess :p
-
Lobo actually has his finger on the main problem. The sound error does need fixing but not actually having the game is a much bigger problem. :p
Turey's installer does NOT install the game itself any more.
-
Well... :P thankyou very much for the replies :)
pecenipicek: i'm using alsa on Arch Linux
Lobo: thankyou for the flag help :) and i did copy the files to /home/aleyscha/fs2/data folder... (i symlinked them from another dir, these are the contents, i'd try before copying the files directly and the error was the same)
drwx------ 2 aleyscha users 4096 Dec 7 20:27 basic_install_files/
drwx------ 2 aleyscha users 4096 Dec 7 20:28 high_res_files/
drwx------ 2 aleyscha users 4096 Dec 7 20:28 hud_config_files/
drwx------ 2 aleyscha users 4096 Dec 7 20:27 intel_anims/
drwx------ 2 aleyscha users 4096 Dec 7 20:28 music_compressed/
lrwxrwxrwx 1 aleyscha users 34 Dec 7 20:34 Media_VP -> /sdc1/bin/games/freespace2/mediavp/
-r--r--r-- 1 aleyscha users 195887233 Sep 15 1999 tango1_fs2.vp
-r--r--r-- 1 aleyscha users 72778161 Sep 15 1999 tango2_fs2.vp
-r--r--r-- 1 aleyscha users 50497261 Sep 15 1999 tango3_fs2.vp
Herra Tohtori: mmm i can listen to music in my pc with no problems, i dont think is there any audio application playing or even open when i run the program
karajorma: yes i know, i install the game with this "script" it's the arch linux package
# Contributor: Lone_Wolf <[email protected]>
pkgname=fs2_open-svn
pkgver=4933
pkgrel=1
pkgdesc="An enhancement of the original Freespace 2 engine - SVN version"
url="http://scp.indiegames.us"
arch=('i686' 'x86_64')
license=('custom:freespace2')
depends=('openal' 'libvorbis' 'sdl' 'mesa' 'libtheora')
makedepends=('subversion' 'lua')
install=fs2_open-svn.install
source=(fs2_open-svn.patch)
md5sums=('553b1d17d6486993f07e133813225626')
_svntrunk=svn://svn.icculus.org/fs2open/trunk/fs2_open
_svnmod=fs2_open
build()
{
#Grab the sources with svn
cd $srcdir
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver) || return 1
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
rm -r $srcdir/$_svnmod-build
cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
cd $srcdir/$_svnmod-build
#Patch and build the engine
patch -Np0 -i $srcdir/fs2_open-svn.patch || return 1
./autogen.sh
./configure --enable-speech
make
#Install the license
install -D -m644 COPYING $pkgdir/usr/share/licenses/freespace2/COPYING
#Install the engine (The engine is compiled to one binary..)
install -D -m755 code/fs2_open_r $pkgdir/usr/bin/fs2_open_r
}
# vim:set ts=2 sw=2 et:
-
-r--r--r-- 1 aleyscha users 195887233 Sep 15 1999 tango1_fs2.vp
-r--r--r-- 1 aleyscha users 72778161 Sep 15 1999 tango2_fs2.vp
-r--r--r-- 1 aleyscha users 50497261 Sep 15 1999 tango3_fs2.vp
Is this accurate? You only have the tango files from retail FS2. The full retail file list is:
root_fs2.vp
sparky_fs2.vp
sparky_hi_fs2.vp
stu_fs2.vp
tango1_fs2.vp
tango2_fs2.vp
tango3_fs2.vp
smarty_fs2.vp
warble_fs2.vp
... with the tango files containing only the command briefing animations.
-
Lobo: THANKYOUUUU now the game runs (i get to the menu, didn't try to play yet)... but i have no sound yet, because of the "open /dev/[sound/]dsp: Device or resource busy" error
-
eugh, looks to me like you dont have alsa configured properly. remove the autodetect and select the exact alsa device which should be used for all sound streams.
-
pecenipicek: do you mean from ingame configuration menu? because i dont see any place in the menu or somewhere to edit it
-
.alsoftrc?
http://repo.or.cz/w/openal-soft.git?a=blob_plain;f=alsoftrc.sample
-
.alsoftrc?
http://repo.or.cz/w/openal-soft.git?a=blob_plain;f=alsoftrc.sample
no effect :( still same error
-
What if you try to start it with a bare bones window manager running?
I.e. first kill the x server (ctrl+alt+backspace), then start it again with:
xinit -- :0
..then try to run fs2 open from the command line.
-
What if you try to start it with a bare bones window manager running?
I.e. first kill the x server (ctrl+alt+backspace), then start it again with:
xinit -- :0
..then try to run fs2 open from the command line.
nop, the same issue :( it seems that i have a sound problem but ONLY with freespace2 :S all other apps and games work perfect :S this is weird... i can play the game with the -nosound flag only :(
-
Hmm... Do you have libopenal (and possibly libopenal-dev, but that might only be needed for compilation) installed? :nervous:
I'm not sure if that missing produces that Device Busy error but OpenAL is definitely needed for FS2_Open sound to work, so better sure than sorry... :p
-
Hmm... Do you have libopenal (and possibly libopenal-dev, but that might only be needed for compilation) installed? :nervous:
I'm not sure if that missing produces that Device Busy error but OpenAL is definitely needed for FS2_Open sound to work, so better sure than sorry... :p
mmm maybe... the thing is that this is a x86_64 linux pc, and a quick...
[aleyscha@aleyscha 101 ~ 08:17]$ locate openal
show me this:
/usr/bin/openal-config
/usr/lib/libopenal.a
/usr/lib/libopenal.so
/usr/lib/libopenal.so.0
/usr/lib/libopenal.so.0.0.0
/usr/lib/pkgconfig/openal.pc
maybe i need to install the 32 bits openal? :wtf:
-
well... i reinstalled the game, and now it works :| so don't know what happened before :P thankyou all guys!