Jump to content
(Public Beta) HyperSpin 2 is now available for everyone ×

Problem exiting epsxe emulator pressing ESC


bartmarley

Recommended Posts

Posted

Hi, i am able to load psx roms via HS, but the problem occurs when i press ESC t oquit the game and returning to HS : it does nuthin pressing ESC! I have to alt+f4 but with this manipulation even if i return correctly to HS i still hear the epsxe emulator game running, i have to kill process manually so here are my epsxe configs where is the problem plizz? :

[exe info]
path=F:\HYPERSPIN\Emulators\PSX\epsxe170\
rompath=K:\Games\PSX\ROMS\
userompath=
exe=ePSXe.exe
romextension=bin,cue,iso,ccd,img
parameters=
searchsubfolders=
pcgame=false
winstate=HIDDEN
hyperlaunch=true

;----------------------------------------------------------------------------
; Sony Playstation
; ePSXe v1.7.0
; by Shateredsoul/Brolly/djvj
; 1.1
;
; epsxe can't deal with bin/cue dumps with more than one audio track if you load the cue file directly.
; For these to work you must mount the cue on daemon tools and let epsxe boot the game from there.
;
; Extract all your BIOS files to the bios subfolder. Then goto Config->Bios and select the bios you wish to use.
;
; Go to Config->Video then choose a plugin. Pete's OpenGL line is preffered
; Click Configure (under video plugin) and choose fullscreen and set your desired resolution. Video options/results will vary based on the plugin you choose.
;
; If you are using images with multiple tracks, set your extension to cue (make sure all your cues are correctly pointing to their tracks).
; Go to Config->Cdrom->Configure button and select the drive letter associated with your daemon tools virtual drive.
;----------------------------------------------------------------------------

If ( romExtension = ".cue" )
{
RunWait, %daemonToolsPath% -mount 0`, "%romPath%%romName%%romExtension%"
Run, %executable% -nogui, %emuPath%
}
Else
Run, %executable% -nogui -loadiso "%romPath%%romName%%romExtension%", %emuPath%

Process, WaitClose, %executable%

If ( romExtension = ".cue" )
RunWait, %daemonToolsPath% -unmount 0

ExitApp

CloseProcess:
return

  • 1 month later...
Posted

Have you made sure that you properly set up Hyperlaunch 2.0? Check the instructions for install again and see if you missed the step where you setup the exit_emulator_key.

<em class='bbc'>"But does one ever truly have a choice? One can only match, move by move, the machinations of Fate, and thus defy the tyrannous stars."</em>

Posted

That's not the 1.1 module you get from HyperList, it is missing the winclose line:

http://hyperlist.hyperspin-fe.com/?module=browseahk&system=135

I just posted about a similar thing here:

http://www.hyperspin-fe.com/forum/showthread.php?t=15453

I will do some updates and put out a v1.2 soon if it there is any problem with the winclose line on there now.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Was playing around with this, no matter what method I try, epsxe always remains running in my process list, using about 25% cpu and just never closes. Even pressing alt+f4 manually. I'm trying not to use process, close, but it seems inevitable right now. I'll fiddle more tonight, but I still prefer pcsxr as it's updated daily.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

No problems for me exiting this emulator. No sign of it running in the process list either.

Posted

QRS, do you use Esc as your exit key? After some more testing it seems Escape has to be used to close epsxe. Anything else and the process continues to run, you can hear it, but can't see anything. I've tried winclose and alt+f4, nothing else works except Esc. This is quite buggy and I think the only emu that acts this way. This is a big issue for anyone who uses anything but Escape as their exit key. Even putting Send, {Esc} in the CloseProcess did not work. The emulator only sees it if I press the physical button.

Reading random forums, the correct way to close epsxe is to press Escape. I tried not sending the -nogui parameter so Escape will go back to the menu, then I can do File-Exit really quickly, but it still requires epsxe to acknowledge an esc press via ahk, which it doesn't...

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

ok figured it out, I had to slow down the whole process. I'll have an update up shortly.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Module updated. I'm 90% sure this should work for everyone, no matter what you have your exit key as:

http://hyperlist.hyperspin-fe.com/index.php?module=browseahk&system=135

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted
Yes, I'm using Escape as my exit key.

Ok, but did you test the new module?

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Well here's the thing, Escape works exiting the emulator from fullscreen outside HS. Have you verified this is the case on your end? I have the CloseProcess set to send Escape instead of your exit key.

You can also try setting a different exit key, and test that.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

I was having similar issues with the launcher.ahk ver 2.0.

I reused the code in the nes module by rain and made this playstation module.

changes in red

RunWait, %executable% [color="Red"]-nogui -loadbin[/color] "%romPath%%romName%%romExtension%", %emuPath%, Hide
ExitApp

CloseProcess:
[color="Red"]Process Close, %executable%[/color]
return

result... emulator closes instantly with esc

Posted

The only drawback i found...

When an emulator sets a new resolution the previous resolution doesn't get restored upon exit of the emulator.

The only things affected are OS & hyperspin's resolution upon exiting the emulator. only if their resolution is not the same as the emulator you are running last :deal:

I'm using this on a crt and run everything at 640x480 so it works great for my setup.

Posted

Process, close is a last resort, do not use it as it does not allow the emu to save anything.

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Did you try my latest epsxe module satur09?

http://hyperlist.hyperspin-fe.com/?module=browseahk&system=135

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Yes. Currently loads epsxe1.7.0 fine. When I press esc key the emulator doesn't close, screen fades to black in an infinite loop, mouse cant select/click and must ctrl+alt+del to reboot

Posted

You can turn off the exit screen, just set that variable to false. You should turn off the loadingscreen too until everything works correctly. When things don't work, always turn those screens off, otherwise they will drive you nuts troubleshooting.

You don't have to reboot either, just end the hyperlaunch.exe process running in task manager.

If you physically press ESC on your keyboard, outside of HS while running epsxe, does it still not close?

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

disabled loadingscreen

disabled exitscreen

now esc has no effect

by default pressing esc in epsxe does close to epsxe gui

pressing esc in cmd epsxe with -nogui command does close to windows

Posted

So it works fine outside HS, but not in HS?

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted

Open your Task Manager, launch epsxe through HS, press Esc on your keyboard, look in Task Manager. Is epsxe.exe still running?

If yes, set your HS exit key to something other then Esc, any other key will work. and Try the above again. Is epsxe.exe still running in task manager?

"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."

RocketLauncher's Official Home

If you appreciate my work:
donate_button.png

My Apps:
Window Logger
Idle Volume Adjuster
ExplorerRestorer
Rom Folder Cleaner
Module Updater
My Guides:
How To Mod Guncons with Aimtrak

Posted
Open your Task Manager, launch epsxe through HS, press Esc on your keyboard, look in Task Manager. Is epsxe.exe still running?

Yes it is still running.

If yes, set your HS exit key to something other then Esc, any other key will work. and Try the above again. Is epsxe.exe still running in task manager?

Yes it is still running no matter what key I set, it still has no effect.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...