thurmansevolution Posted December 6, 2012 Share Posted December 6, 2012 Hello! I'm having a little trouble in getting GameEx to launch a batch file (in the Advance Emulators Section) after a game exits.Can someone shed some light on what I'm doing wrong?Thanks!LClog.txtGameEx.ini Link to comment Share on other sites More sharing options...
fRequEnCy Posted December 6, 2012 Share Posted December 6, 2012 Best to export your emulator config when troubleshooting an emulator. Also where is the bat file? Is Killbutton.ahk.exe what you mean to launch? What are the details of this file? Link to comment Share on other sites More sharing options...
thurmansevolution Posted December 6, 2012 Author Share Posted December 6, 2012 Hello and thanks for the fast response! When ya say "Emulator Config" - are ya talking about the advance config located in C:\GameEx\Config?Currently, I have a batch file and 2 ahk files in one folder. One of the ahk files (killbutton) is used so I can exit the emulator and return to GameEx in the emulators in which I can't customize the escape button. The other is for the music videos (toggling full screen and exiting). The batch file is used for killing the process of the two ahk files. I noticed the other day that GameEx would run the ahk files, but it seems like its having a little trouble in closing them. This becomes a slight issue when wanting to play another game from the same emulator, or another emulator in which opens the same ahk file (a window pops up asking if I wan't to replace the scripts. It's not really a problem..it doesn't mess up GameEx or anything...but it is a little bit of an eyesore if I want to hide windows as much as I can)In the config file, here is where it's located:emu_1_cdcheckfile=emu_1_cdcheck=Falseemu_1_randommostplayed=Trueemu_1_showmostplayed=Trueemu_1_playinscreensaver=Trueemu_1_gamesin7zips=Falseemu_1_pcgame=Falseemu_1_selectionmusicfolder=emu_1_playselectionmusic=Falseemu_1_dontshowinfo=emu_1_playmusic=Falseemu_1_custombackground=emu_1_excludedfiles=emu_1_launchafter=H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\Scripts\killswitch.batemu_1_launchbefore=emu_1_oldatzip=emu_1_alsolaunch=H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\Scripts\Killbutton.ahk.exeemu_1_debug=Falseemu_1_capitals=Falseemu_1_replaceunder=Trueemu_1_replacedash=Falseemu_1_sendkeys=emu_1_waitbeforekeys=emu_1_mapkeys=Trueemu_1_controlpanelpath=H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\SuperNintendo\Controlsemu_1_mapfile=emu_1_configfile=[Mapping Off] Exit (Process Close)emu_1_info=Super Nintendo emulatoremu_1_website=http://www.zsnes.com/emu_1_requiredfiles=emu_1_downloadurl=http://www.gamesdbase.com/setupwizard/emulators/download/zsnes.7zemu_1_rating=9.0emu_1_version=1.51emu_1_emulator=ZSNESemu_1_category=Consoleemu_1_system=Nintendo SNESemu_1_baksnappath=H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\SuperNintendo\Artwork\Backgroundemu_1_videosnappath=H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\SuperNintendo\Artwork\Video_AVIemu_2_configfile=[Mapping Off] Exit (Process Close)Thanks again!! LC Link to comment Share on other sites More sharing options...
fRequEnCy Posted December 6, 2012 Share Posted December 6, 2012 Try: Start "" "H:\Users\BoxOAwesome\Documents\MAME FINALE MOVE\Scripts\killswitch.bat" Link to comment Share on other sites More sharing options...
thurmansevolution Posted December 6, 2012 Author Share Posted December 6, 2012 Thanks a million!! It worked great!! The thing that threw me off a little is that I tried something like that before, but dismissed it without running GameEx because of what it said in the "verify paths" in setup - that it didn't exist. ...Learn something new everyday lol LC Link to comment Share on other sites More sharing options...
fRequEnCy Posted December 6, 2012 Share Posted December 6, 2012 Good deal! Enjoy! Link to comment Share on other sites More sharing options...
Tempest Posted December 6, 2012 Share Posted December 6, 2012 For your AHK script you can use #SingleInstance, Force OR #SingleInstance, Ignore to keep it from asking you if you want to replace the existing script.http://www.autohotkey.com/docs/commands/_SingleInstance.htm Link to comment Share on other sites More sharing options...
thurmansevolution Posted December 10, 2012 Author Share Posted December 10, 2012 Cool!!! I'll give it a shot. Do I enter this in the beginning or end of the script...lol, kinda still a noo-b at autohotkey Link to comment Share on other sites More sharing options...
Tempest Posted December 12, 2012 Share Posted December 12, 2012 I don't think it matters, but as a general rule put it goes at the top. Link to comment Share on other sites More sharing options...
thurmansevolution Posted December 13, 2012 Author Share Posted December 13, 2012 Cool! Worked like a charm - thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts