News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Steam Windows build: default.sf3 SoundFont cannot be loaded

Started by victor_18993, October 05, 2026, 07:08:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

victor_18993

While investigating the music problem reported on the Steam Windows build, I found that the issue is in the Steam packaging rather than in the Simutrans music code itself.

The mixed "/" and "\" path separators shown in the SoundFont path are harmless and are not the cause.

The actual problem is that the Steam Windows workflows were building FluidSynth without its optional libsndfile support. Because of that, FluidSynth can load normal SF2 files such as PCLite.sf2, but it cannot load the supplied default.sf3 SoundFont (SoundFont 3.x).

This was reproduced independently on both Windows x64 and x86.

The build fix is very small: the Windows Steam workflows now install:

    fluidsynth[sndfile]

instead of:

    fluidsynth

I have tested the resulting packages with both default.sf3 and PCLite.sf2. Both load correctly on x64 and x86, music plays normally, switching SoundFonts and restarting works, and sound effects are unchanged.

The fix has already been committed to the Steam build repository:

    simutrans/simutrans-steam-builds
    commit 02ac9d19e4f4d1d0e51c2bb7f7058b2e4b3ecd69

All build workflows completed successfully.

This does not require any change to Simutrans SVN/trunk itself: the defect was only in the Steam Windows build configuration.

The corrected GitHub build artifacts are available, but I have not manually deployed anything to Steam. Steam publication is still handled separately by the existing deployment process/access.

So, in short:

- PCLite.sf2: already worked
- default.sf3: failed on Steam Windows
- cause: FluidSynth built without SF3 support
- fix: enable the sndfile feature in the Windows Steam packages
- Simutrans source code: unchanged
En la vida todo son vivencias y cada una de ellas nos hace mas grandes,¿Como de grande eres tu? :)

prissi

Thanks, maybe release the 125.0.1 with this then ...