A fix for missing audio and frozen cutscenes.
Fixed
- No sound and frozen cutscenes after the first launch on some systems
(#1). The game's audio needs a Windows
component (COM) that the port relied on something else to set up. On the first launch the
installer did, so sound worked; on later launches, on systems where nothing else did, audio
failed to start (XAudio2 initialisation failed (800401F0)in the log). Cutscenes are timed by
their sound, so they froze too, e.g. the opening "A long time ago..." of the first mission. The
port now sets COM up itself before starting audio. - If audio cannot start at all (no audio device, a broken driver), the game now plays on
silently: sounds and movies keep time instead of freezing, and the log says
the game runs without sound. Before, a half-started audio engine made every sound fail. - A paused sound given a new play position no longer starts playing, as on the Xbox; a sound
without a voice no longer risks a crash there.
Added
- For contributors:
SWROTS_NO_AUDIO=1runs the game as without an audio device, to test the
silent path (contributing).
All releases: changelog