Music is not working, OpenMSX and alternative.

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Firetaffer
Engineer
Engineer
Posts: 2
Joined: 04 Nov 2012 07:57

Music is not working, OpenMSX and alternative.

Post by Firetaffer »

I tried OpenMSX and the alternative music pack via the online content system. No music is heard, when I try to access the jukebox all the songs are cycled through really quickly (the way music players do when a song is corrupt/missing).

I have tried this on OpenTTD v1.2.2 and v1.2.3.

On Ubuntu 12.04 and Windows Vista (on two entirely separate computers), which are both 32-bit systems.

The music was working initially when I was using Ubuntu Software Manager to play the game, and that was 1.1.4, it worked straight off the bat because it was all downloaded I assume, the graphics, sounds, music, everything. I did some research and found out that 1.1.4 is an outdated version, so I downloaded the new one and installed it, then, as stated above I used the online content system and downloaded the base files. OpenSFX works fine but OpenMSX has no sound.

I downloaded OpenTTD 1.2.3 on Windows Vista and the exact same problem occurs.

I'm stumped, especially since this is on two entirely seperate computers with different OSs. ;(

Thanks in advance!
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Music is not working, OpenMSX and alternative.

Post by Zuu »

My guess is that perhaps Ubuntu picks the midi player timidity as a dependency when you install OpenTTD via the packager manager and then when you uninstall, there are no other package that needs it, so it uninstall timidity for you then.

You could check this by picking OpenTTD from the package manager when it is not installed and go to the confirm screen where it lists the dependencies that it will also install. (unless Ubuntu in its easy-ness have decided to drop that screen. In that case you could use the command line package manager 'aptitude' which will show you a such screen when you hit 'g' first time, and then installs when you hit 'g' a second time.)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Firetaffer
Engineer
Engineer
Posts: 2
Joined: 04 Nov 2012 07:57

Re: Music is not working, OpenMSX and alternative.

Post by Firetaffer »

On my Ubuntu comp I reinstalled timidity, and the music did not work initially but when I ran the jukebox and clicked play it started up just fine, thanks! :P

timidity was the problem.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Music is not working, OpenMSX and alternative.

Post by Zuu »

On Windows, IIRC music get played by DirectX - Direct Music. I don't know if that imply that you must install some version of DirectX on your computer or if everything needed is included in the OpenTTD binary. There is probably no recent lower limit of the DirectX version number to use. Maybe there is an upper one. At least when you compile OpenTTD, you need to get hold of an old DirectX version as the newer ones don't support the music play back if I remember correctly.

Sorry, I don't tend to play with music on, nor have I actually looked into the details of music playback so I'm not an expert in this area.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
Zakos
Tycoon
Tycoon
Posts: 3980
Joined: 15 Mar 2012 02:48
Contact:

Re: Music is not working, OpenMSX and alternative.

Post by Zakos »

I too have no music or sfx. I tried OpenSFX and OpenMSX and they don't seem to work, and the readme's are corrupted.

I have them in the same folder as the rest of OpenTTD, is this where they are supposed to go?
User avatar
Nite Owl
Tycoon
Tycoon
Posts: 1889
Joined: 06 Mar 2007 19:32
Location: In The Dark

Re: Music is not working, OpenMSX and alternative.

Post by Nite Owl »

C:\Users\<yourname>\Documents\OpenTTD\baseset\opensfx
C:\Users\<yourname>\Documents\OpenTTD\baseset\openmsx

This is for Windows 7. Use the equivalent for your OS.
Humor is the second most subjective thing on the planet
------------------------------------------------------------
Brevity is the soul of wit and obscenity is its downfall
--------------------------------------------------------
Good Night And Good Luck - Read You Soon
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Music is not working, OpenMSX and alternative.

Post by Zuu »

Try to open the Readme files with something more competent than notepad. Eg. wordpad is a lot better at detecting non-windows line breaks. I believe that the windows builds might have windows style line breaks in the readme files, but I'm not 100% sure.

If you still think the readme is corrupted, please tell us where you got it and upload it here.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
kamnet
Moderator
Moderator
Posts: 8705
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Music is not working, OpenMSX and alternative.

Post by kamnet »

The readme files are plain text files, Notepad should have no problem reading them. If they're corrupted, then you either downloaded from a bad mirror or you have hard drive issues.
Kiemc
Engineer
Engineer
Posts: 2
Joined: 01 Dec 2012 21:04

Re: Music is not working, OpenMSX and alternative.

Post by Kiemc »

Try the following, this helped for me.

Open your openttd.cfg file with a simple text editor (gedit, notepad). On Linux, it is in your home folder's .openttd subfolder, on Windows it's maybe in your Documents folder's OpenTTD subfolder.

Go to [music] section. There, the setting of "playing" may be set to false. Change it to true.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Semrush [Bot] and 3 guests