News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

Fix for sound loading even when sound is off

Started by ceeac, October 09, 2020, 03:55:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

When starting Simutrans with sound turned off (using the -nosound command line flag), sound_desc_t::get_sound_id tries to load the sound anyway. This patch fixes the bug.

prissi

It was allowed to turn on sound via the dialog panel, even if started with -nosound. (same for nomidi). That was a change 8 years ago.

Matthew

As a player, I am surprised to read that. I do not want Simutrans to load sound files when the -nosound parameter is used. When the pakset and/or savegame are so large that I am running low on RAM, it is very useful to be able to skip loading sound files.
(Signature being tested) If you enjoy playing Simutrans, then you might also enjoy watching Japan Railway Journal
Available in English and simplified Chinese
如果您喜欢玩Simutrans的话,那么说不定就想看《日本铁路之旅》(英语也有简体中文字幕)。

prissi

You can rename the sound folder ... But the sound fiels are tiny compared to the images in memory.