M-HT / SR

A project to statically recompile following games to create Windows or Linux (x86 or arm) versions of the games - Albion, X-Com: UFO Defense (UFO: Enemy Unknown), X-Com: Terror from the Deep, Warcraft: Orcs & Humans, Septerra Core: Legacy of the Creator, Battle Isle 3: Shadow of the Emperor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Albion: SDL2 Windows version crashes to desktop

MIuIddy opened this issue · comments

The SDL1 version works fine, but with the new SDL2 version I get this behavior:

nativewindows/wildmidi/adlmidi:
The game freezes for one second and then exits without an error message, as soon as you can see Tom in his cabin. The crash happens before you could hear any sound, except for the intro, which works fine.

bassmidi:
You can click the text box away and move around in the cabin, but as soon as you interact with anything, the game freezes for one second and then exits without an error message. There is no sound, except for the intro.

sdl_mixer:
Seems to be working fine. No crashes and sound is working.

commented

What version of Windows are you using?

Windows 10 Education 20H2

commented

I tested SDL2 version on Windows 10 Education 20H2 and everything worked fine.
In your case, since audio works in the intro and not otherwise, it looks like some problem with sdl_mixer when using midi plugins, but I have no idea what it could be.
You can use the SDL1 version, since it works.

I did some additional testing and discovered, that the problem only occurs, when your audio output device is configured to use more than 2 speakers.

commented

I can simulate the crash now, so I'll try to fix the problem.

commented

Albion release version 1.7.1 contains a fix for this issue.