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

avoiding third party


Recommended Posts

Posted

I'm new to this site and i'm sure there's an answer already written about this..  I have finally completed my arcade machine. now trying to set up the joysticks and buttons.  Im useing a Xin-Mo Dual arcade modual via USB to hook up everything (not really Important)..

Iv been trying to get joytokey to work but have nothing but problems with it always reseting the controlls  after an exit or a restart. (buttons wont stay, like there's config files colliding or something)

 

Iv downloaded the hyperspin startup script but dont really understand it

 

just looking for some answers or suggestions

Posted

Doesn't RocketLauncher do this nowadays?

 

RocketLauncer is 3rd party now, but used to be part of us and you kinda need it. It's the launcher you want for most FE's.

lfE5RzP.png

..........................back with a vengeance........................

Posted

Not sure what you mean by that THK.

I'm trying to avoid using joytokey or xpadder. Apparently when using arcade buttons and joysticks a "third party" program like these arnt needed..

Also I have 22 buttons to configure and was just looking for a little help/tutorial on how to go about doing this

Posted

RocketLauncher is what you need for HyperSpin to launch games. (yes HS can do it on it's own but it's way more restricted)

 

so get RL! after that, go to their forums or the relevant wiki page

lfE5RzP.png

..........................back with a vengeance........................

Posted

Yes iv got rocket launcher, hyperspin, thousands of games and media, that all work.. Just having trouble setting up joysticks and buttons.. Xbox controller works fine but looking to use the arcade controls I purchased... 22 buttons 2 joysticks

Posted

You can use your xin-mo and arcade controls for everything in HyperSpin/Emulators/RocketLaucher/Pause/etc. It can be done a few different ways. Here's my advice...

 

To navigate and control HyperSpin use the HyperSpin Startup Script. You will need to modify the settings since it's setup for the XBOX 360 controller by default. Here's a copy of my HyperSpin Starup Script.ini that is using a xin-mo with 2 joysticks and 22 buttons. You won't want to use the whole thing but you can copy the [Controls] section to your default HyperSpin Starup Script.ini and also change the [Required] section to point to your HyperSpin folder. I've only included the entire contents of the file as reference in case you want to use it for things other than just the controls.

[Required]
HyperSpin_Folder_Path=..\..\
[General]
Primary_Color_RRGGBB=363636
Secondary_Color_RRGGBB=ffffff
[Controls]
Joysticks_Enabled=True
Joysticks_MaxNumberOfJoysticks=2
Joystick_Delay=225
Joystick_Deadzone=25
Joystick_Up=JoyY-|JoyPOVN
Joystick_Down=JoyY+|JoyPOVS
Joystick_SkipUp=JoyX-|JoyPOVW
Joystick_SkipDown=JoyX+|JoyPOVE
Joystick_SkipUpNumber=Joy3
Joystick_SkipDownNumber=Joy6
Joystick_HyperSpin=Joy8
Joystick_Genre=Joy10
Joystick_Favorites=Joy11
Joystick_Start=Joy12
Joystick_Exit=Joy9
Joystick_Roulette=Joy7
Joystick_Volume=Joy1
Joystick_Volume_Close=Joy4
Joystick_QuickLaunch=Joy2
Joystick_QuickLaunch_Close=Joy5
Joystick_Info=Joy5
Joystick_Info_Close=Joy2
Joystick_Filters=Joy4
Joystick_Filters_Close=Joy1
[Startup]
Minimize_Background_Windows_Enabled=false
Window_Classes_To_Not_Minimize=Shell_TrayWnd,Button
Process_Name_To_Close_1=
Program_To_Run_Target_1=C:\HyperSpin\Utilities\HyperSearch\HyperSearch.exe
Program_To_Run_Working_Dir_1=C:\HyperSpin\Utilities\HyperSearch
Program_To_Run_MaxMinHide_1=
Program_To_Run_Target_2=C:\HyperSpin\Utilities\JoyToKey\JoyToKey.exe
Program_To_Run_Working_Dir_2=C:\HyperSpin\Utilities\JoyToKey
Program_To_Run_MaxMinHide_2=
[Exit]
Restore_Windows_On_Exit=True
Process_Name_To_Close_1=JoyToKey.exe
Process_Name_To_Close_2=HyperSearch.exe
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Roulette]
Roulette_Key=~1
Roulette_Min_MilliSeconds=3000
Roulette_Max_MilliSeconds=8000
[Volume_Menu]
Volume_Menu_Key=~2
Volume_Bar_Offset_From_Bottom=44
[QuickLaunch]
QuickLaunch_Key=~3
QuickLaunch_Enabled=false
QuickLaunch_Left_Offset=5
QuickLaunch_Top_Offset=10
QuickLaunch_Bottom_Offset=10
Item_1_Path=C:\HyperSpin\HyperHQ.exe
Item_1_Parameters=
Item_1_LogoPath=
Item_1_Ignore_Process_Close=false
Item_2_Path=C:\HyperSpin\RocketLauncher\RocketLauncherUI\RocketLauncherUI.exe
Item_2_Parameters=
Item_2_LogoPath=
Item_2_Ignore_Process_Close=false
Item_3_Path=C:\HyperSpin\Utilities\InstantSheller\InstantSheller.exe
Item_3_Parameters=
Item_3_LogoPath=
Item_3_Ignore_Process_Close=false


For your emulators you will want to configure the controls inside them like you would any gamepad.

 

For RocketLaucher/Pause you will want to configure these settings in the RocketLauncherUI.

 

To exit emulators you will want to use a default JoyToKey profile that only contains one button configured to exit the emulators. Some other emulators might need specific JoyToKey profiles but this is rare. I won't cover the JoyToKey details because there are plenty of detailed tutorials and posts on this forum explaining them.

Posted

Not sure what you mean by that THK.

I'm trying to avoid using joytokey or xpadder. Apparently when using arcade buttons and joysticks a "third party" program like these arnt needed..

Also I have 22 buttons to configure and was just looking for a little help/tutorial on how to go about doing this

When people say this they are usually only talking about HyperSpin and MAME when they are using keyboard encoders for their joysticks and buttons. Your xin-mo is a joystick encoder and not a keyboard encoder. If you have a lot of platforms you will likely need JoyToKey or Xpadder.for some emulators regardless of the type of encoder you are using.

Posted

I really appreciate this Progets.

 

so just to clear up a couple things for us "Green" guys and I ask for your patience on this. and please correct me if i'm wrong.. this Hyperspin startup script is only for configuring your joysticks and adding little tweeks such as a volume bar, mimimizing things etc?  I ask because there is nothing in the script related to any buttons, thus the reason I will still need to use joytokey for configuring my buttons?

 

Next question and its a doozy: how does one go about setting up this script? Iv seen topics on disabling the keymapper in HLHQ, disabling joysticks in hyperHQ and enabling joysticks in Hyperspin startup script (witch you have done for us/me) in any case I...   I just plan don't know how to do that.  a video tutorial would be gold on this, but I have found nothing of the sort (at least in english)

 

any links would be appreciated.

Posted

The HyperSpin Startup Script is to control the HyperSpin Frontend only and it does include buttons as well as joysticks (JoyToKey isn't needed for this). For example "Joystick_Start=Joy12" is used to select a system or game and "Joystick_exit=Joy9" is used to go back to the previous menu or to exit HyperSpin. RocketLaucher and your emulators will need separate configurations that aren't part of this script.

 

To use the script...

1. download the HyperSpin Startup Script and put it a logical place (I recommend creating folders like this \HyperSpin\Utilities\Startup Script\ but you can place it anywhere).

2. double click on the HyperSpin Startup Script.exe and it will create the HyperSpin Startup Script.ini file in the same folder

3. open the the HyperSpin Startup Script.ini file in a text editor and replace the [Controls] section with what I have posted above. You also need to put your path to the HyperSpin folder in the [Requirements] section.

4. double click on \HyperSpin\HyperHQ.exe and click on the Main Menu-->Startup/Exit tab and then click on the folder for Startup Program and browse to the HyperSpin Startup Script.exe file. Next click on the Controls-->Joystick tab and make sure that there are no check marks in the Joystick 1 Enabled and Joystick 2 Enabled boxes. You can close HyperHQ.exe now.

 

After you do that the script will be run each time you run HyperSpin.exe and it should allow you to control the HyperSpin interface.

 

I should also mention that my xin-mo is wired the ideal/recommended way so if you have wired yours differently you might want/need to adjust which buttons control which functions in the HyperSpin Startup Script.

Posted

Each emulator will need to be configured separately. Download, install and configure RetroArch first since it will be able to play 90% of all the systems you will want. This will allow you to setup just one emulator and be able to play 50+ systems. To make this easy for you I have included my xin-mo configuration file for RetroArch. Keep in mind that this is for the ideal/recommended xin-mo wiring and yours might be different but if my HyperSpin Startup Script file worked well for you then this should too.

 

Create a new blank text file in the \RetroArch\autoconfig\ folder and name it "Xin-Mo Dual Arcade.cfg" and then paste the contents below into it and save the file. This should give you the button and hotkey setup for everything you play with RetroArch.

 

 \RetroArch\autoconfig\Xin-Mo Dual Arcade.cfg

input_device = "Xin-Mo Dual Arcade"
input_driver = "udev"
input_vendor_id = "5824"
input_product_id = "1505"
input_a_btn = "4"
input_b_btn = "3"
input_x_btn = "1"
input_y_btn = "0"
input_start_btn = "7"
input_select_btn = "6"
input_l_btn = "2"
input_r_btn = "5"
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"
input_l2_btn = "8"
input_r2_btn = "9"

input_enable_hotkey_btn = "9"
input_exit_emulator_btn = "8"
input_rewind_btn = "1"
input_menu_toggle_btn = "4"
input_reset_btn = "3"
input_pause_toggle_btn = "0"
input_load_state_btn = "2"
input_save_state_btn = "5"
input_state_slot_increase_axis = "+0"
input_state_slot_decrease_axis = "-0"
input_volume_up_axis = "-1"
input_volume_down_axis = "+1"

Posted

BTW - This is how my xin-mo is setup and what I mean when I say the ideal/prefered configuration. The player 1 buttons 9 & 10 are on the sides to use for pinball flippers.

 

Xin-Mo_Dual_Arcade.gif

Posted

Wizardry in here...

Last question.

This startup up script. You have your volume button set to ~2 can I alter this to holding down 2 buttons (example button 11 and 12? And what's the "~" mean?

Say I just wanted the volume adjuster and possibly that quick launch option... I can just delete everything but [volume] etc? Also leaving the [required]

Posted

Volume_Menu_Key=~2 - This will display and close the volume bar when you press the "2" key on a keyboard. The "~" just means to activate or close the volume bar when the key is pressed verses when the key is released. This probably isn't what you want and will only be useful if you're using a keyboard or JoyToKey to convert your button pressed to keyboard presses.

 

You most like want to focus on these which do the same thing but use your arcade buttons instead of keyboard keys.

Joystick_Volume=Joy1 - This will display the volume bar when arcade button 1 is pressed

When the volume bar is on the screen moving the joystick up will increase the volume and moving the joystick down will decrease the volume
Joystick_Volume_Close=Joy4 - This will close the volume bar when arcade button 4 is pressed

 

Everything in the HyperSpin Startup Script only applies when you are using the HyperSpin frontend. It doesn't apply when you are playing games. This being said, why would you want to use two buttons to open the volume menu? As far as I know, the HyperSpin Starup Script doesn't allow combining two arcade buttons to activate a function but it does allow combining two keyboard keys to activate a function. If you really want to use two arcade buttons you could use JoyToKey to change some of your arcade button presses to send keyboard presses and then use "Volume_Menu_Key=~2&3" which will open/close the volume bar when keyboard keys "2" and "3" are pressed at the same time. This would be a bunch of extra work without any benefit as far as I can tell.

 

I recommend that you use the HyperSpin Startup Script.ini that was generated when you first ran HyperSpin Startup Script.exe and just copy my [Controls} section above and modify the path in the [Required] section. Leave any other options with their default values unless you are trying to change some other function. I wouldn't use my entire HyperSpin Startup Script.ini because it will probably give you errors since it won't find the programs that I'm using in my build. I also wouldn't delete anything that's not being used in your HyperSpin Startup Script.ini in case you want to use it later.

Posted

Pretty cool information, this configuration would fix my issue when I'm plating mame and player 2 presses some button combination and mame menu pops out. I haven't been playing with my arcade as I wanted, family stuff takes most of my time. But last weekend I run into that issue. Thanks for the great information you guys provide

Archived

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

×
×
  • Create New...