project-navigation
Personal tools

Author Topic: No music in game (installed from deb's)  (Read 13131 times)

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
No music in game (installed from deb's)
« on: January 07, 2010, 09:24:08 am »
Hello. This is my first post on the forum :) I have a problem with music in the game. I installed the game from the deb files from www.playdeb.net. The game is installed in /usr/lib/games/ufoai, not as I noticed the forum in /usr/share/games/ufoai. After the installation I noticed that I did not have a file 0music.pk3. I reviewed the forum and http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/base/music/ page and I downloaded from this page. I packed it with zip and changed its name to 0music.pk3 and copy to /usr/lib/games/ufoai and still no sound. What could be wrong?

Offline dangermouse

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Re: No music in game (installed from deb's)
« Reply #1 on: January 07, 2010, 04:40:41 pm »
I did this yesterday, i clicked on the tar.gz option at the bottom of that sourceforge page, it was about 200 mg in total, and then i put the unpacked folder in to /home/(myname)/.ufoai/2.2.1/base/  next to the saves folder. the music played fine then!

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No music in game (installed from deb's)
« Reply #2 on: January 07, 2010, 05:52:30 pm »
Hello. This is my first post on the forum :) I have a problem with music in the game. I installed the game from the deb files from www.playdeb.net. The game is installed in /usr/lib/games/ufoai, not as I noticed the forum in /usr/share/games/ufoai. After the installation I noticed that I did not have a file 0music.pk3. I reviewed the forum and http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/base/music/ page and I downloaded from this page. I packed it with zip and changed its name to 0music.pk3 and copy to /usr/lib/games/ufoai and still no sound. What could be wrong?

/usr/lib/games/ufoai/base?
Have you checkek which direcories the game uses? ('using game dir...' lines on stdout)

-geever

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: No music in game (installed from deb's)
« Reply #3 on: January 08, 2010, 10:24:40 am »
Ok, the music already playing, becouse I downloaded version from SourceForge. But I noticed that this version is less music than at http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/base/music/. Does all this music is needed?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: No music in game (installed from deb's)
« Reply #4 on: January 08, 2010, 12:50:58 pm »
Ok, the music already playing, becouse I downloaded version from SourceForge. But I noticed that this version is less music than at http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/base/music/. Does all this music is needed?

No, in fact no music is needed (if we don't count that floating point bug). Trunk is the main development line, we have new musics since 2.2.1. Music repository of 2.2.1 is at http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/tags/ufoai_2.2.1/base/music/.

-geever

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: No music in game (installed from deb's)
« Reply #5 on: January 08, 2010, 01:00:35 pm »
Another question: Do you have a problem with the PulseAudio crackling sound while playing in UFOs?

Offline Spyro

  • Rookie
  • ***
  • Posts: 25
    • View Profile
Re: No music in game (installed from deb's)
« Reply #6 on: January 12, 2010, 04:02:30 am »
Pulseaudio messes with game sounds quite a bit. My usual solution is to uninstall pulseaudio and just use alsa instead, but because of the way that ubuntu has tied pulseaudio into everything uninstalling pulseaudio can be a messy experience.

The simplest solution is to just run:
Code: [Select]
sudo apt-get remove --purge pulseaudio
sudo apt-get remove --purge pulseaudio-*
sudo apt-get install esound

The main problem for me with this approach is that it breaks sound in the Gnome Media Player. The solution for this is to just use vlc ( `sudo apt-get install vlc` ) which works like a charm. If not for pulseaudio, ubuntu would be the perfect distro for me. Hopefully the pulseaudio team gets all of these bugs worked out soon.

Edit: Please note, I am not responsible for any issues that you may face due to uninstalling pulseaudio! However, it has worked fine on my 5 systems so far...

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: No music in game (installed from deb's)
« Reply #7 on: January 12, 2010, 01:41:33 pm »
Is in the future of the UFO:AI PulseAudio will be implemented?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: No music in game (installed from deb's)
« Reply #8 on: January 13, 2010, 10:32:40 am »
we have pulse audio support via sdl

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: No music in game (installed from deb's)
« Reply #9 on: January 13, 2010, 11:40:15 am »
How to activate it?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile

Offline Spyro

  • Rookie
  • ***
  • Posts: 25
    • View Profile
Re: No music in game (installed from deb's)
« Reply #12 on: January 19, 2010, 03:18:15 am »
it does not work

More information than that is needed if you want to get help. What are your symptoms?

Is your sound crackling? Was there no sound at all? Was there some other kind of problem?

Edit: Misspelling...
« Last Edit: January 19, 2010, 03:19:59 am by Spyro »

Offline QkiZ

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: No music in game (installed from deb's)
« Reply #13 on: January 19, 2010, 09:27:18 am »
When the game starts the sound is working. But after few minutes sound is crackling and then the sound turns off.

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: No music in game (installed from deb's)
« Reply #14 on: January 19, 2010, 09:30:47 am »
You need to post ufoconsole.log here.