Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Whenever my cab comes out of sleep mode, gamex crashes. I submitted the crash logs to the developer via email.

If there is some way I can turn off the crash screen that pops up I can just make a batch file to restart gamex after it crashes and I will at least have a functioning sleep mode.

Is there any way to do this?

Posted

Well, I really don't recommend doing this because you won't see ANY errors in GameEx and you could end up with an infinite loop. However, it would be pretty easy to run an AHK script that sits in the background and waits for a window with a title matching the GameEx error dialog. It could then run closewin on the dialog and then relaunch GameEx.

If you need help with this script, let me know and I (or someone else who beats me to it) can help.

Posted
Well, I really don't recommend doing this because you won't see ANY errors in GameEx and you could end up with an infinite loop. However, it would be pretty easy to run an AHK script that sits in the background and waits for a window with a title matching the GameEx error dialog. It could then run closewin on the dialog and then relaunch GameEx.

If you need help with this script, let me know and I (or someone else who beats me to it) can help.

BKenobi, thanks I didn't know about AHK! Shouldn't be a problem my full time gig is software development. I will post the script if I have any success.

Posted

In case anyone else needs this. Note the 4 second pause is because gamex crashes while entering sleep mode and we want it to restart after sleep mode is over. I couldn't find any way in autohotkey to detect exiting sleep mode. You will want to clear all your desktop icons and set a plain wallpaper as you will be looking at your desktop a couple seconds before it restarts. However I found when I set the toolbar to autohide in vista, starting gamex from the start menu seems to start it up minimized. Another script for another day I guess.

The 10 second pause after is so if you get a repeating error on startup you don't get the gamex error box wildly popping up over and over.

loop

{

IfWinExist GameEx Error

{

WinActivate

}

else

{

WinWait GameEx Error

WinActivate

}

WinClose

SoundBeep

sleep, 4000

runwait "C:\Program Files\GameEx\GameEx.exe"

sleep, 10000

}

Guest
This topic is now closed to further replies.
×
×
  • Create New...