Simutrans

Simutrans

View Stats:
Music not playing.
I have not played it in a few months but decided to try the game aging but now the music does not play any help is apprciated.
< >
Showing 1-14 of 14 comments
Huperspace 10 Apr, 2017 @ 9:36am 
if you deactivate the effect sound than no music is playing if you active both, music should play (after you click next track)
bitrunner 15 Jun, 2017 @ 2:10pm 
I have the same problem. The midi music is not playing. The button to enable the midi music (in the game sound settings) doesn't work. If I click the right triangle button in the same dialog, I see the text "1 - Invalid MIDI index".

I'm using Debian stretch (Linux) with KDE.

I tried also the beta builds of Simutrans for Steam. Music doesn't work there, either.

I activated both "Sound" and "Music" in the Simutrans Preloader.

Midi itself works on my system but not in Simutrans. I can e.g. play the Simutrans midi files using the tool "timidity".

This problem doesn't only affect the Steam version of Simutrans. The music doesn't work either when using one of the following builds of Simutrans:
- The simutrans package from the Debian standard package repository.
- simulinux-120-2-2.zip from sourceforge.
Last edited by bitrunner; 15 Jun, 2017 @ 2:39pm
Roboron  [developer] 27 Aug, 2020 @ 11:29am 
bitrunner 6 Oct, 2020 @ 5:28am 
Originally posted by Roboron:
See a working solution here https://forum.simutrans.com/index.php/topic,20258.new.html

Thanks, for the hints. After installing fluidsynth, the music works in the Simutrans build from the Debian repository. Unfortunately, the music in the Steam version of Simutrans still doesn't work.

I assume the Steam build was compiled with different compilation options as the Debian build. Could the developers (who are responsible for the Steam build) compile Simutrans with the same settings as the Debian build? Maybe, this would fix the music issues on Linux.

PS: Setting SDL_SOUNDFONTS (on my system: SDL_SOUNDFONTS=/usr/share/sounds/sf2/FluidR3_GM.sf2) didn't help with the Steam build. Setting SDL_SOUNDFONTS wasn't required for the Debian build.

PPS: Since my post from 2017 I updated from Debian stretch to Debian buster. This could also have had an effect (not only installing fluidsynth).

PPPS: The music also works in the build from the following repository (in contrast to the Debian build, this build also contains Pak128): https://simutrans-germany.com/wiki/wiki/en_Simutrans_repo_deb
Last edited by bitrunner; 6 Oct, 2020 @ 6:18am
Roboron  [developer] 7 Oct, 2020 @ 2:38am 
Originally posted by bitrunner:
I assume the Steam build was compiled with different compilation options as the Debian build

It's very probable that the Steam version is using a SDL2 build, but you can only get music with a SDL_mixer build. I'm aware of this limitation and I have been trying to implement fluidsynth music backend into Simutrans (so we can have music with SDL2 - or any other graphic backend). It's already functional, but some usability work is still pending https://forum.simutrans.com/index.php/topic,20263.msg190586.html#msg190586

Back to the actual problem here: unfortunately, the Steam maintainer seems to be missing. I have tried to contact him in the past (vía Steam and the forums) with no success. I now got his email address and just sent him an email.

Hello, HaydenRead.

I'm Roboron, a member of the Simutrans Community. I'm concerned about the state of Simutrans on Steam. It has not been updated for a while, and a major version was released long ago, with very useful accesibility features for users.

I think you are the only maintainer now of Simutrans on Steam. I'm not here to judge why you didn't update the game, but to provide you with my help, if you want.

Since you have not been able to take care of the maintenance of the game during this period, I would like to become part of the Simutrans team on Steam to personally help you with the task.

Regards, Roboron.

Let's wait a bit more, and if there is no response... Well, I don't know what to do. I may discuss it with the rest of the Simutrans Community to see if we can find any solution.
Last edited by Roboron; 7 Oct, 2020 @ 2:39am
Roboron  [developer] 9 Oct, 2020 @ 11:18pm 
I have good news and bad news.

Good news are: I'm now in control of Steam builds, and I have compiled Simutrans against SDL2_mixer.

Bad news are: That was supposed to fix the music, but it didn't :-( I am not sure why, but it may be because I compiled Simutrans on Debian Buster, which linked the game against an ancient version of fluidsynth...

Hopefully, the next Simutrans release will probably have a proper fluidsynth backend, and this problem will be gone...
Huperspace 9 Oct, 2020 @ 11:49pm 
win10:
* all sounds not playing if one (Effect-Sounds OR Music) is deselect.
* losing Sound device and switching it on again crashes the game (BT Sound devices).
Roboron  [developer] 10 Oct, 2020 @ 3:08am 
Originally posted by Huperspace:
win10:
* all sounds not playing if one (Effect-Sounds OR Music) is deselect.
* losing Sound device and switching it on again crashes the game (BT Sound devices).

Sorry, I can't reproduce any of the issues.

1 - Sounds works as intended:
1.1. - If I deselect sound on the preloader, no sound will be played, and you won't be able to switch sound on in the game.
1.2. - If I select sound on the preloader, sounds will be played IF it is ALSO switched on in the game, it doesn't matter if the music is on or off.

Maybe you have been confused by the fact that there are two sound options (one on the preloader, and another one inside the game).

2 - Game doesn't crash when the sound device changes. I don't have a BT device to test, but I have tried connecting and disconnecting my speakers and the game didn't crash...

If you could provide more details on the problem, I may have another look.
Huperspace 10 Oct, 2020 @ 3:24am 
Originally posted by Roboron:
Sorry, I can't reproduce any of the issues.
..using preloader...
Game doesn't crash when the sound device changes.tried connecting and disconnecting my speakers and the game didn't crash...
If you could provide more details on the problem, I may have another look.
not via simutrans steam only preloader but ingame. (there are option for musik and soundeffects as well as volume regulation)
disconnection speaker (via audio jacks) does nothing. removing a BT device is like removing or deactivating of the audio device in the device manager.
Last edited by Huperspace; 10 Oct, 2020 @ 3:29am
Huperspace 10 Oct, 2020 @ 3:42am 
ok sound effect are working with music off but are very silent and not everytime triggered (some areas are without and some are low only a few are loud).
music slider at 1 is louder that sound effects at 10.
Last edited by Huperspace; 10 Oct, 2020 @ 3:43am
Roboron  [developer] 10 Oct, 2020 @ 4:36am 
Originally posted by Huperspace:
ok sound effect are working with music off but are very silent and not everytime triggered (some areas are without and some are low only a few are loud).

I think I've identified the problem. Sound effect volume is linked to music volume. If you increase music volume, you will hear sound effects louder (but at the same time, the louder music will make more difficult to hear it...). This is indeed a bug, which is also solved with the in development fluidsynth backend (so, will probably be solved in the next release).

About the crash, I'm sorry I can not help more :/
bitrunner 12 Oct, 2020 @ 9:56am 
Originally posted by Roboron:
I have good news and bad news.

Good news are: I'm now in control of Steam builds, and I have compiled Simutrans against SDL2_mixer.

Bad news are: That was supposed to fix the music, but it didn't :-( I am not sure why, but it may be because I compiled Simutrans on Debian Buster, which linked the game against an ancient version of fluidsynth...

Hopefully, the next Simutrans release will probably have a proper fluidsynth backend, and this problem will be gone...

Thank you, Roboron. Music works fine now on my system (Debian buster).
Roboron  [developer] 12 Oct, 2020 @ 11:32am 
Originally posted by bitrunner:
Originally posted by Roboron:
I have good news and bad news.

Good news are: I'm now in control of Steam builds, and I have compiled Simutrans against SDL2_mixer.

Bad news are: That was supposed to fix the music, but it didn't :-( I am not sure why, but it may be because I compiled Simutrans on Debian Buster, which linked the game against an ancient version of fluidsynth...

Hopefully, the next Simutrans release will probably have a proper fluidsynth backend, and this problem will be gone...

Thank you, Roboron. Music works fine now on my system (Debian buster).

Fantastic, I am happy it is now working for you. I may be the only one who does not hear the music now, as ironic as it sounds XD
Last edited by Roboron; 12 Oct, 2020 @ 11:33am
Roboron  [developer] 5 Jan, 2022 @ 3:39pm 
With Simutrans 123 and the new music backend, music should be working now out of the box in all cases. You will need Ubuntu 20.04 or greater.

Moved to solved bugs.
< >
Showing 1-14 of 14 comments
Per page: 1530 50