Problem with disabled playback devices

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Problem with disabled playback devices

Post by Rado1 »

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."
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

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.
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

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.
Post Reply