View previous topic :: View next topic |
Author |
Message |
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Mon Jun 23, 2003 6:47 pm Post subject: America's Army Mono Sound Output |
|
|
I've recently emerged America's Army 1.70,
really like this game, and everything seems to work fine but...
the sound output is MONO!!! I also tried with dolby surround and so on.. (the 2 option on sound section under settings) but nothing has changed... any hint??
I'm using Alsa sound with a C-Media CMI8738 (everything works fine, xmms works really nice)
_________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
sumC n00b
Joined: 15 Nov 2002 Posts: 72 Location: Stockholm, Sweden
|
Posted: Mon Jun 23, 2003 10:23 pm Post subject: |
|
|
Cant help you, just say that I have the same problem...
I have nForce2 audio and stereo sound in other games. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Mon Jun 23, 2003 10:40 pm Post subject: |
|
|
it's unbeareable playing this kinda game with MONO SOUND!!!
like trying to watch a sunset photo collection site with a green phosphore's monitor..
got it?
btw hope someone will fix this soon... just only if there's no way around this prob...
I'll unmerge it soon if this won't happen... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Niek Apprentice
Joined: 14 May 2002 Posts: 236 Location: Houten, The Netherlands
|
Posted: Tue Jun 24, 2003 5:49 am Post subject: |
|
|
Hi,
I had the same problem for some time, and today I fixed it The problem is that the openal.so that comes with AA is broken. You have to build one yourself (from CVS) and then copy it over the original openal.so. I've build one (CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ./configure --enable-arts --enable-sdl --enable-vorbis --enable-arts --enable-esd --enable-smpeg) that should work on every system and I've put it on my webpage. Here is how you can fix the sound:
Code: |
$ su -
(type passwd)
$ cd /usr/local/games/armyops/System
$ mv openal.so openal.so.backup
$ wget http://www.maasonline.nl/zooi/openal.so
$ chmod 755 openal.so
$ logout
|
After that, start armyops, go to Settings -> Audio Settings and enable Reverse Stereo (strange enough the stereo sound is default reversed, so you have to reverse it to make it normal).
Hope this helps,
Niek. _________________ Bezoek ook eens de Nederlandstalige Gentoo IRC channel op irc.freenode.net - #gentoo-nl |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Jun 24, 2003 7:25 am Post subject: |
|
|
you've done a great thing, but it isn't working for me... you need to build a static openal.so or at least different versions... dunno, I've never did such cross platform build...
I'll dl the cvs and build it myself too...
thanks again Niek
btw I have an AthlonXP cpu...
where did you get the CVS version? I will dl it too if I know where to grab it... I'm waiting in line... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
NePhie Tux's lil' helper
Joined: 01 Sep 2002 Posts: 82
|
Posted: Tue Jun 24, 2003 1:13 pm Post subject: |
|
|
what you reaaaly shouldn't do is -march imho _________________ .:: $witty_statement ::. |
|
Back to top |
|
|
Peaceable Frood Guru
Joined: 06 Apr 2003 Posts: 338 Location: New Jersey, USA
|
Posted: Tue Jun 24, 2003 2:42 pm Post subject: |
|
|
It shouldn't be a problem doing -march unless your going to distribute the file which oifcourse it will only work on a pentium2, you could always do -march=i686, since I don't think that a person with a i386 or i586 is going to be playing bleeding edge games. You up there want to do -march=athlon-xp _________________ "Our enemies are innovative and resourceful, and so are we, they never stop thinking about new ways to harm our country and our people, and neither do we." George W. Bush |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Jun 24, 2003 3:12 pm Post subject: |
|
|
right...
if you can rebuild that file I'll be pleased but use these to build a safe port:
and tell me which version of glibc u're using
Otherwise just tell me where I can find the CVS to download and I'll do it by myself
thanks again _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
grover Tux's lil' helper
Joined: 27 Sep 2002 Posts: 77 Location: Melbourne, Australia
|
Posted: Tue Jun 24, 2003 3:21 pm Post subject: |
|
|
Peach wrote: | right...
if you can rebuild that file I'll be pleased but use these to build a safe port:
and tell me which version of glibc u're using
Otherwise just tell me where I can find the CVS to download and I'll do it by myself
thanks again |
http://www.openal.org/downloads/
I've been having sound issues as well, hopefully this will work. |
|
Back to top |
|
|
NePhie Tux's lil' helper
Joined: 01 Sep 2002 Posts: 82
|
Posted: Tue Jun 24, 2003 3:32 pm Post subject: |
|
|
Peaceable Frood wrote: | It shouldn't be a problem doing -march unless your going to distribute the file which oifcourse it will only work on a pentium2, you could always do -march=i686, since I don't think that a person with a i386 or i586 is going to be playing bleeding edge games. You up there want to do -march=athlon-xp |
since he's distributing the file ..... _________________ .:: $witty_statement ::. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Jun 24, 2003 3:57 pm Post subject: |
|
|
Thanks grover.. I'm downloading right now latest cvs version of OpenAl
just now I saw there's a portage port of it 20020127 version...
I'll go through cvs right now... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
grover Tux's lil' helper
Joined: 27 Sep 2002 Posts: 77 Location: Melbourne, Australia
|
Posted: Tue Jun 24, 2003 4:26 pm Post subject: |
|
|
It compiled fine and the game loads ok with stereo sound at last. A lot of the sounds are screwed up though. Did you have this problem Niek? Tried it with and without EAX but it didn't make any difference. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Jun 24, 2003 5:42 pm Post subject: |
|
|
grover wrote: | It compiled fine and the game loads ok with stereo sound at last. A lot of the sounds are screwed up though. Did you have this problem Niek? Tried it with and without EAX but it didn't make any difference. |
I have stereo enable finally, but like you lot of sounds are crappy and scratchy...
I'm posting on america's army forum to get some help on compiling... even if I thing I know more on that than them...
btw I used:
Code: | # CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe
-fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ./configure --enable-alsa --enable-esd --enable-sdl --enable-vorbis |
_________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Tue Jun 24, 2003 9:35 pm Post subject: |
|
|
ok, now I've compiled the openal with:
Code: | # CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ./configure |
and seems it works fine now with no scratchy sounds...
if you achieve a better driver with different flags let me know _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
sumC n00b
Joined: 15 Nov 2002 Posts: 72 Location: Stockholm, Sweden
|
Posted: Tue Jun 24, 2003 10:45 pm Post subject: |
|
|
How do I compile the cvs source?
I have pulled it from CVS and done
Code: | # CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ./configure
# make |
but I can't locate openal.so, so I assume there is one more step after that |
|
Back to top |
|
|
grover Tux's lil' helper
Joined: 27 Sep 2002 Posts: 77 Location: Melbourne, Australia
|
Posted: Wed Jun 25, 2003 2:34 am Post subject: |
|
|
sumC wrote: | How do I compile the cvs source?
I have pulled it from CVS and done
Code: | # CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" ./configure
# make |
but I can't locate openal.so, so I assume there is one more step after that |
its in ./linux/src/libopenal.so.0.0.6
Just rename it to openal.so and copy it over.
Peach: I'm not having much luck getting rid of the scratchy sounds. I've tried:
Code: | CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}" ./configure |
but it hasnt fixed the problem at all. |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Jun 25, 2003 3:20 pm Post subject: |
|
|
grover wrote: | Peach: I'm not having much luck getting rid of the scratchy sounds. I've tried:
Code: | CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}" ./configure |
but it hasnt fixed the problem at all. |
try just with:
Code: | CHOST="i686-pc-linux-gnu" CFLAGS="-O2" CXXFLAGS="${CFLAGS}" ./configure |
what's your sound card? your pc specs?
hope [url]icculus.org[/url] will be back soon.. those guys did the port for linux, they sure know rather well how can be fixed this problem... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Last edited by Peach on Thu Jun 26, 2003 8:33 am; edited 1 time in total |
|
Back to top |
|
|
sumC n00b
Joined: 15 Nov 2002 Posts: 72 Location: Stockholm, Sweden
|
Posted: Wed Jun 25, 2003 4:45 pm Post subject: |
|
|
Got a lot of noise too when I compiled it.
One other way is to copy the openal.so from ut2003-demo
The sound does work right then but the positional audio is not as distinct as the compiled version. At least its better than mono sound. |
|
Back to top |
|
|
Niek Apprentice
Joined: 14 May 2002 Posts: 236 Location: Houten, The Netherlands
|
Posted: Thu Jun 26, 2003 7:47 am Post subject: |
|
|
Can you put the openal.so from ut2003 online please? I don't want to download 135MB to get a single 500KB file
Thanks,
Niek. _________________ Bezoek ook eens de Nederlandstalige Gentoo IRC channel op irc.freenode.net - #gentoo-nl |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Jun 26, 2003 8:32 am Post subject: |
|
|
if you want to try here's my version
compiled against i686-pc-linux-gnu and using glibc 2.3.1-r4
DOWNLOAD openal.so by The Peach
This is working for me, but there're still some problems in it.
feel free to try it and tell me if it works for you too. _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
sumC n00b
Joined: 15 Nov 2002 Posts: 72 Location: Stockholm, Sweden
|
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Jun 27, 2003 10:01 pm Post subject: |
|
|
I've noticed that mine version "renders" distorted sounds and I don't really know what's wrong.
Icculus.org is up again, so I submitted a bug to it here
hope something will be solved soon _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
neurosis Apprentice
Joined: 04 May 2003 Posts: 170 Location: Ottawa, Canada
|
Posted: Mon Nov 03, 2003 8:50 pm Post subject: |
|
|
*bump*
Anyone made any progress on this? I'm having the same problem in America's Army 1.9, although its more poor positional 3D audio than monoaurial sound. _________________ There is no evil greater than that committed by those who claim to do their deeds in the name of God.
-unknown |
|
Back to top |
|
|
sumC n00b
Joined: 15 Nov 2002 Posts: 72 Location: Stockholm, Sweden
|
Posted: Mon Nov 03, 2003 10:11 pm Post subject: |
|
|
Stereo sound works good for me in 1.9 |
|
Back to top |
|
|
|