meltingcones Posted September 22, 2013 Posted September 22, 2013 First off I'd like to say thanks to this awesome community for teaching me so many things before I registered an account! So I'm trying to configure a 360 controller to operate the HyperSpin wheels and emulators. In order to properly navigate the wheels, I'm using JoyToKey and I realize that I must open that software prior to HyperSpin, so that's what I do and everything works well until I launch an emulator. When that happens, I'm unable to use HyperLaunch to either swap controller configs (or even disabling JoyToKey altogether would work) so my controller stays mapped to the settings I had used for the HyperSpin wheels and no emulators properly function at that point. I have an emulator profile set up in HyperLaunch so how would I successfully swap JoyToKey configs when the emulator took focus and then swap it back when HyperSpin returned? Thanks much!
tmaxx23 Posted September 24, 2013 Posted September 24, 2013 https://sites.google.com/site/hyperlaunch2/home/features/keymapper Did you make your default Hyperspin profile etc Make sure you do the Keymapper Ini Settings at bottom of page
ghutch92 Posted September 24, 2013 Posted September 24, 2013 Also make sure that your version of joytokey is supported (v5+) and that you have the latest hyperlaunch and lib updates. How to Install HyperSpin and more RocketLauncher HyperSpin Startup Script
meltingcones Posted September 25, 2013 Author Posted September 25, 2013 Thanks, guys. I wasn't using the very latest HyperLauncher from git so I'll give it another go with up-to-date software and if that doesn't resolve the issue, I'll goof with the folders. Thanks!
ComputerAbuser Posted October 24, 2013 Posted October 24, 2013 Hi folks, I too am having problems with Joytokey, HyperSpin + HyperLaunch. I have an UltraStick360, so I need a keymapper to control HyperSpin. I'm running Win 7 64bit and everything works great with HyperSpin & HyperLaunch except the inability to control HyperSpin with my U360. Anyway, I've tested JoytoKey on it's own and it works great. I've created profiles for _Default, HyperSpin & NES and arranged it in Folders like the above screenshot. When I launch HyperSpin, JoytoKey does not start. Using the keyboard, I select NES (Nestopia) and I can see that JoytoKey starts, but instead of my NES profile, it brings up the generic profile that is located in Hyperspin\Utilities\JoytoKey\. When I exit Nestopia, JoytoKey remains running with the generic profile. I have keymapper enabled in HyperLaunch and JoytoKey selected as the keymapper. Any ideas? Thanks, ComputerAbuser
ghutch92 Posted October 24, 2013 Posted October 24, 2013 Hi folks, I too am having problems with Joytokey, HyperSpin + HyperLaunch.I have an UltraStick360, so I need a keymapper to control HyperSpin. I'm running Win 7 64bit and everything works great with HyperSpin & HyperLaunch except the inability to control HyperSpin with my U360. Anyway, I've tested JoytoKey on it's own and it works great. I've created profiles for _Default, HyperSpin & NES and arranged it in Folders like the above screenshot. When I launch HyperSpin, JoytoKey does not start. Using the keyboard, I select NES (Nestopia) and I can see that JoytoKey starts, but instead of my NES profile, it brings up the generic profile that is located in Hyperspin\Utilities\JoytoKey\. When I exit Nestopia, JoytoKey remains running with the generic profile. I have keymapper enabled in HyperLaunch and JoytoKey selected as the keymapper. Any ideas? Thanks, ComputerAbuser I've got some ideas. 1.) you need the latest version of hyperlaunch (from git and not the downloads section) Installing and updating using git 2.) look at the keymapper documentation. The above picture is outdated. 3.) look at the pictures in the keymapper documentation. 4.) You'll need to run joytokey on HyperSpin Startup or Windows startup to have joytokey enabled when you first use HyperSpin. You can use my HyperSpin Startup Script for this. Congrats on joining the HyperSpin community with your first post. How to Install HyperSpin and more RocketLauncher HyperSpin Startup Script
ComputerAbuser Posted October 25, 2013 Posted October 25, 2013 I've got some ideas.1.) you need the latest version of hyperlaunch (from git and not the downloads section) Installing and updating using git 2.) look at the keymapper documentation. The above picture is outdated. 3.) look at the pictures in the keymapper documentation. 4.) You'll need to run joytokey on HyperSpin Startup or Windows startup to have joytokey enabled when you first use HyperSpin. You can use my HyperSpin Startup Script for this. Congrats on joining the HyperSpin community with your first post. 1) JoytoKey only works in the development builds? 2) I tried using both layouts. When I move the cfg files to their respective folders, HyperLaunchHQ can no longer find them (they are no longer listed). Actually the NES cfg will get found in either \Profiles\JoytoKey\Ninten.... and \Profiles\JoytoKey\ but HyperSpin.cfg & _Default.cfg only get found when located in \Profiles\JoytoKey\ 3) see above 4) having JoytoKey running before I start HyperSpin didn't seem to make a difference. Thank you for the ideas. Is 1) my only option?
ComputerAbuser Posted October 25, 2013 Posted October 25, 2013 So it seems that when HyperLaunch starts JoytoKey, it (JoytoKey) is only able to access profiles contained within the folder where JoytoKey resides. I have JoytoKey located in HyperSpin\Utilities\JoytoKey\ (and HyperLaunch is aware of this). When I create profiles using HyperLaunch, they are created in HyperSpin\HyperLaunch\Profiles\JoytoKey\ When I start Nestopia using HyperSpin, JoytoKey is successfully started by HyperLaunch, but the only profile in the list is the generic profile contained in \HyperSpin\Utilities\JoytoKey\ So, when HyperLaunch starts JoytoKey, is it supposed to pass the name of the configuration file to it, for example ...JoytoKey.exe "HyperLaunch\Profiles\%keymapper%\%systemName%\%systemName%.cfg" Perhaps this doesn't work in newer versions of JoytoKey? If I copy all of my profile cfg files to ...\Utilities\JoytoKey\ they are then available to JoytoKey, but HyperLaunch doesn't seem to be able to tell JoytoKey which profile to use, instead the first profile in the list is selected. I can't imagine everyone who is successfully using JoytoKey is running development builds using Git. It seems more likely that perhaps a recent change to JoytoKey broke something. I'm using version 5.4.1. Thanks, ComputerAbuser
ghutch92 Posted October 25, 2013 Posted October 25, 2013 So it seems that when HyperLaunch starts JoytoKey, it (JoytoKey) is only able to access profiles contained within the folder where JoytoKey resides.I have JoytoKey located in HyperSpin\Utilities\JoytoKey\ (and HyperLaunch is aware of this). When I create profiles using HyperLaunch, they are created in HyperSpin\HyperLaunch\Profiles\JoytoKey\ When I start Nestopia using HyperSpin, JoytoKey is successfully started by HyperLaunch, but the only profile in the list is the generic profile contained in \HyperSpin\Utilities\JoytoKey\ So, when HyperLaunch starts JoytoKey, is it supposed to pass the name of the configuration file to it, for example ...JoytoKey.exe "HyperLaunch\Profiles\%keymapper%\%systemName%\%systemName%.cfg" Perhaps this doesn't work in newer versions of JoytoKey? If I copy all of my profile cfg files to ...\Utilities\JoytoKey\ they are then available to JoytoKey, but HyperLaunch doesn't seem to be able to tell JoytoKey which profile to use, instead the first profile in the list is selected. I can't imagine everyone who is successfully using JoytoKey is running development builds using Git. It seems more likely that perhaps a recent change to JoytoKey broke something. I'm using version 5.4.1. Thanks, ComputerAbuser Set your logging level to troubleshooting and post a pastebin link containing your hyperlaunch.log. If you read the hyperlaunch.log you can get a better understanding of what is going on. Also step 1 isn't all that hard. Just follow the guide in the link. The dev builds are more stable than the builds in the downloads section in my opinion. Also the command line switches HL uses have not been changed in 5.4.1 (tested), so nothing broke in joytokey as far as I know. Don't give up quite yet, I'll help get you up and running for keymapper. How to Install HyperSpin and more RocketLauncher HyperSpin Startup Script
Peja Posted October 26, 2013 Posted October 26, 2013 I am in almost the same exact position as ComputerAbuser. I have Win 7 64bit with U360 controllers. My joysticks/buttons work just fine when playing games. The only place they don't work is in Hyperspin. The wheels won't move in any direction. My trackball works, but joysticks don't. I tried messing with xpadder and joy2key but ended up giving up but you are giving me hope ghutch92. First thing I need to do I assume is get a dev build using Git?? Then what steps do I need to take to get it the wheels working? Like I said, buttons and trackball work within hyperspin but joysticks do not. I usually use my keyboard since the trackball is touchy. After a year, I would really like to close the front of my cabinet and put the keyboard away!!!!! I am almost there!!!!! Thanks for any help you can give me. Also, if you figure anything out ComputerAbuser, I would love to know. I am at the point where I will pay someone via paypal to teamviewer into my computer and get this part set up!!! Peja
ComputerAbuser Posted October 26, 2013 Posted October 26, 2013 Set your logging level to troubleshooting and post a pastebin link containing your hyperlaunch.log.If you read the hyperlaunch.log you can get a better understanding of what is going on. Also step 1 isn't all that hard. Just follow the guide in the link. The dev builds are more stable than the builds in the downloads section in my opinion. Also the command line switches HL uses have not been changed in 5.4.1 (tested), so nothing broke in joytokey as far as I know. Don't give up quite yet, I'll help get you up and running for keymapper. Well, it looks like HyperLaunch can see my cfg files... 18:03:08:068 | HL | INFO | +0 | Main - Module is built 18:03:08:069 | HL | INFO | +0 | CheckFile - Checking if C:\HyperSpin\HyperLaunch\AutoHotkey.dll exists 18:03:08:071 | HL | INFO | +0 | Main - Running module 18:03:08:170 | MD | INFO | +N/A | Module initialized 18:03:08:172 | MD | INFO | +0 | CheckFile - Checking if C:\HyperSpin\Utilities\JoyToKey\JoyToKey.exe exists 18:03:08:173 | MD | INFO | +0 | Keymapper - Loading joytokey 18:03:08:198 | MD | INFO | +32 | Keymapper - Loading Profile -> C:\HyperSpin\HyperLaunch\Profiles\joytokey\Nintendo Entertainment System.cfg 18:03:08:198 | MD | INFO | +0 | Keymapper - Loading Profile -> C:\HyperSpin\HyperLaunch\Profiles\joytokey\Nintendo Entertainment System.cfg 18:03:08:228 | MD | INFO | +31 | Keymapper - Run, JoyToKey.exe "j2kTEMP.cfg", C:\HyperSpin\Utilities\JoyToKey 18:03:08:289 | MD | INFO | +62 | StartModule - Started 18:03:08:289 | MD | INFO | +0 | StartModule - MEmu: Nestopia MEmuV: v1.42 MURL: http://www.emucr.com/2011/09/nestopia-unofficial-v1420.html MAuthor: djvj & BBB MVersion: 2.0 MCRC: 5D376759 iCRC: 656EE1DF MSystem: "Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System" 18:03:08:289 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "Nintendo Entertainment System" 18:03:08:289 | MD | INFO | +0 | StartModule - Ended 18:03:08:289 | MD | INFO | +0 | Module Setting - Fullscreen: true 18:03:08:290 | MD | INFO | +0 | Module Setting - ExitKey: Esc 18:03:08:290 | MD | INFO | +0 | Module Setting - ToggleMenuKey: Alt+M 18:03:08:298 | MD | INFO | +0 | Module Run - Running: C:\HyperSpin\Emulators\Nestopia\nestopia.exe "C:\HyperSpin\Emulators\ROMFiles\Nintendo\1943 - The Battle of Midway (USA).zip" 18:03:08:344 | MD | INFO | +47 | Module WinWaitActive - Waiting for "ahk_class Nestopia" 18:03:09:082 | MD | INFO | +749 | Module Process - WaitClose nestopia.exe 18:03:20:142 | MD | INFO | +11060 | Module WinClose - Closing: ahk_class Nestopia 18:03:20:956 | MD | INFO | +812 | ExitModule - Started 18:03:20:956 | MD | INFO | +0 | Starting Updating Statistics: 18:03:20:956 | MD | INFO | +0 | CreateRomTable - Started 18:03:20:956 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table. 18:03:21:538 | MD | INFO | +577 | Game section statistics updated. 18:03:21:578 | MD | INFO | +47 | Keymapper - Loading Profile -> C:\HyperSpin\HyperLaunch\Profiles\joytokey\HyperSpin.cfg 18:03:21:578 | MD | INFO | +0 | Keymapper - Loading Profile -> C:\HyperSpin\HyperLaunch\Profiles\joytokey\HyperSpin.cfg 18:03:21:729 | MD | INFO | +140 | Keymapper - Run, JoyToKey.exe "j2kTEMP.cfg", C:\HyperSpin\Utilities\JoyToKey 18:03:21:760 | MD | INFO | +31 | ExitModule - Ended 18:03:21:760 | MD | INFO | +0 | End of Module Logs 18:03:21:849 | HL | INFO | +13775 | Main - Module ended, exiting HyperLaunch normally 18:03:21:849 | HL | INFO | +0 | ExitScript - Started 18:03:21:860 | HL | INFO | +15 | SystemCursor - Restoring mouse cursor 18:03:21:871 | HL | INFO | +0 | ExitScript - Ended I looked at j2kTEMP.cfg and it still has the settings for HyperSpin.cfg. I then tried manually running "JoyToKey C:\HyperSpin\HyperLaunch\j2kTEMP.cfg" from the command line and it correctly loaded the profile. For some reason, this step isn't working. Note: the spaces you see between words above is a formatting issue of this site, the spaces are not in the original log.
ghutch92 Posted October 26, 2013 Posted October 26, 2013 You will definitely need to upgrade to get j2k to work. There is a nasty bug in HL v3.0.9 dealing with joy2key that was fixed in the next version of HL. How to Install HyperSpin and more RocketLauncher HyperSpin Startup Script
ComputerAbuser Posted October 26, 2013 Posted October 26, 2013 You will definitely need to upgrade to get j2k to work. There is a nasty bug in HL v3.0.9 dealing with joy2key that was fixed in the next version of HL. Possibly, although I was able to get it to work as is. Basically, if you copy/move JoytoKey to ..\HyperSpin\HyperLaunch\ (the same folder as j2kTEMP.cfg) then everything works as it should. You also need to update HyperLaunch with the new exe location. It boils down to JoytoKey only accepting config files from files located in the folder where it is operating. You can force it to load j2kTEMP.cfg manually, but once HyperLunch goes to switch it, it reverts back to the operating folder where JoytoKey.exe is located and then it can only see the config files in that folder (the problem that I was having). If you want to ensure that the HyperSpin.cfg is loaded on boot, I copied HyperSpin.cfg to ..\HyperSpin\HyperLaunch\ and run "C:\HyperSpin\HyperLaunch\JoytoKey.exe HyperSpin.cfg" on boot. After that HyperLaunch can take over and all is good. ComputerAbuser
ComputerAbuser Posted October 28, 2013 Posted October 28, 2013 Peja, were you able to get everything working as well?
Peja Posted October 28, 2013 Posted October 28, 2013 Well I am finally up and running and it is all thanks to ghutch92. The main problem I had was I could not get my U360 joysticks to work with the wheel within HS. Here is what we did to fix that problem. First we went through his tutorial located here: http://www.hyperspin-fe.com/forum/showthread.php?29214-Lost-in-translation/page2 Once we had everything updated and set up in that tutorial we went into the HLHQ configuration and set up the menus for Xpadder. This was the part that threw me off before and as ghutch9 could tell, it wasn't pretty. This is what my xpadder settings looked like under the HLHQ Global Keymapper settings: [/img] After that ghutch told me how and why my wheels still wouldn't work upon start up of HS but rather only until after I exited out of the first game. He explained that HL doesn't launch until a game is launched....that way my controls would work afterwards. However, I needed it to work right away as well. He then pointed me to this script he wrote which worked perfectly. http://www.hyperspin-fe.com/forum/showthread.php?28986-HyperSpin-Startup-Script The only thing I changed was changing the keymapper enabled = false to = true. I then had to enable it within Hyper HQ. It looks like this: After that, everything is working great and I can finally close up my cabinet after all this time.....(well after I figure out Daphne, that is a whole other beast). I can't thank ghutch92 enough. I really appreciate the help and schooling. He is a very valuable member to this community with his knowledge and tutorials. Peja
kduque Posted March 23, 2014 Posted March 23, 2014 Possibly, although I was able to get it to work as is.Basically, if you copy/move JoytoKey to ..\HyperSpin\HyperLaunch\ (the same folder as j2kTEMP.cfg) then everything works as it should. You also need to update HyperLaunch with the new exe location. It boils down to JoytoKey only accepting config files from files located in the folder where it is operating. You can force it to load j2kTEMP.cfg manually, but once HyperLunch goes to switch it, it reverts back to the operating folder where JoytoKey.exe is located and then it can only see the config files in that folder (the problem that I was having). If you want to ensure that the HyperSpin.cfg is loaded on boot, I copied HyperSpin.cfg to ..\HyperSpin\HyperLaunch\ and run "C:\HyperSpin\HyperLaunch\JoytoKey.exe HyperSpin.cfg" on boot. After that HyperLaunch can take over and all is good. ComputerAbuser Thank you ComputerAbuser!! I have been struggling with this issue for the past 2 months since I first set up HyperSpin and it was the last thing I needed to fix, it was driving me CRAZY.... I use JoyToKey strictly as a keymapper for the frontend as I really do not need it for the emulators themselves since all the ones I use have joypad support (although at least now I know how to utilize them for the emulators if I later choose). I had JTK in a startup script which launched when HS opened so that part was fine, it would work when I would first launch HS, but I couldn't figure out why it would still be active even when going into an emulator, I had a feeling it should have been terminating and then reloading when I went back into the frontend. The mapped keys for the frontend kept interfering with joystick control in the emulators, and I even had to go as far as to change the keymapper to use keys that none of the emulators used as a workaround, because I couldn't figure out what I was doing wrong. I followed your advice of moving the JoyToKey.exe and associated cfg files to the \Hyperspin\HyperLaunch folder, updating the location in HLHQ and all works as it should now! Thanks! "Insanity: doing the same thing over and over again and expecting different results."
veganpete Posted May 26, 2014 Posted May 26, 2014 Trying to set up a joytokeyprofile for "Commodore Amiga", this is the only thread I've found that related to joytokey and hyperlaunch. How do I see my logfile please so I can try to fault-find what's happening? The only log I could find didn't have anywhere near the same information and was a very basic chronology (maybe it was a hyperspin log instead). Really stuck with this and can't seem to get any help from the forum relating to setting up a joytokey profile. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.