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

Recommended Posts

Posted
Hi Ghutch92!

Your script is a great thing.

But there is one drawback - he sees the keys of the first and the second player as a common key. I'm in the machine controller using the XIN-MO, he had 10 contacts to the first player and 12 for the second player, in the system, they are displayed as two separate joystick. But the script displays (example) 2Joy10 in 1Joy10 as one and the same button.

In the script written just Joy4 button and this button works for the first and second player ...

And the example, I want to put the button 10 the first player to adjust the sound, and the second player can enter this function on the fire button. It is approximately.

Is it possible to teach how the script to determine button different players separately from each other? eg to register the button does not Joy4 and 1Joy4 and 2Joy4 ...

Sorry to my badly english - im from Russia.

  • 1 month later...
Posted

Was hoping to use this as an alternative to joytokey or xpadder but it doesn't play well with my Hyperspin 1.4 Aeon Nox installation.  Extremely laggy.  Button/d-pad presses are either very sluggish or sometimes don't register at all.

Posted

hyper

 

Hi Ghutch,

 

I get an error when I start HS (pic attached)

my HS settings.ini is:

[Main]
Menu_Mode=multi
Single_Mode_Name=MAME
Enable_Exit_Menu=true
Enable_Exit=true
Exit_Default=yes
Exit_Action=exit
Version=1.0.0.0
Last_System=MAME
Hyperlaunch_Path=E:\Launcher\RocketLauncher\RocketLauncher.exe

[Resolution]
FullScreen=true
Width=800
Height=600
Scanlines_Active=false
Scanlines_Image=scanlines_ag
Scanlines_Scale=2
Scanlines_Alpha=0.1

[Optimizer]
CPU_Priority=normal
Quality=HIGH
Image_Smoothing=true
Animated_Backgrounds=true
Inter_Backgrounds=false
Level1_Backgrounds=true
Level2_Backgrounds=true
Level3_Backgrounds=false
Level4_Backgrounds=false
Special_Backgrounds=true
Wait_For_Special=false
Animated_Artworks=true
Level1_Artworks=true
Level2_Artworks=true

[IntroVideo]
Use_Intro=false
Stop_On_Keypress=true

[Sound]
Master_Volume=100
Video_Volume=100
Wheel_Volume=20
Interface_Volume=100

[AttractMode]
Active=true
Time=60
MaxSpinTime=10
HyperSpin=true
Wait_For_Video=false

[Keyboard]
Key_Delay=true

[P1 Controls]
Start=49
Exit=49,32
Up=38
Down=40
SkipUp=37
SkipDown=39
SkipUpNumber=17
SkipDownNumber=16
HyperSpin=90
Genre=32
Favorites=88

[P2 Controls]
Start=76
Exit=81
Up=79
Down=188
SkipUp=76
SkipDown=75
SkipUpNumber=65
SkipDownNumber=87
HyperSpin=83
Genre=73
Favorites=81

[P1 Joystick]
Enabled=true
Joy=0
Threshold=40
Start=Button_1
Exit=Button_2
Up=Analog_Up
Down=Analog_Down
SkipUp=Analog_Left
SkipDown=Analog_Right
SkipUpNumber=Button_3
SkipDownNumber=Button_4
HyperSpin=Button_5
Genre=Button_6
Favorites=Button_7

[P2 Joystick]
Enabled=false
Joy=1
Threshold=40
Start=Button_1
Exit=Button_2
Up=Analog_Up
Down=Analog_Down
SkipUp=Analog_Left
SkipDown=Analog_Right
SkipUpNumber=Button_3
SkipDownNumber=Button_4
HyperSpin=Button_5
Genre=Button_6
Favorites=Button_7

[Trackball]
Enabled=false
Sensitivity=90


[Spinner]
Enabled=false
Sensitivity=90

[Startup Program]
Executable=HyperSpin Startup Script.exe
Paramaters=
Working_Directory=E:\FrontEnd\hyperspin\Utilities\Hyperspin startup\
WinState=NORMAL
[Exit Program]
Executable=
Paramaters=
Working_Directory=
WinState=NORMAL

[LEDBlinky]
Active=true
Path=E:\Emulators\mala\plugins\LEDBlinky\

[HiScore]
Active=false
Y=550
Delay=2
[HyperLaunch]
Last_System=MAME
Last_Rom=arknoid2
Exit_Script_Key=~q & ~s
Exit_Emulator_Key=Esc
Toggle_Cursor_Key=t
MultiGame_Key=NumpadSub
MultiGame_Select_Key=Enter
MultiGame_Exit_Key=Esc
Path_To_Daemontools=
Path_To_CPWizard=
Fade_In_Interrupt_Keys=anykey
Keymapper_Path=
Keymapper_Profiles_Path=

I use 2 U360 joystick connected in USB, and a Ultimate IO encoder, the with 1.4 HS and Windows 10.

 

Thanks

 

Did you get a resolution to the Line 3438 error? I saw one guy was able to restore his settings file, but even using his settings did not resolve this issue for me.

  • 3 weeks later...
Posted

Love your program!  Just have two weird things I need help with:

 

A)  How do I exit emulator back into HyperSpin?  I saw a video that said hold the back button on Xbox 360 controller for 3 seconds.  Didn't work (had to press escape)

 

B)  Now when I exit HS, I get a weird, LARGE volume logo on my screen as it is exiting.  

 

Thanks for any help you can give me!  

 

Oh, and I am on version 1.1.14.3.

  • 2 weeks later...
Posted

Hi there,

 

I'm using this script as a workaround because I always run into serious lag issues whenever I use the built-in HyperSpin controller support. However, when this script is enabled it causes an issue where every time I launch an emulator, it goes right back to HyperSpin within a few seconds. The emulator launches successfully and I can see it in another tab but it always goes right back to HyperSpin immediately after launching. Any help would be greatly appreciated.

 

Best,

I have same issue. sometimes after launching a game Hyperspin becomes active again and game runs in background. Can this be looked at?

Posted

Hi everyone,

 

Just started using this script after months of cursing out Xpadder. So far so great!

 

Small problem. I have 4 U360 joysticks on my CP, and sticks 1,3 and 4 all control the menu, but not #2. Below is my HS Startup Script.ini. All four joysticks are recognized in the Joystick AHK with PID codes. Should I hardcode the PIDS into my ini or is just JoyX and JoyY sufficient? Any reason one out of four sticks wouldnt move the menu?

 

Thanks for any help you can provide.

[Required]
HyperSpin_Folder_Path=..\
[General]
Primary_Color_RRGGBB=363636
Secondary_Color_RRGGBB=ffffff
[Controls]
Joysticks_Enabled=True
Joysticks_MaxNumberOfJoysticks=4
Joystick_Delay=25
Joystick_Deadzone=25
Joystick_Up=JoyY-|JoyPOVN
Joystick_Down=JoyY+|JoyPOVS
Joystick_SkipUp=JoyX-|JoyPOVW
Joystick_SkipDown=JoyX+|JoyPOVE
Joystick_SkipUpNumber=
Joystick_SkipDownNumber=
Joystick_HyperSpin=
Joystick_Genre=
Joystick_Favorites=
Joystick_Start=
Joystick_Exit=
Joystick_Roulette=
Joystick_Volume=
Joystick_Volume_Close=
Joystick_QuickLaunch=
Joystick_QuickLaunch_Close=
Joystick_Info=
Joystick_Info_Close=
Joystick_Filters=
Joystick_Filters_Close=
[Startup]
Minimize_Background_Windows_Enabled=false
Window_Classes_To_Not_Minimize=Shell_TrayWnd,Button
Process_Name_To_Close_1=
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Exit]
Restore_Windows_On_Exit=True
Process_Name_To_Close_1=
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=true
QuickLaunch_Left_Offset=5
QuickLaunch_Top_Offset=10
QuickLaunch_Bottom_Offset=10
Item_1_Path=
Item_1_Parameters=
Item_1_LogoPath=
Item_1_Ignore_Process_Close=false

Posted

Might not be the cause but try increasing the max number of joystick to 16 instead of 4

That did it. According to the Joystick detector, my U360 #2 is #8 on the list. I set the max number to 16 and bingo. Thanks!

  • Upvote 1
Posted

That did it. According to the Joystick detector, my U360 #2 is #8 on the list. I set the max number to 16 and bingo. Thanks!

You're welcome!

  • Upvote 1
Posted

Im having a strange issue when I incorporate HS Startup into HyperEDS, since I am also running LEDBlinky and HyperMarquee. The startup script is causing a weird delay, when I click on a menu wheel, the whole thing freezes until I press ESC, which then proceeds to move HS along. Any thoughts? Has anyone successfully incorporated HS Startup Script with HyperEDS?

Posted

Hello folks. Im having a strange issue that im hoping someone can help me with. 

 

Using HS Startup in combination with knewlife's MainMenuChanger breaks the navigation.

 

I have HS Startup as my startup program in HyperHQ, and everything works great. But MMC allows you to have multiple sub wheels. The original wheels in the main menu's are categories that are linked to the MMC exe, which closes HS, re-creates the main menu.xml with whatever entries were just filtered by the category you selected, and then relaunches HS with the newly generated main menu.xml. This allows for a much cleaner organized hyperspin!

 

The problem is that HS Setup works great normally for my 4 player joystick setup. But when combined with MMC, it usually works then breaks randomly.  Usually it works exactly as configured so that I can control, select, exit, navigate all accordingly.

 

Sometimes it will be broken so that it does not work at all at launch, where both the joysticks AND the keyboard does not navigate, and sometimes i can switch between categories and main menu 3-4 times and everything works perfect, and then on the 5th time I enter a sub-menu suddenly both joysticks and keyboard is frozen.

 

I can tell you that without using startup script and just the keyboard, that I can endlessly navigate without the program crashing. And prior to messing with main menu changer, this issue had never cropped up before.

 

As a test, I just enabled my old main menu.xml and undid all the main menu changer stuff, so that I had my setup as before. I can navigate in and out of emulators, enter, exit, restart hyperspin as many times as I want, and the joysticks always work. It never freezes, both the keyboard and joysticks function 100% of the time.

 

Since MMC is not changing anything in regards to controls, and relies on the way you configure it within HyperHQ, im hoping that someone from the HS Startup side can maybe shed some light on why when MMC re-launches HS again that it does not always re-enable the joystick controls as it usually does, and should.

 

Thanks to anyone who helps!

Posted

Pm ghutch

 

I of course already did that, just reaching out to the community. ghutch has not been online in 2 months.

 

I think I resolved my issue to my satisfaction with joy2key though! thanks

  • 2 weeks later...
Posted

Ok, I kind of took a break from working on my hyperspin project. Last time I was doing it, I was using the script version v1.05. Now for me it worked perfect perfectly. I have multiple types of controllers, and I would be able to swap them when hyperspin startup using the script and xpadder.

I have reinstalled hyperspin from scratch, with the new updates and everything. I have done lots and lots of reading, but I guess I just don't "get it".

I'm not understanding how to get hyperspin to start up and be able to switch controllers like I used to be able to do. I'm not sure exactly how I should go about it, and I've tried a few different things without success.

Any help for pointers would be greatly appreciated, thank you very much.

  • 2 weeks later...
Posted

is there a way to control the volume up or down via keyboard? I'd prefer not having joystick on. I have volume display set to ~1 but I can't adjust the volume up or down. say I want it to be set to left and right to adjust volume, how may I input that in the Ini knowing joypad is set to false?

Posted

if I set the joystick to false, how can I reassign the arrow keys in the ini? basically joytokey doesn't allow you to read the arrow keys which controls the volume essentially. I'd like the ability to use any other keyboard key to move the volume left or right on my cabinet or controller using the keystroke of any thing else. Is there a way to remap the left and right arrows in the ini to something else? if so, how? Say we use 4 and 6 instead

Posted

Whenever I move up and down a wheel, it feels like Im moving 2 titles instead of one. I find myself constantly overshooting a game by one, and then having trouble getting the wheel to land where I want. Is there a sensitivity setting or something Im missing?

[Required]
HyperSpin_Folder_Path=..\
[General]
Primary_Color_RRGGBB=363636
Secondary_Color_RRGGBB=ffffff
[Controls]
Joysticks_Enabled=True
Joysticks_MaxNumberOfJoysticks=8
Joystick_Delay=225
Joystick_Deadzone=49
Joystick_Up=JoyY-
Joystick_Down=JoyY+
Joystick_SkipUp=JoyX-
Joystick_SkipDown=JoyX+
Joystick_SkipUpNumber=
Joystick_SkipDownNumber=
Joystick_HyperSpin=
Joystick_Genre=
Joystick_Favorites=
Joystick_Start=
Joystick_Exit=
Joystick_Roulette=
Joystick_Volume=
Joystick_Volume_Close=
Joystick_QuickLaunch=
Joystick_QuickLaunch_Close=
Joystick_Info=
Joystick_Info_Close=
Joystick_Filters=
Joystick_Filters_Close=
[Startup]
Minimize_Background_Windows_Enabled=true
Window_Classes_To_Not_Minimize=Shell_TrayWnd,Button
Process_Name_To_Close_1=
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Exit]
Restore_Windows_On_Exit=true
Process_Name_To_Close_1=
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Roulette]
Roulette_Key=
Roulette_Min_MilliSeconds=3000
Roulette_Max_MilliSeconds=8000
[Volume_Menu]
Volume_Menu_Key=
Volume_Bar_Offset_From_Bottom=44
[QuickLaunch]
QuickLaunch_Key=
QuickLaunch_Enabled=true
QuickLaunch_Left_Offset=5
QuickLaunch_Top_Offset=10
QuickLaunch_Bottom_Offset=10
Item_1_Path=
Item_1_Parameters=
Item_1_LogoPath=
Item_1_Ignore_Process_Close=false

Posted

I think that did the trick, but the other part of the problem is once I exit an emulator, the wheel just starts moving downward as if I was pulling on the joystick. I try to move it back up but it usually ends up with the wheel disappearing and HS freezing, leaving me to Alt+F4 it out.

 

This only happens when I have HS Startup activated. I think the problem might be something with the Joysticks_MaxNumberOfJoysticks=9 setting. On my cab I have 4 Ultrastik360s, a Spinner, a Trackball, two Aimtrak guns, 2 XBOX controllers, and a Wheel/Pedal combo. Is it possible something else is causing the wheel to move on its own?

Posted

Okay I was playing around with this issue some more and I realize that my driving wheel might be causing the random hyperspin wheel change, causing a crash. I unplugged the wheel and now Im not having HS wheel issues when exiting an emu. According to Joystick Detection ahk, it sees my 4 Ultrastiks as #3,4,8,and 9, and it sees my steering wheel as #1.

 

Is there a way to tell HSStartup to only use the joysticks to move the wheel, as opposed to a generic Joy Y+ or Joy X- ?

Ideally I just want to use P1 and P2 joysticks to move the HS wheel around, but I dont want to unplug my steering wheel either.

 

Thanks for any help you can provide. Here are my HSStartup settings.

[Required]
HyperSpin_Folder_Path=..\
[General]
Primary_Color_RRGGBB=363636
Secondary_Color_RRGGBB=ffffff
[Controls]
Joysticks_Enabled=True
Joysticks_MaxNumberOfJoysticks=8
Joystick_Delay=25
Joystick_Deadzone=25
Joystick_Up=JoyY-
Joystick_Down=JoyY+
Joystick_SkipUp=JoyX-
Joystick_SkipDown=JoyX+
Joystick_SkipUpNumber=
Joystick_SkipDownNumber=
Joystick_HyperSpin=
Joystick_Genre=
Joystick_Favorites=
Joystick_Start=
Joystick_Exit=
Joystick_Roulette=
Joystick_Volume=
Joystick_Volume_Close=
Joystick_QuickLaunch=
Joystick_QuickLaunch_Close=
Joystick_Info=
Joystick_Info_Close=
Joystick_Filters=
Joystick_Filters_Close=
[Startup]
Minimize_Background_Windows_Enabled=true
Window_Classes_To_Not_Minimize=Shell_TrayWnd,Button
Process_Name_To_Close_1=explorer.exe
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Exit]
Restore_Windows_On_Exit=true
Process_Name_To_Close_1=
Program_To_Run_Target_1=explorer.exe
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Roulette]
Roulette_Key=
Roulette_Min_MilliSeconds=3000
Roulette_Max_MilliSeconds=8000
[Volume_Menu]
Volume_Menu_Key=
Volume_Bar_Offset_From_Bottom=44
[QuickLaunch]
QuickLaunch_Key=
QuickLaunch_Enabled=true
QuickLaunch_Left_Offset=5
QuickLaunch_Top_Offset=10
QuickLaunch_Bottom_Offset=10
Item_1_Path=
Item_1_Parameters=
Item_1_LogoPath=
Item_1_Ignore_Process_Close=false

Posted

I can't seem to get this to work for the life of me. I am using a Xbox One Wireless Controller and the only thing I can do is control the volume with the Left Stick and D-Pad, even though the volume is not binded to either one of those controls. Any advice?

Posted

 

Okay I was playing around with this issue some more and I realize that my driving wheel might be causing the random hyperspin wheel change, causing a crash. I unplugged the wheel and now Im not having HS wheel issues when exiting an emu. According to Joystick Detection ahk, it sees my 4 Ultrastiks as #3,4,8,and 9, and it sees my steering wheel as #1.

 

Is there a way to tell HSStartup to only use the joysticks to move the wheel, as opposed to a generic Joy Y+ or Joy X- ?

Ideally I just want to use P1 and P2 joysticks to move the HS wheel around, but I dont want to unplug my steering wheel either.

 

Thanks for any help you can provide. Here are my HSStartup settings.

[Required]
HyperSpin_Folder_Path=..\
[General]
Primary_Color_RRGGBB=363636
Secondary_Color_RRGGBB=ffffff
[Controls]
Joysticks_Enabled=True
Joysticks_MaxNumberOfJoysticks=8
Joystick_Delay=25
Joystick_Deadzone=25
Joystick_Up=JoyY-
Joystick_Down=JoyY+
Joystick_SkipUp=JoyX-
Joystick_SkipDown=JoyX+
Joystick_SkipUpNumber=
Joystick_SkipDownNumber=
Joystick_HyperSpin=
Joystick_Genre=
Joystick_Favorites=
Joystick_Start=
Joystick_Exit=
Joystick_Roulette=
Joystick_Volume=
Joystick_Volume_Close=
Joystick_QuickLaunch=
Joystick_QuickLaunch_Close=
Joystick_Info=
Joystick_Info_Close=
Joystick_Filters=
Joystick_Filters_Close=
[Startup]
Minimize_Background_Windows_Enabled=true
Window_Classes_To_Not_Minimize=Shell_TrayWnd,Button
Process_Name_To_Close_1=explorer.exe
Program_To_Run_Target_1=
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Exit]
Restore_Windows_On_Exit=true
Process_Name_To_Close_1=
Program_To_Run_Target_1=explorer.exe
Program_To_Run_Working_Dir_1=
Program_To_Run_MaxMinHide_1=
[Roulette]
Roulette_Key=
Roulette_Min_MilliSeconds=3000
Roulette_Max_MilliSeconds=8000
[Volume_Menu]
Volume_Menu_Key=
Volume_Bar_Offset_From_Bottom=44
[QuickLaunch]
QuickLaunch_Key=
QuickLaunch_Enabled=true
QuickLaunch_Left_Offset=5
QuickLaunch_Top_Offset=10
QuickLaunch_Bottom_Offset=10
Item_1_Path=
Item_1_Parameters=
Item_1_LogoPath=
Item_1_Ignore_Process_Close=false

I solved my problem. I found a small program called JoyID that allowed me to change the numbers assigned to each controller on my cab. By making my U360's numbers one through four, and making the driving wheel #8, and then assigning only four joysticks to my HSStartup.ini, this allows me to just use the sticks instead of every controller. I assume HSS uses the controllers in order.

I also reset the machine twice, and the assignments still stick. I believe it writes to the registry.

Check it out, hope this helps someone with similar issues. It might also be the solution to usb reassingnment from Windows.

 

http://theairtacticalassaultgroup.com/forum/showthread.php?t=13009

  • Super Like 1
Posted

I had a house party yesterday and the cab was in full swing. I did notice however that on some down time, when nobody was playing, I'd say after a while the HSScript stopped working. I have Attract Mode on, and the joysticks stopped moving the wheel. Only way to fix was exit HS and restart. Is this a bug in HS, or some setting I'm missing?

 

Thanks!

  • Confused 1
  • 2 weeks later...
  • 3 weeks later...
Posted

I've set this up on a custom windows 7 (64bit) cab. I'm using a zero delay USB encoder for both controllers. I'm not getting any errors after setting the script up, but when i open Hyperspin:

 

1) Player 2 controller is what is controlling hyperspin wheel

2) I tap the controller once and it goes crazy! It just keeps spinning.

 

Anyone know what i've done wrong, or not done at all?

 

Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...