Jump to content
LaunchBox Community Forums

MAME Autohotkey script depending on platform?


mcfilmmakers

Recommended Posts

Hi,

I want to set up Launchbox so that it opens Xpadder and a specific profile based on the platform.

I know how to do this on a per game basis and on a general emulator basis.

However, MAME contains multiple platforms but the Autohotkey script applies to the ENTIRE emulator, not per platform.

How can I set the script to look at the platform being used and look for the appropriate xpadder profile that has the same name?

Link to comment
Share on other sites

If I am understanding you correctly the simplest way to setup AHK Script on a per platform basis would be to create different instances of your Mame emulator in Launchbox.

You can setup multiple instances of Mame but name them differently for each platform and they would each have their own AHK scrip tab. You won't need to setup multiple installs of Mame at all, just add a new emulator and call it whatever you want (for example Mame Sega Genesis) and point it to the same mame.exe, then you would have a fresh AHK Script tab to put in whatever script you want.

I hope this answers what you are asking, I am guessing you use the AHK script to call xpadder and a specific profile.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...