Jump to content

Recommended Posts

Posted

Hello, 

I'm trying to set up a *.ahk to start a game for the Sega Model 2:

-------------------------------------------------------------------------------------------

Runwait E:\Sega\Model 2\Emulateur\M2emulator_1.1a\EMULATOR.exe "E:\Sega\Model 2\Emulateur\M2emulator_1.1a\Roms\doa.zip

Process, waitClose, %executable%

ExitApp

Esc:: Send, !{F4}
return

------------------------------------------------------------------------------------------

Emulator is launching but not the game.

Has someone an idea how to solve it?

 

Thanks a lot,

Posted
1 hour ago, doohan said:

Hello, 

I'm trying to set up a *.ahk to start a game for the Sega Model 2:

-------------------------------------------------------------------------------------------

Runwait E:\Sega\Model 2\Emulateur\M2emulator_1.1a\EMULATOR.exe "E:\Sega\Model 2\Emulateur\M2emulator_1.1a\Roms\doa.zip

Process, waitClose, %executable%

ExitApp

Esc:: Send, !{F4}
return

------------------------------------------------------------------------------------------

Emulator is launching but not the game.

Has someone an idea how to solve it?

 

Thanks a lot,

Try this, works perfectly for me in Hyperspin/RocketLauncher

doa.ahk

Posted

You're a chief buddy. It woks fine!

May I ask you something else as you seem to know well the ahk files?

For the N64, i use this command that works perfectly fine for Project64, but not with Simple64

-------------------------------------------------------------------------------------------------------------------------------------------

Gui +AlwaysOnTop -Caption +ToolWindow 
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,

Runwait E:\Nintendo\N64\Emulateur\Simple64 Super Mario\simple64-gui.exe "E:\Nintendo\N64\Jeux\Super Mario 64 (E) (M3) [!].z64

Sleep, 2000
Gui, Destroy

Process, waitClose, %executable%

ExitApp

Esc:: Send, !{F4}
return

--------------------------------------------------------------------------------------------------------------------------------------------

Gui Blackscreen stay above the emulator so I don't see anything (except a blackscreen😁). I can hear the game running in the emulator and escape get out of the script.

If i change "Runwait" with "Run", everything is launching fine (Gui blackscreen is destroyed) but this time, Esc doesn't get out of the script...😅

I have to manually press alt+F4 to get out of the script...

 

Any idea?

 

Thanks a lot, 

Posted
On 11/20/2025 at 7:03 PM, doohan said:

You're a chief buddy. It woks fine!

May I ask you something else as you seem to know well the ahk files?

For the N64, i use this command that works perfectly fine for Project64, but not with Simple64

-------------------------------------------------------------------------------------------------------------------------------------------

Gui +AlwaysOnTop -Caption +ToolWindow 
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,

Runwait E:\Nintendo\N64\Emulateur\Simple64 Super Mario\simple64-gui.exe "E:\Nintendo\N64\Jeux\Super Mario 64 (E) (M3) [!].z64

Sleep, 2000
Gui, Destroy

Process, waitClose, %executable%

ExitApp

Esc:: Send, !{F4}
return

--------------------------------------------------------------------------------------------------------------------------------------------

Gui Blackscreen stay above the emulator so I don't see anything (except a blackscreen😁). I can hear the game running in the emulator and escape get out of the script.

If i change "Runwait" with "Run", everything is launching fine (Gui blackscreen is destroyed) but this time, Esc doesn't get out of the script...😅

I have to manually press alt+F4 to get out of the script...

 

Any idea?

 

Thanks a lot, 

 

 

Posted

Hello, 

It works but...blackscreen is coming too late. It doesn't hide the launching of the emulator...

A little bit like no GUI to hide it:

--------------------------------------------------------------

Runwait E:\Nintendo\N64\Emulateur\Simple64 Super Mario\simple64-gui.exe "E:\Nintendo\N64\Jeux\Super Mario 64 (E) (M3) [!].z64

Process, waitClose, %executable%

ExitApp
Esc:: Send, !{F4}
return

-----------------------------------------------------------

Best regards, 

Posted
20 hours ago, doohan said:

Hello, 

It works but...blackscreen is coming too late. It doesn't hide the launching of the emulator...

A little bit like no GUI to hide it:

--------------------------------------------------------------

Runwait E:\Nintendo\N64\Emulateur\Simple64 Super Mario\simple64-gui.exe "E:\Nintendo\N64\Jeux\Super Mario 64 (E) (M3) [!].z64

Process, waitClose, %executable%

ExitApp
Esc:: Send, !{F4}
return

-----------------------------------------------------------

Best regards, 

Try this. Escapes with Esc on keyboard and also should go fullscreen. Also works fine with Hyperspin and Rocketlauncher.

Super Mario 64 (E) (M3) [!].ahk

Posted

Hello, 

What a script! 😅

Unfortunately, the GUI is not hding the launching of the emulator, it appears too late.

No matter, thanks for all the support!👍

It seems to happen in some emulators so I'll try to compile all of them and open an new content with one quote...

 

Thanks for all your help 👍

 

Posted
3 hours ago, doohan said:

Hello, 

What a script! 😅

Unfortunately, the GUI is not hding the launching of the emulator, it appears too late.

No matter, thanks for all the support!👍

It seems to happen in some emulators so I'll try to compile all of them and open an new content with one quote...

 

Thanks for all your help 👍

 

It's a timing issue on your PC to make it go fullscreen, as I found on mine.

Alt+enter of keyboard makes it go fullscreen and I added that at the end of the script.

Look at the bottom of the script for alt+enter info and see if changing the sleep helps (increase or decrease it accordingly)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...