Jump to content
LaunchBox Community Forums

Save/Load state without Pause Menu (AHK)


DeusX81
 Share

Recommended Posts

Hi everyone,

I currently disabled Pause Menu on my Launchbox/BigBox because I'm having some issues on my system on getting it works right on several emulators.

So, I would like to know if there is a runtime script to have emulators save/load state by using an AHK script, apart from using Pause Menu features.

For example, I would like to save/load state with a simple combo using gamepad buttons, let's say, if I press Joypad Button 7+9 to save a game state and Button 7+10 to load a game state.

Thanks in advance!

Link to comment
Share on other sites

1 hour ago, DeusX81 said:

a runtime script to have emulators save/load state by using an AHK script

 

1 hour ago, DeusX81 said:

Joypad Button 7+9 to save a game state

If the 'normal' Save Game State keypress is F2

1Joy9::
   If GetkeyState("Joy7")	
   {
      Send {F2 down}
      Sleep 50
      Send {F2 up}
   }

 

1 hour ago, DeusX81 said:

Button 7+10 to load a game state.

If the 'normal' Load Game State keypress is F4

1Joy10::
   If GetkeyState("Joy7")	
   {
      Send {F4 down}
      Sleep 50
      Send {F4 up}
   }

 

On both of these you'll need to press and hold Joy7 FIRST, then the other button (Joy9 or Joy10, respectively).

Copy these into the Running [AutoHotkey] Script section of the emulator(s).

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...