Page 1 of 1
Problem with disabled playback devices
Posted: Tue Dec 09, 2014 10:15 pm
If all sound playback devices on Windows are disabled, ZGE process starts, and immediately terminates, with exception "Exception EZHalted in module ZGameEditor.exe at ..... dsound failed."
Posted: Wed Dec 10, 2014 8:45 am
There is the option to start a ZGE program with sound disabled: "-s". So from a cmd-line, use "mygame.exe -s".
I guess it would be better to start with sound disabled automatically if no sound devices are present instead of an error message, but it seems to be quite a rare occasion so I'm not sure I will make any changes.
Posted: Wed Dec 10, 2014 9:08 am
VilleK wrote:There is the option to start a ZGE program with sound disabled: "-s". So from a cmd-line, use "mygame.exe -s".
Ville, you are talking about the compiled exe file, I meant ZGE itself. Tried "ZGameEditor.exe -s" but did not help. I would expect to catch this exception in ZGE and put a warning to the log panel after opening. But truly, this is just a marginal case and its fixing has lower priority.