Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

So I added some MUGEN games to my arcade cabinet, the problem is the control panel uses an IPAC, which maps one of the buttons to the Spacebar, which can't be used as a regular input inside MUGEN. I've already spent a ton of time configuring all my other emus and games to the default controls so don't want to change them. I'm think my best bet would be to use AHK to remap the spacebar to some other key when I run these MUGEN games. The best way I can figure to do that is to set it up as a .bat file and use the additional app feature of Launchbox, but I haven't gotten it to work yet. I was hoping some of the AHK and script writing experts around here could help me out, LOL. 

Posted

If you just want Space to actually send some other key, I think all you need to do is add this ahk line to your Launchbox emulator's ahk tab:

Space::<your desired key>

So, if I wanted Space to send the p key for example, I would put:

Space::p

 

  • 3 years later...
Posted

I am running into this problem as well and trying to find a solution. I am using a recroommasters arcade cab controller and the third button for player 1 is mapped to the spacebar key which I am unable to use in mugen. The mugen game is launching as a shortcut unfortunately so I am not using an emulator to add an ahk line.  Anyone have any thoughts on this?

Posted (edited)
1 hour ago, brgruett50 said:

I am running into this problem as well and trying to find a solution. I am using a recroommasters arcade cab controller and the third button for player 1 is mapped to the spacebar key which I am unable to use in mugen. The mugen game is launching as a shortcut unfortunately so I am not using an emulator to add an ahk line.  Anyone have any thoughts on this?

I have the same controller and had the same issue, Mugen uses spacebar as a Hotkey so we will need to disable it

only downside is your Hotkeys will not function for MUGEN, I have had zero issue with that because the xtension controller does everything at that point

SOLUTION:

go into Mugen config file located in the data folder where your Mugen game is located

open the config file

you will need to edit these to lines;

AllowDebugMode = 

and

AllowDebugKeys = 

by default they are set to = 1   change it to 0 for both

the spacebar number in MUGEN is = 32

now you can use spacebar 3rd button on xtension controller

thats it :)

 

here is my setup in MUGEN cfg file

 

IMG_0750.png

Edited by kidshoalin
Posted
35 minutes ago, kidshoalin said:

I have the same controller and had the same issue, Mugen uses spacebar as a Hotkey so we will need to disable it

only downside is your Hotkeys will not function for MUGEN, I have had zero issue with that because the xtension controller does everything at that point

SOLUTION:

go into Mugen config file located in the data folder where your Mugen game is located

open the config file

you will need to edit these to lines;

AllowDebugMode = 

and

AllowDebugKeys = 

by default they are set to = 1   change it to 0 for both

the spacebar number in MUGEN is = 32

now you can use spacebar 3rd button on xtension controller

thats it :)

 

here is my setup in MUGEN cfg file

 

IMG_0750.png

Thank you very much! That worked perfectly :)

  • Like 1
  • 4 years later...
Posted

Just to add to this, as I was experiencing the same issue on my arcade machine...

The above solution works, however there is a quirk, and I noticed this playing against the CPU in 1-player mode. When AllowDebugKeys is set to 1, it appears that the space bar is mapped to a debug function, specifically re-filling player two's health bar. It took me a minute to figure out what was going on, as I was clearly beating the snot out of the CPU player but for whatever reason their health bar kept re-filling. I have HK mapped to space bar, so I thought maybe it correlated to some debug hotkey, and sure enough I found that every time I pressed HK my opponent's health would refill.

The solution to fix this problem is to simply change AllowDebugKeys back to 0 while leaving AllowDebugMode to 1. Hope this helps someone!

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...