doohan Posted Thursday at 07:11 AM Posted Thursday at 07:11 AM 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,
Creezz67 Posted Thursday at 09:11 AM Posted Thursday at 09:11 AM 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
doohan Posted Thursday at 07:03 PM Author Posted Thursday at 07:03 PM 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,ย
Creezz67 Posted Friday at 08:41 AM Posted Friday at 08:41 AM 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,ย ย ย
doohan Posted Friday at 11:25 AM Author Posted Friday at 11:25 AM 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,ย
Creezz67 Posted Saturday at 08:04 AM Posted Saturday at 08:04 AM 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
doohan Posted 11 hours ago Author Posted 11 hours ago 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 ย
Creezz67 Posted 7 hours ago Posted 7 hours ago 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)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now