Main > Main Forum
U360 Automatic Direction Mapping
<< < (2/3) > >>
Peja:
EddieArcadian,

I was running 2 U360 joysticks as player 1 and player 2 with my hyperspin no problem.  I used LEDBlinky to have it automatically detect what the joystick needed to do for that game.....ie 2 way, 4 way, etc etc. 

How I did it, I do not remember.  I think downloaded a game list for LEDBlinky to use that told it what game was what and had Hyperspin point to LEDBlinky.



I just upgraded to Hyperlaunch 3 and now my 2 U360 joysticks no longer work.  I have no idea what happened but I can move them up, down, left, right when I get to the main wheel where you choose which system you are going to play and it does nothing.  My buttons still work but my USB U360 do not.


What version of Hyperlaunch are you using?  I have a thread open over at the Hyperspin forums but so far I have had 0 responses. 

Let me know if you find anything out.

Thanks,
jilted:
Subscribed.

My pair of u360's will be here this week to build my first panel.  Planning to do the same type of setup (hyperspin, mame, some old emu's).  Also want to be able to use full analog mode to play the steam version of geometry wars  :-)
gildahl:
The way mine works is that there is a default ugc profile that always works, but if you want to override it, you just create a new ugc file with the same name as the game and drop it in a folder. 

The application of the correct profile is made by an ahk script.

Here’s the technical stuff.

First I created a directory structure something like this off the root

Profiles
                UltraStick
                               MAME 
                                Atari_2600
                                Colecovision
                                etc.

In the MAME folder I place a default ugc file called MAME.ugc.  This defines all sticks as analog.  If a game-specific profile (such as qbert.ugc) is dropped into this folder, the ahk script will automatically override the default profile with the game-specific one when the game is run.  The advantage of this approach is that there are no configuration files to manage.  Just drop a profile into the folder and it works.  Delete it and the default is used.  Want to know exactly what games are using custom profiles, just look at the directory.

To make this work I created an ahk script that is called whenever a game is loaded by the front end.  When launched by the front end (GameEx in my case) it calls the script with the following command line

LoadProfiles.ahk “<emulator>” “<rom>”

Thus if I am launching, say, Space Invaders it will be called as

LoadProfiles.ahk “MAME” “invaders”

In this case MAME.ugc (the default profile) is used since there is no invaders.ugc file.

If I am launching Q*bert, then it will be called as

LoadProfiles.ahk “MAME” “qbert”

In this case the qbert.ugc profile is loaded since this game-specific file does exist.

Here are the essentials of the script (I do exactly the same for button config on my iPAC).



--- Code: ---;This script loads game & emulator specific configurations into
;UltraSticks. If a game (ROM) specific profile
;exists it will be loaded.  If not, the emulator (EMU) specific profile
;will be loaded. If neither a game specific nor emulator specific
;profile exists, a default (DEF) profile will be loaded.

;Parameters are the emulator and ROM name. ROM name is optional.
;Emulator names should match the assets folder name.

EMU = %1% 
ROM = %2%

;--------------------------------------------
;Process UltraStick Profiles
ROM_STK_PROF := "D:\Profiles\UltraStick\" . EMU . "\" . ROM . ".ugc"
EMU_STK_PROF := "D:\Profiles\UltraStick\" . EMU . "\" . EMU . ".ugc"
DEF_STK_PROF := "D:\Profiles\UltraStick\default.ugc"

ULTRAMAP := "C:\Program Files (x86)\UltraMap\UltraMap.exe"

;Load the joystick profile
if FileExist(ROM_STK_PROF)
   RunWait %ULTRAMAP% %ROM_STK_PROF%
else if FileExist(EMU_STK_PROF)
   RunWait %ULTRAMAP% %EMU_STK_PROF%
else
   RunWait %ULTRAMAP% %DEF_STK_PROF%
--- End code ---
cmoses:
Need to try this out.
EMDB:
UltraMap4Mame can be downloaded here: http://forum.arcadecontrols.com/index.php/topic,134128.0.html
Navigation
Message Index
Next page
Previous page

Go to full version