ESC exit shortcut for Simple64

Get answers to questions about using mGalaxy.
Post Reply
Thelundsgaard
Newbie
Newbie
Posts: 27
Joined: Sun Apr 24, 2016 3:40 pm

Whenever you have time, could you make a script to exit simple64 as well?  :-\
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

Sorry, I can't help with this one as I can't test it afterwards, simple64 crash on my pc.
Aeliss, if you are passing by, can you test that the ordinary way to exit works here please?

Code: Select all

Func Terminate()
   While ProcessExists ( $PID )
	  ProcessClose ( $PID )
   WEnd
   Exit 0
EndFunc
or

Code: Select all

Func Terminate()
   Send("!+{F4}",0)
   Exit 0
EndFunc
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

I have copied the script file used for 1964 (use the

Code: Select all

ProcessClose ( $PID ) 
method) and it works perfectly.
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

Thanks a lot Aeliss ????
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

And for information the fullscreen is not possible using command line, and is not memorised is you set it during a game launch, so you need to "lock" it in the emulator setting.
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

Aeliss,
One last thing if you don't mind so that I can provide a solution to Thelundsgaard:
Do you have a reference of the command line arguments allowed by simple64?

Can you confirm me that it launches with a simple:

Code: Select all

simple64-gui.exe "path\to\rom"
Thanks
Aeliss
Hero Member
Hero Member
Posts: 900
Joined: Thu Apr 04, 2013 5:55 pm

Yep, I m using an old mgalaxy version but I m using

Code: Select all

	<Emulator name="Simple64" hidden="false">
		<Systems>
			<System name="Nintendo 64" option="" script="true" cmd=""%path\%file%ext"" extensions="n64|z64|zip"/>
		</Systems>
		<Requirement>
			<b>To quit emulator using the ESC key</b>
This feature is not available in the emulator. mGalaxy will take care of it with a script.</Requirement>
	</Emulator>
   
And have selected simple64-gui.exe
Haven't found parameter for full screen.
User avatar
mgalaxy
Administrator
Administrator
Posts: 1192
Joined: Tue Dec 05, 2006 7:46 pm

@Aeliss Thanks a lot mate :)
@THELUNDSGAARD
1. Add this entry inside Emulators.xml

Code: Select all

<Emulator name="simple64" hidden="false">
	<Systems>
		<System name="Nintendo 64" option="" script="true" cmd=""%path\%file%ext"" extensions="n64|v64|z64|rom|zip|7z"/>
	</Systems>
	<Requirement><b>To quit emulator using the ESC key</b>
This feature is not available in the emulator. mGalaxy will take care of it with a script.

<b>To set the emulator to fullscreen</b>
simple64-gui.exe > Settings > Core and Video Settings > ParaLLEI Video > Check &apos;Fullscreen&apos;</Requirement>
</Emulator>
2. Add the 'simple64.au3' file (attached to this message) into mGalaxy\Data\Scripts folder!
Thelundsgaard
Newbie
Newbie
Posts: 27
Joined: Sun Apr 24, 2016 3:40 pm

Sorry for the late reply. It now exits as intended.

Thanks you, both of you. You are invaluable to the community.
Post Reply