dsync89 Posted July 18, 2015 Posted July 18, 2015 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 OverviewThis 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 Modesin 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 StartMake sure you switch your TankStick in Mode other than the default Mode 1 and program each buttons with the following keys. 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)DaphneDEmulDolphinePSXeMAMEMESSRetroArchSega Model 2 EmulatorSuperModelCompleted 2-Player Keyset Bindings ePSXeMAMERetroArch LayoutGeneral Hotkeys ----------------------------------------------------------------------------------------------HyperSpin Front End ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------MAME ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------RetroArch ---------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------- DEmul ---------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------- Dolphin ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------Sega Model 2 Emulator ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------Supermodel ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------ePSXe ---------------------------------------------------------------------------------------------- Front Ends Key Bindings Configuration ----------------------------------------------------------------------------------------------HyperHQ (HyperSpin GUI Config) ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------RocketLauncher ---------------------------------------------------------------------------------------------- This is completely optional. Only do this if you want to switch bezels or activate HyperPause 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 ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------Daphne ---------------------------------------------------------------------------------------------- No configuration needed. X-Arcade keys are mapped to Daphne default keymaps. ----------------------------------------------------------------------------------------------DEmul ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------Dolphin ---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------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 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 :-)
namdor Posted July 23, 2015 Posted July 23, 2015 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!!!
dragon57 Posted July 23, 2015 Posted July 23, 2015 I too have a Tank Stick and have been putting off setting up my other emulators. Your work is superb and greatly appreciated.
dsync89 Posted July 23, 2015 Author Posted July 23, 2015 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'!
Metalzoic Posted July 24, 2015 Posted July 24, 2015 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!
oddx Posted July 24, 2015 Posted July 24, 2015 Love where this is going. Just curious why you chose to remap so much of the X-Arcade by reprogramming it?
dsync89 Posted July 26, 2015 Author Posted July 26, 2015 Just finished creating the first User Guide for this script. Print it out for handy reference.
dsync89 Posted July 26, 2015 Author Posted July 26, 2015 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.
dsync89 Posted July 26, 2015 Author Posted July 26, 2015 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.
shitoken Posted August 1, 2015 Posted August 1, 2015 As above mention To enter to this mode, keep the Hotkey Enabler pressed while pressing any other buttons.Which is the Hotkey enabler button?
dsync89 Posted August 1, 2015 Author Posted August 1, 2015 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.
mamedude1967 Posted August 20, 2015 Posted August 20, 2015 Very nice, please tell that this file in compatible with a SlikStik classic unit, I have almost lost my mind trying to get it setup properly.
adeptjr Posted August 22, 2015 Posted August 22, 2015 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?
Tense Posted November 15, 2015 Posted November 15, 2015 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?
Tense Posted November 15, 2015 Posted November 15, 2015 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.
adeptjr Posted November 15, 2015 Posted November 15, 2015 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.
Tense Posted November 15, 2015 Posted November 15, 2015 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.
howardseth Posted January 24, 2016 Posted January 24, 2016 Any easy solution here? As with some of the others, I just want an easy way out with esc without needing the keyboard. Sent from my iPad using Tapatalk
Goodboyparker Posted February 5, 2016 Posted February 5, 2016 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.
JoeyMaestro Posted June 1, 2017 Posted June 1, 2017 *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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.