Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 22, 2012, 06:19   #1
runequester
Apprentice
 
Join Date: Mar 2012
Posts: 54
runequester is on a distinguished road
linux sound?

I found a package with sound effects for angband and figured I'd try them out. Unpacked them to the right folder, and included the sound.cfg file. However, no sound (SDL, X11 or GTK versions). I don't see an option for it either. Do I need a particular version or am I missing something really obvious?

I am using the version from the (k)ubuntu repositories, if that helps any.
runequester is offline   Reply With Quote
Old April 22, 2012, 08:32   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by runequester View Post
I found a package with sound effects for angband and figured I'd try them out. Unpacked them to the right folder, and included the sound.cfg file. However, no sound (SDL, X11 or GTK versions). I don't see an option for it either. Do I need a particular version or am I missing something really obvious?

I am using the version from the (k)ubuntu repositories, if that helps any.
It does, because I probably built it. Can you give the url to the package you're using, and also to the sounds (if they're not included). Then I can try to replicate the problem.

If you're talking about dubtrain's sounds, they are in a non-standard WAV format which SDL can't process. I'm not sure that x11 or GTK have ever supported sounds, but I could be wrong.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old April 22, 2012, 15:24   #3
runequester
Apprentice
 
Join Date: Mar 2012
Posts: 54
runequester is on a distinguished road
Quote:
Originally Posted by Magnate View Post
It does, because I probably built it. Can you give the url to the package you're using, and also to the sounds (if they're not included). Then I can try to replicate the problem.

If you're talking about dubtrain's sounds, they are in a non-standard WAV format which SDL can't process. I'm not sure that x11 or GTK have ever supported sounds, but I could be wrong.
well, that solves it then, since they were indeed the dubtrain sounds.

Are there another set of sounds out there you can suggest?
runequester is offline   Reply With Quote
Old April 22, 2012, 17:07   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by runequester View Post
well, that solves it then, since they were indeed the dubtrain sounds.

Are there another set of sounds out there you can suggest?
Not so fast - I have a package of the dubtrain sounds available, which I converted to oggs and tested with SDL on Linux - try downloading it and installing with sudo dpkg -i angband-audio_3.1.0-1_all.deb ... it's not perfect (expect odd behaviour if you subsequently uninstall it and try to play without sounds), but let me know if it works for you. (It will only work if you have installed the official debian/ubuntu package for 3.1.2v2 or 3.2.0 or 3.3.2, not if you built your own.)
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old April 22, 2012, 21:52   #5
runequester
Apprentice
 
Join Date: Mar 2012
Posts: 54
runequester is on a distinguished road
Hm. If I install by console, I get

"dpkg: error processing angband-audio_3.1.0-1_all.deb (--install):
trying to overwrite '/usr/share/angband/xtra/sound/sound.cfg', which is also in package angband 1:3.2.0-1
"

Double clicking on the deb just gives that dependencies cannot be satisfied.

The version is straight from the ubuntu repositories.
I tried manually extracting and copying the files. After doing so, angband starts but no sound in the SDL version.
runequester is offline   Reply With Quote
Old April 22, 2012, 22:03   #6
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by runequester View Post
Hm. If I install by console, I get

"dpkg: error processing angband-audio_3.1.0-1_all.deb (--install):
trying to overwrite '/usr/share/angband/xtra/sound/sound.cfg', which is also in package angband 1:3.2.0-1
"

Double clicking on the deb just gives that dependencies cannot be satisfied.

The version is straight from the ubuntu repositories.
I tried manually extracting and copying the files. After doing so, angband starts but no sound in the SDL version.
Ok, there two issues here. The sound package is designed to work with 3.3.2 rather than 3.2.0, which is why it fails to overwrite sound.cfg. You can fix this either by upgrading to 3.3.2, or by installing with --force-overwrite.

Secondly, once the sounds and sound.cfg are installed, you need to choose the use_sound option to enable sound (first page of options).
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old April 22, 2012, 22:07   #7
runequester
Apprentice
 
Join Date: Mar 2012
Posts: 54
runequester is on a distinguished road
Any debian package out there for 3.3.2 or would I need to compile it from source?

Thank you so much for all your help by the way
runequester is offline   Reply With Quote
Old April 22, 2012, 22:33   #8
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by runequester View Post
Any debian package out there for 3.3.2 or would I need to compile it from source?

Thank you so much for all your help by the way
Yes, 3.3.2 is in debian. I thought it was in Ubuntu as well (checks launchpad ...) yeah it is - it's in Precise. Not sure what repos you're using, or how Kubuntu works, but I'm sure you can get it from a repo somewhere.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Old April 22, 2012, 22:42   #9
runequester
Apprentice
 
Join Date: Mar 2012
Posts: 54
runequester is on a distinguished road
Im still using Oneiric, the previous version (Precise is not technically "official" yet).

I've been meaning to upgrade anyways, to get a headstart on it, so I think I'll just do that and then go from there

Assuming my computer doesn't explode, I'll let you know how it works once I've upgraded.

edit: Nothing exploded, got the newer version of angband, installed your package and voila, I have sounds

Last edited by runequester; April 23, 2012 at 01:23.
runequester is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have sound working? Mushuukyou Vanilla 22 May 7, 2010 03:19
Can't get sound working Mushuukyou Vanilla 0 February 27, 2010 06:59
SDL sound Nick Development 1 July 16, 2009 21:14
Sound configuration nurak Vanilla 6 May 14, 2008 10:23
Sound on Linux with X11 is it available. tuppe666 Vanilla 10 September 13, 2007 16:42


All times are GMT +1. The time now is 00:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.