Author Topic: ESC exit shortcut for Simple64  (Read 1417 times)

Thelundsgaard

  • Newbie
  • *
  • Posts: 25
    • Email
Re: ESC exit shortcut for Simple64
« Reply #9 on: June 20, 2023, 04:44:23 AM »
Sorry for the late reply. It now exits as intended.

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

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: ESC exit shortcut for Simple64
« Reply #8 on: May 04, 2023, 01:07:09 PM »
@Aeliss Thanks a lot mate :)
@THELUNDSGAARD
1. Add this entry inside Emulators.xml
Code: [Select]
<Emulator name="simple64" hidden="false">
<Systems>
<System name="Nintendo 64" option="" script="true" cmd="&quot;%path\%file%ext&quot;" 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 &gt; Settings &gt; Core and Video Settings &gt; ParaLLEI Video &gt; Check &apos;Fullscreen&apos;</Requirement>
</Emulator>

2. Add the 'simple64.au3' file (attached to this message) into mGalaxy\Data\Scripts folder!

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: ESC exit shortcut for Simple64
« Reply #7 on: May 04, 2023, 10:45:26 AM »
Yep, I m using an old mgalaxy version but I m using

Code: [Select]
<Emulator name="Simple64" hidden="false">
<Systems>
<System name="Nintendo 64" option="" script="true" cmd="&quot;%path\%file%ext&quot;" 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.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: ESC exit shortcut for Simple64
« Reply #6 on: May 03, 2023, 11:50:48 AM »
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]
simple64-gui.exe "path\to\rom"
Thanks

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: ESC exit shortcut for Simple64
« Reply #5 on: May 01, 2023, 04:43:46 AM »
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.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: ESC exit shortcut for Simple64
« Reply #4 on: April 30, 2023, 10:22:07 AM »
Thanks a lot Aeliss 😉

Aeliss

  • Hero Member
  • *****
  • Posts: 900
Re: ESC exit shortcut for Simple64
« Reply #3 on: April 30, 2023, 10:06:21 AM »
I have copied the script file used for 1964 (use the
Code: [Select]
ProcessClose ( $PID ) method) and it works perfectly.

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1165
    • Email
Re: ESC exit shortcut for Simple64
« Reply #2 on: April 29, 2023, 07:43:45 AM »
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]
Func Terminate()
   While ProcessExists ( $PID )
  ProcessClose ( $PID )
   WEnd
   Exit 0
EndFunc

or

Code: [Select]
Func Terminate()
   Send("!+{F4}",0)
   Exit 0
EndFunc

Thelundsgaard

  • Newbie
  • *
  • Posts: 25
    • Email
ESC exit shortcut for Simple64
« Reply #1 on: April 28, 2023, 05:57:35 PM »
Whenever you have time, could you make a script to exit simple64 as well?  :-\