Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

X-Arcade TankStick to HS & MultiEmu Key Remapping Script


Recommended Posts

Posted

Hey guys, I just got my X-Arcade TankStick last week and had been trying to configure it to work with HyperSpin and other commonly used emulators. For the uninitiated, the TankStick features a 2 players 8 buttons layout with 2 additional buttons at the sides (only 1 is usable in each side as the other ones are for the mouse Left and Right click). So in total each player will have 10 usable buttons.
 
The goal of this script is to simply reuse the same key mappings which you configure for one-time that will works across HyperSpin frontend and other emulators.

 

So essentially what you need to do is do a one-time program a set of keys in a mode of your choice, such as Mode 2 (You can't modify Mode 1 which came pre-programmed in factory). The main key bindings is based on the default input setttings for RetroArch.

 

A thing to note that this script is not only limited to be used with the Tankstick layout and you can simply use it in your own usual 6 buttons layout too. The key placement is tailored for the X-Arcade 6 buttons layout and an additional 2 more at the third row. Many had complaint about the third row buttons, but I found it to be a blessing which I can conveniently map to other hotkeys such as RetroArch rewind and slow motion.

 

FIRST BETA VERSION SCRIPT IS NOW RELEASED! CHECK IT OUT NOW!

Also the PDF User Guide is also available. Print it out for handy reference :-)

 

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

DOWNLOAD

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

Program: xarcade2multiemu-0.1a.zip

 

User Guide PDF: X-ArcadeMultiEmu v0.1 User Guide.pdf.pdf

 

Overview
This is a ahk script that remap the X-Arcade Tankstick keys to a wide variety of emulators.
The main goal is to use the same key mapping without having to switch between the Modes
in the X-Arcade PCB at the back.

* The default key mapping is based on Retroarch default key map.

The keys function are divided into two sets:
1. Hotkeys

Keys that are not related to the game, but rather emulator (e.g. save state, load state, previous save state, test mode, service mode...)

 

To enter to this mode, keep the Hotkey Enabler pressed while pressing any other buttons.

2. In-Game

Keys that are mapped to the game controller.

 

It does not requires the Hotkey Enabler to be pressed.

 

Most of the emulators have key set for Player 1, future release will include bindings for Player 2 as well.

 

 

Release Information

2015-07-24

- First BETA release.


Quick Start
Make sure you switch your TankStick in Mode other than the default Mode 1 and program each buttons with the following keys.
 
post-62687-0-43221200-1437664681_thumb.jpg

 

And that's it. Oh and you'll of course have to configure some emulators keys too that binds to the programmed keys.

Currently supported Emulators:
HyperSpin (Front-End)
Daphne
DEmul
Dolphin
ePSXe
MAME
MESS
RetroArch
Sega Model 2 Emulator
SuperModel

Completed 2-Player Keyset Bindings

ePSXe
MAME
RetroArch
 
Layout
General Hotkeys
post-62687-0-08885300-1437668964_thumb.jpg

 

----------------------------------------------------------------------------------------------
HyperSpin Front End

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

post-62687-0-89735000-1437664507_thumb.jpg
 

----------------------------------------------------------------------------------------------
MAME

----------------------------------------------------------------------------------------------
post-62687-0-48563400-1437206671_thumb.jpg
 

----------------------------------------------------------------------------------------------
RetroArch

----------------------------------------------------------------------------------------------
post-62687-0-29446300-1437671902_thumb.jpgpost-62687-0-95650600-1437664433_thumb.jpg
 

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

DEmul

----------------------------------------------------------------------------------------------
post-62687-0-03452900-1437663584_thumb.jpg

 

post-62687-0-21110600-1437663677_thumb.jpgpost-62687-0-30546800-1437663739_thumb.jpg

 

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

Dolphin

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

post-62687-0-82326700-1437663888_thumb.jpg

 

post-62687-0-36835100-1437663896_thumb.jpgpost-62687-0-64125500-1437663905_thumb.jpg

 

----------------------------------------------------------------------------------------------
Sega Model 2 Emulator

----------------------------------------------------------------------------------------------
post-62687-0-15938200-1437207062_thumb.jpgpost-62687-0-83657600-1437207070_thumb.jpg
 

----------------------------------------------------------------------------------------------
Supermodel

----------------------------------------------------------------------------------------------
post-62687-0-15579100-1437207096_thumb.jpgpost-62687-0-51482500-1437207107_thumb.jpg
 

----------------------------------------------------------------------------------------------
ePSXe

----------------------------------------------------------------------------------------------
post-62687-0-08920200-1437668395_thumb.jpgpost-62687-0-21479100-1437664327_thumb.jpg
 
 

Front Ends Key Bindings Configuration

----------------------------------------------------------------------------------------------
HyperHQ (HyperSpin GUI Config)

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

post-62687-0-12701900-1437668490_thumb.jpg

 

----------------------------------------------------------------------------------------------
RocketLauncher

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

This is completely optional. Only do this if you want to switch bezels or activate HyperPause

 

post-62687-0-04182000-1437672073_thumb.jpgpost-62687-0-68383900-1437672087_thumb.jpg

 

Emulator Key Bindings Configuration

Make sure you open up each of the following emulator and go to the Input settings and configure each keys to match the screenshots below:

 

* Not all emulators required configuration.

 

* When configuring the keys, make sure the NUMLOCK is ON to register Player 2 Numpad inputs correctly.

 

*The script will enable NUMLOCK ON by pressing the '\' key on your keyboard. Useful for mini keyboard (non full-sized keyboard) without those NumKeys

 

----------------------------------------------------------------------------------------------
ePSXe

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

post-62687-0-21518900-1437666576_thumb.jpgpost-62687-0-94522000-1437666583_thumb.jpg

 

----------------------------------------------------------------------------------------------
Daphne

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

No configuration needed.

X-Arcade keys are mapped to Daphne default keymaps.

 

post-62687-0-54565300-1437666887_thumb.jpg

 

----------------------------------------------------------------------------------------------
DEmul

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

post-62687-0-36694200-1437666345_thumb.jpg

 

post-62687-0-21585100-1437666354_thumb.jpgpost-62687-0-96168100-1437666424_thumb.jpg

 

post-62687-0-22457600-1437666432_thumb.jpgpost-62687-0-34663900-1437666438_thumb.jpg

 

----------------------------------------------------------------------------------------------
Dolphin

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

post-62687-0-05395500-1437666733_thumb.jpg

 

post-62687-0-69875700-1437666744_thumb.jpgpost-62687-0-99973800-1437666751_thumb.jpg

 

----------------------------------------------------------------------------------------------
MAME

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

No configuration needed.

X-Arcade keys are mapped to MAME default keymaps.

 

----------------------------------------------------------------------------------------------
RetroArch

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

There are two ways to modify the key bindings in RetroArch:

 

Method 1 - Modify the .cfg files manually.

 

1. Open retroarch.cfg (or <corename>.cfg inside the /config folder if you're using Per-Core Configuration settings) and replace/overwrite the existing key values with the following:

input_player1_b = "z"
input_player1_y = "a"
input_player1_select = "rshift"
input_player1_start = "enter"
input_player1_up = "up"
input_player1_down = "down"
input_player1_left = "left"
input_player1_right = "right"
input_player1_a = "x"
input_player1_x = "s"
input_player1_l = "q"
input_player1_r = "w"
input_player1_l2 = "e"
input_player1_r2 = "r"
input_player1_l3 = "g"
input_player1_r3 = "b"

input_player2_b = "kp_period"
input_player2_y = "keypad0"
input_player2_select = "multiply"
input_player2_start = "subtract"
input_player2_up = "keypad8"
input_player2_down = "keypad2"
input_player2_left = "keypad4"
input_player2_right = "keypad6"
input_player2_a = "keypad1"
input_player2_x = "keypad7"
input_player2_l = "keypad9"
input_player2_r = "keypad3"
input_player2_l2 = "slash"
input_player2_r2 = "add"
input_player2_l3 = "comma"
input_player2_r3 = "period"

input_volume_up = "equals"
input_volume_down = "minus"

input_enable_hotkey = "v"

Method 2 - Use RGUI and go to Input Bind Configurations and set up these keys accordingly. Make sure NumLock is ON

 

post-62687-0-14586900-1437667484_thumb.jpgpost-62687-0-41009600-1437667437_thumb.jpg

 

post-62687-0-87709500-1437671964_thumb.jpgpost-62687-0-89705000-1437667452_thumb.jpgpost-62687-0-92799700-1437667467_thumb.jpg

 

 

TODO

  • Per game support for Arcade emulators like Sega Model 2, Sega Model 3 that uses different inputs per game

 

Summary

So far I find the layout to work comfortably after some game sessions when your muscle memory starts to kicks in. Feel free to leave any comments for more layout suggestions :-)

Posted

Holy crap, I have been putting this off for so long. I have a tank stick and I only use console controllers currently because it was daunting.

Thank you!!!

Posted

I too have a Tank Stick and have been putting off setting up my other emulators. Your work is superb and greatly appreciated.

Posted

Hey guys, just to announce that I had released the first BETA release for the script. Feel free to test it out and suggest any other key combos that you would like, or even more emulator support.

 

For the time being I won't be remapping the keys to any Computer-based emulators like Commodore 64 or DOSBOX since the key inputs varies greatly for each games. If you would like to contribute then I can arrange for some ideas on how you can do so :-)

 

Hope this will 'revive' some of your TankStick and put it into actual gaming sessions! Get it rockin'!

Posted

I haven't had a chance to look through all of it or use it (not sure I have a need myself), but damn if that isn't a beautiful and comprehensive write-up/tutorial/instruction set.

That's the kind of attention to presentation and professional look HyperSpin and RocketLauncher need in an "all-in-one" set-up tutorial for people.

I nominate you to do the layout for such a thing!

Posted

Love where this is going. Just curious why you chose to remap so much of the X-Arcade by reprogramming it?

Posted

I haven't had a chance to look through all of it or use it (not sure I have a need myself), but damn if that isn't a beautiful and comprehensive write-up/tutorial/instruction set.

That's the kind of attention to presentation and professional look HyperSpin and RocketLauncher need in an "all-in-one" set-up tutorial for people.

I nominate you to do the layout for such a thing!

 

Thanks Metalzoic for the compliments! Yes it is my very intention to help people setting things up with minimal effort :) I've also created a PDF user guide for quick reference of those layouts.

Posted

Love where this is going. Just curious why you chose to remap so much of the X-Arcade by reprogramming it?

 

My only arcade controller is the X-Arcade Tankstick and hence I'm basing my work of it. I'm actually thinking to purchase a arcade fight stick too such as the Qanba 4 and might even have a script that works on it. Though I'll have to cut down some of the mappings due to its limited single player buttons.

Posted

As above mention

To enter to this mode, keep the Hotkey Enabler pressed while pressing any other buttons.

Which is the Hotkey enabler button?

Posted

It's the second left side button (or Pinball button) closer to the bottom. The upper side button is used to simulate left mouse click.

  • 3 weeks later...
Posted

I am clueless.  I am using Hyperspin, HyperHQ and HyperLaunch.  At this point all I really want to be able to do is open Hyperspin, select MAME and play games that are in the MAME selection.  Once in MAME play a game and then EXIT back to MAME to select another game.  I can not EXIT without using the keyboard. 

 

From the instructions above, I set MODE 2 to match QUICK START and the Front Ends Key Bindings configurations in HyoerHQ, no luck.  Am I missing a step?

  • 2 months later...
Posted

So, I have programmed my tank stick. And i have the script running.

 

But, I have a couple of questions. I might just be dumb.

 

The Mame portion states that no configuration is required. It uses the default Mame setup.

But, I can't get it to work. Only Enter works. I can't add coins (while holding the hotkey) enter the menu, play any games.

 

And how under the Rocketlauncher configuration, how do you get "Pause" in the Activation key?

Posted

Does anyone hae any insight on this? I am really desperately trying to get this working. None of the hotkeys seem to work in MAME. In fact. None, of the hotkeys on the player one side seem to alter the keys at all. Holding the hotkey button does not make the buttons change their corrolating keyboard inputs. AKA... fifth button (x) is still "x" when I press the hotkey button.

 

BUT, on the player two side... the rocketlauncher bezel keys work when I press the hotkey button.

 

Do I need to configure MAME after all? Any help would be appreciative.

Posted

I had no luck with the Tank Stick.  And what makes it worse is X-Arcade does not give support, I am surprised they have been around as long as they have.  I was able to return my Tank Stick, and I went with Xtension, not a single problem.  It was almost perfect to plug and play, in addition Xtension has excellent support staff.

Posted

Well, that is not an option for me. I have to configure it for the Tank Stick. And this looked like the perfect solution. But, I do not think the original poster is working on it anymore.

 

If I could just get a hold of the ahk instead of the executable... I could at least look at the script.

  • 2 months later...
  • 2 weeks later...
Posted

Reprogramming the escape key is one of the few things I figured out. This page has the instructions:

http://www.xgaming.com/support/questions/99/Using+X-Arcade+With+Hyperspin

Within hyperhq, under controls/keyboard reprogram "exit" for player 1 to be two or three button pushes - something you wouldn't normally expect to hit when playing a game. When in a game, you have to hold down these three buttons for a second or so and that will exit.

  • 1 year later...
Posted

*First of all, I just want to send out a HUGE thanks to everyone who has (unknowingly) helped me over the last month(and my first emulation/classic arcade build). This forum/community is incredible, and I wish I knew ANYTHING about this enough to give back*

 

Here is my issue:

My goal is to run everything via my cabinet at the controller the Xarcade tankstick(but of course, isn't everybody's?)

 

Here is what I did, after the initial successful configurations of Hyperspin/Rocket Launcher, etc.

1.I bought a X arcade Tank stick.

2. Found this thread(and D.Syncs others regarding set, up....he is the man, so thanks).

3. Went to set up

4.  Was able to properly program the X-Arcade in Mode 2, tested on notepad, great.

 

Now here is where I am out of my league. When I run the .EXE  from D-Syncs download, nothing happens, which (and I am a mostly mac user, using a PC now, so forgive me for not being a hundred percent sure on this...) I believe makes sense, but my first question is...

1. Do I have to put that exe somewhere, or do I just run it, and it makes changes to profiles, etc(?)

I configured Hyperspin controls, fine...

2. I go to try and configure RocketLauncher, EXACTLY like Dysncs tutorial, and the same options do not show up. This is where I feel like I am missing something, I have tried to read up on all of the Keymapping, AHK, etc, but am a bit lost. I sort of understand the profile thing, but not really. Do I need to set up some sort of systems hot key?

3. According to D.Syncs tutorial, the "HotKey/Modifier" would be the "V" key correct?

4. I understand that Rocket Launchers Mapping functionality isn't great, so I even bought Xpadder, but I don't think that's what I need. That being said, if it is an option for me...I will def go that route.

5. Where/How would I set up AHK profiles through RocketLauncherUI?

6. The controller is not showing up at all in Rocket Launcher, is that because I am in Mode 2 of the Xarcade, and it is seeing it just as a Keyboard?

7. I got an error message/had to task manage when I went to "Test" a profile, saying I was missing an [AHKxyz123] .DLL...I THINK I may have figured that out from Rocket Launcher wiki, but A) don't even know if that matters, and B wouldn't know where to put that DLL

 

I tested in Hyperspin, and was able to "sort of play" some games, but the coin button wasn't really working right, and I could not exit any games.

I hope this is making sense/I am not to far behind on the forum, and there was an update that makes this null.. but in a nutshell I am lost, and even some deep digging, has yielded no results.

 

Any help will be greatly appreciated.

 

 

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...