martijnsx Posted January 7, 2017 Author Share Posted January 7, 2017 Link to comment Share on other sites More sharing options...
martijnsx Posted January 7, 2017 Author Share Posted January 7, 2017 Seems like to happen on rare moments with normal games and always when you start a game which rom does not load (bad rom or missing rom files). Without the suspend mode the emu exits within a few seconds and returns to the hyperspin menu but with the suspend mode the exit to hyperspin is not working as it should. Link to comment Share on other sites More sharing options...
Martin0037 Posted January 7, 2017 Share Posted January 7, 2017 Make sure your exit key is not the same as the exit key your emulator uses. For,example - I had hyperspin freeze on me every time I exited a game. The reason was the ESC key is the exit key in mame, and I had hyper HQ and rocketlauncher UI also using the ESC Key to exit. This caused the crash. I changed the exit emulator key in rocketlauncher UI and the hyperspin key in hyper HQ to a key I don't use (which was BACKSPACE key). Works fine now. Link to comment Share on other sites More sharing options...
Bubs Posted January 7, 2017 Share Posted January 7, 2017 The issue is related to the fact that it's RL who is responsible of unsuspending HL, and RL need to go thru the exit sequence triggered by RL .... when the emu crash, it look likes RL do not do the exit sequence ... I do not know if it is an RL issue (make RL detect the emulator stop and fully execute all the steps) or an emulator issue in a sense that you should make sure no emulator exit in a unattended way? (Which is what I do on my side, but probably not sustainable long term?) have you discussed this on RL forums? Link to comment Share on other sites More sharing options...
martijnsx Posted January 7, 2017 Author Share Posted January 7, 2017 I will try the tip from Martin. If this will not work then i could post something on the RL forum. Do you have the same problems Bubs? Link to comment Share on other sites More sharing options...
Bubs Posted January 7, 2017 Share Posted January 7, 2017 I do not have the problem per say as my roms are not supposed to crash... but I can easily reproduce the behavior ... if it become an issue I would probably try to see how I can tweak RL modules to make sure the unsuspend function is called when emulator quit (i'm not yet familiar with it) Link to comment Share on other sites More sharing options...
martijnsx Posted January 7, 2017 Author Share Posted January 7, 2017 I tried setting up another exit key for hyperspinHQ. No succes. My general exit key is C so it was not conflicting with mame. Exiting games fails 1 out of 20 times with games/roms that are working. I think i post a message on the RL forum. Link to comment Share on other sites More sharing options...
martijnsx Posted January 7, 2017 Author Share Posted January 7, 2017 Made a post on the RocketLauncher forum: http://www.rlauncher.com/forum/showthread.php?4142-Bug-in-rocketlauncher-or-hyperspin&p=32733#post32733 Link to comment Share on other sites More sharing options...
Metalzoic Posted January 7, 2017 Share Posted January 7, 2017 3 hours ago, martijnsx said: I tried setting up another exit key for hyperspinHQ. No succes. My general exit key is C so it was not conflicting with mame. Exiting games fails 1 out of 20 times with games/roms that are working. I think i post a message on the RL forum. Your exit key is C? I have my HyperSpin exit key set to ESC. Same as it is for MAME and all my other emulators. no issues. Maybe your problem is that you changed it? Link to comment Share on other sites More sharing options...
martijnsx Posted January 8, 2017 Author Share Posted January 8, 2017 Thanks Metalzoic, i am gonna try that. Do you also use the suspend frontend option? Link to comment Share on other sites More sharing options...
Bubs Posted January 8, 2017 Share Posted January 8, 2017 I tried to understand a bit what happen in RL when the "User ask for a normal exit" (HS is not suspended), vs "Emulator exit by itself" (HS remain suspended) : According to RL Logs, that happen in the modules, and there's indeed two differents behaviors: Normal close: 00:08:17:886 | MD | INFO | +0 | Process.Run - Running: H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\retroarch.exe "H:\HS-HYPERSPIN\Release\v1.0\Roms\Sega Genesis\3 Ninjas Kick Back (USA).zip" -f -c "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\retroarch.cfg" -L "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\cores\genesis_plus_gx_libretro.dll" -s "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\srm\Sega Genesis\3 Ninjas Kick Back (USA).srm" -S "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\save\Sega Genesis\3 Ninjas Kick Back (USA).state" 00:08:17:928 | MD | INFO | +47 | Window.Wait - Waiting for window "RetroArch ahk_class RetroArch" 00:08:18:400 | MD | INFO | +468 | Window.WaitActive - Waiting for "RetroArch ahk_class RetroArch" 00:08:18:916 | MD | INFO | +516 | Process.Process - "WaitClose" "retroarch.exe" 00:08:27:161 | MD | INFO | +8250 | CloseProcess - Started, user requested to end launched application 00:08:27:466 | MD | INFO | +312 | CloseProcess - Ended 00:08:27:583 | MD | INFO | +110 | ExitModule - Started 00:08:27:583 | MD | INFO | +0 | UpdateStatistics - Starting Updating Statistics 00:08:27:714 | MD | INFO | +125 | UpdateStatistics - Game section statistics updated. 00:08:27:738 | MD | INFO | +31 | ExitModule - Ended Unattended Close: 00:06:20:603 | MD | INFO | +0 | Process.Run - Running: H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\retroarch.exe "H:\HS-HYPERSPIN\Release\v1.0\Roms\Sega Genesis\3 Ninjas Kick Back (USA).zip" -f -c "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\retroarch.cfg" -L "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\cores\genesis_plus_gx_libretro.dll" -s "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\srm\Sega Genesis\3 Ninjas Kick Back (USA).srm" -S "H:\HS-HYPERSPIN\Release\v1.0\Emulators\RetroArch\RetroArch_1.3.6\save\Sega Genesis\3 Ninjas Kick Back (USA).state" 00:06:20:638 | MD | INFO | +47 | Window.Wait - Waiting for window "RetroArch ahk_class RetroArch" 00:06:21:160 | MD | INFO | +516 | Window.WaitActive - Waiting for "RetroArch ahk_class RetroArch" 00:06:21:693 | MD | INFO | +531 | Process.Process - "WaitClose" "retroarch.exe" 00:06:27:954 | MD | INFO | +6266 | ExitModule - Started 00:06:27:954 | MD | INFO | +0 | UpdateStatistics - Starting Updating Statistics 00:06:28:087 | MD | INFO | +125 | UpdateStatistics - Game section statistics updated. 00:06:28:090 | MD | INFO | +0 | ExitModule - Ended See lines in Red, I'm pretty sure the Unsuspend happen somewhere at that time but it is not done in the unattened exit. I'm not an expert in RL, but I'm pretty sure it can be solved (either by tweaking the modules), or by opening a bug on RL ? Link to comment Share on other sites More sharing options...
Martin0037 Posted January 8, 2017 Share Posted January 8, 2017 That's weird metalzoic as I had to change my exit key. It was same ESC as default in name. Everytime I exited a game it froze. I had to change to exit emulator key and hyperspin key in hyper hq to the same key (other than ESC) for it to work. Tried everything. Only that would stop it freezing. Link to comment Share on other sites More sharing options...
martijnsx Posted January 8, 2017 Author Share Posted January 8, 2017 Well i changed the exit (emulator) key in hyperspinHQ and rocketlauncherUI to ESC. Now i am able to crash/freeze hyperspin every time when using the C button. The C button is in mame linked to UI CANCEL. Do not know if that is the mame exit function. Maybe this is the problem (like martin said). I thought i changed the exit key before and still had a crash. So i think i need to test more. Last test there were no crashes. Link to comment Share on other sites More sharing options...
Bubs Posted January 8, 2017 Share Posted January 8, 2017 Brolly from RL confirmed it's a bug, see : http://www.rlauncher.com/forum/showthread.php?4264-Bug-FrontEnd-remain-suspended-when-emulator-exit-on-its-own&goto=newpost hopefully it will be resolved :-) Link to comment Share on other sites More sharing options...
martijnsx Posted January 8, 2017 Author Share Posted January 8, 2017 Thanks for your help Bubs. A rom not loading correctly always causes a crash with suspend so indeed it looks like a bug. Hope it can and will be solved soon. Link to comment Share on other sites More sharing options...
Bubs Posted January 8, 2017 Share Posted January 8, 2017 A "workaround" was shared on RL forums, bascially: You have to change a script in the RL folder ( \Lib\Fade.ahk) Option 1: You are using the FadeOut: Change: this FadeOutExit(){ Gosub, FadeOutExit } to : FadeOutExit(){ Gosub, ShowFE Gosub, FadeOutExit } Option 2: You are not using the Fadeout: First, activate the fadeout in RL UI, and in previous file, Change this: FadeOutStart(){ Gosub, FadeOutStart Gosub, ShowFE } FadeOutExit(){ Gosub, FadeOutExit } to: FadeOutStart(){ Gosub, ShowFE } FadeOutExit(){ Gosub, ShowFE } Let us know if it works Link to comment Share on other sites More sharing options...
Metalzoic Posted January 9, 2017 Share Posted January 9, 2017 19 hours ago, martijnsx said: Thanks Metalzoic, i am gonna try that. Do you also use the suspend frontend option? No. turning that option on caused issues so i leave it false. Link to comment Share on other sites More sharing options...
martijnsx Posted January 9, 2017 Author Share Posted January 9, 2017 Hi bubs, I am trying to understand the discussion on the RL forum but do not follow it completely. Does the workaround work? Do you know if it will be fixed by the RL crew with an update? I do not need the fade out animation. Is there a way to use fade out without the animation/graphics? Only use it as a workaround for the suspend bug. Link to comment Share on other sites More sharing options...
Bubs Posted January 9, 2017 Share Posted January 9, 2017 martinjnx, the workaround you're asking is the Option 2 I shared previously, this is what i'm using right know, and it's working. Link to comment Share on other sites More sharing options...
martijnsx Posted January 9, 2017 Author Share Posted January 9, 2017 So you must use the fade out animations? Or can you use a blank animation so that it is not noticable? Link to comment Share on other sites More sharing options...
Bubs Posted January 9, 2017 Share Posted January 9, 2017 The code in Option 2 disable the animation of the Fade Out. You still have to activate the Fade out in RL settings. Link to comment Share on other sites More sharing options...
martijnsx Posted January 9, 2017 Author Share Posted January 9, 2017 Ok thanks! It was not clear that the animation was disabled. Link to comment Share on other sites More sharing options...
martijnsx Posted January 10, 2017 Author Share Posted January 10, 2017 Looks like it is working!! Very nice!! A stable Hyperspin! Link to comment Share on other sites More sharing options...
martijnsx Posted January 21, 2017 Author Share Posted January 21, 2017 Hi Bubs On 9-1-2017 at 0:29 AM, Bubs said: A "workaround" was shared on RL forums, bascially: You have to change a script in the RL folder ( \Lib\Fade.ahk) Option 1: You are using the FadeOut: Change: this FadeOutExit(){ Gosub, FadeOutExit } to : FadeOutExit(){ Gosub, ShowFE Gosub, FadeOutExit } Option 2: You are not using the Fadeout: First, activate the fadeout in RL UI, and in previous file, Change this: FadeOutStart(){ Gosub, FadeOutStart Gosub, ShowFE } FadeOutExit(){ Gosub, FadeOutExit } to: FadeOutStart(){ Gosub, ShowFE } FadeOutExit(){ Gosub, ShowFE } Let us know if it works Hi Bubs, Today (and last week) there were updates of Rocketlauncher. The fade.ahk has changed and this workaround does not seem to work anymore. Any suggestions? Apperently they did not include this bugfix in the RL update as requested on the RL forum. Hyperspin/Rockelauncher overall seems to be buggy after the update (without the above posted manual change). Thanks. Link to comment Share on other sites More sharing options...
Bubs Posted January 21, 2017 Share Posted January 21, 2017 Hi, I didn't tried the update yet, but according to RL forum, it was supposed to be solved: http://www.rlauncher.com/forum/showthread.php?4264-Bug-FrontEnd-remain-suspended-when-emulator-exit-on-its-own&p=33788#post33788 Can you try to post there? Thanks Bubs Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.