Opened 4 years ago

Last modified 21 months ago

#11715 new defect

AUDIO: Games crash on launch with FluidSynth and no soundfont

Reported by: antoniou79 Owned by:
Priority: normal Component: Audio
Version: Keywords: soundfont, FluidSynth, crash, Loom, Beneath a Steel Sky
Cc: Game:

Description (last modified by antoniou79)

Before commit:
https://github.com/scummvm/scummvm/commit/858954eec1fa7ebbcea5227ee6dbb24672eec453

games would just exit without a warning if FluidSynth was set as Audio device (Audio Tab) but no soundfont was specified in the Midi tab.

We now have a warning:"FluidSynth requires a 'soundfont' setting. Please specify it in ScummVM GUI on MIDI tab. Music is off"

However at least in the case of SKY engine (Beneath a Steel Sky), that I tested, after the warning is displayed the game shows the debugger console with the error:

ERROR: Can't open midi device. Errorcode: 3!

Exiting the debugger (with "exit" command) exits the game (and ScummVM).

Update (12 Feb 2023):

  • The issue still persists on ScummVM 2.8git (latest build from master, on Windows 10)
  • On the SCUMM engine, at least on LOOM EGA that I've tested, we get a similar crash, after the warning prompt, but the text for the error is different. In the case of LOOM it is: ERROR: IMuse initialization - Device not available

Change History (2)

comment:1 by antoniou79, 21 months ago

Component: Engine: Sky--Unset--
Description: modified (diff)
Game: Beneath a Steel Sky
Keywords: Loom Beneath a Steel Sky added
Summary: SKY: Game crashes on launch when FluidSynth and no soundfontAUDIO: Games crash on launch with FluidSynth and no soundfont

Updated the ticket information and title to include that the crash indeed happens to engines other than SKY as well. This time I've tested with LOOM EGA (English) and ScummVM 2.6git, and got a crash with "ERROR: IMuse initialization - Device not available".

The warning about the missing soundfont and "Music is off" is still displayed.

Last edited 21 months ago by antoniou79 (previous) (diff)

comment:2 by digitall, 21 months ago

Component: --Unset--Audio
Note: See TracTickets for help on using tickets.