Jump to content
LaunchBox Community Forums

Recommended Posts

JoyToKey Profiles for LaunchBox and Rocket Launcher

View File

What's New for Version 1.1.0:

  • ADDED 7 New Systems (80 TOTAL) + LB/HS/RL/Default profiles. New systems include Sega Model 1, Sega System 16, Sega System 24, , Sega X Board, Sega Y Board, Pop-Cap, and Microsoft MS-DOS.
  • Changed the ESC key functionality to buttons 7 + 8 (COIN+START). You must now press both to exit the game.
  • Placed the ESC key location on Button 25 (a dummy location good for using combo buttons).
  • Changed Button 5 to TAB.
  • Changed Button 6 to P (PAUSE).
  • Changed Button 9 to C.
  • Changed Button 10 to V.
  • Changed Button 11 to Z.
  • Changed Button 12 to X.

I'll see how this configuration works for me for the time being. If it's a pain or something is not quite right, I'll continue tweaking it until I find what's best.

*********** BACK UP YOUR OLD PROFILES IN CASE YOU DON'T LIKE THE CHANGES ***********

 

If you use Rocket Launcher as the primary emulator for Launch Box then this is for you.

I created about 75 profiles for various systems, added them to a RAR archive, and attached to this post. All you have to do is unrar and place the folders within the archive into your ..\RocketLauncher\Profiles\JoyToKey directory. For example, mine is --  ..\RocketLauncher\Profiles\JoyToKey.

You may need to edit the profiles so they are more to your liking or work correctly with your setup. I use the default MAME setup for everything. If you want to change one or all of them, all you have to do is edit only one CFG file, copy the CFG file to every other folder, and rename the CFG file and FOLDER to the name of the emulator you're using for the system.

For example -- I use Rocket Launcher as the emulator for ALL my systems but, once RL starts, I use Stella for the Atari 2600. My path is then ..\RocketLauncher\Profiles\JoyToKey\Atari 2600\Stella\Stella.cfg

Maybe you don't use Stella for the Atari 2600 but use RetroArch. Here's how to change it:
You would simply rename ..\RocketLauncher\Profiles\JoyToKey\Atari 2600\Stella\Stella.cfg to ..\RocketLauncher\Profiles\JoyToKey\Atari 2600\RetroArch\RetroArch.cfg.It's the same path\folder\file but the innermost folder and cfg file have simply been renamed to match the emulator being used.

It's tedious to copy, paste, and rename but it doesn't take too long. I've copied these files to from my Hyperspin machine to another PC that uses Launch Box, set up JoyToKey in Rocket Launcher via the tutorial link below, and found it working beautifully. MAME is a bit of a jerk, however. Sometimes it works straight away and sometimes you still have to map the game within the MAME TAB menu. 

I ONLY HAVE CONTROLLER 1 MAPPED IN THESE FILES!

NOTE: There are NO games or programs within this archive. There are, however, 2 other files -- a BAT file for killing the JoyToKey process and a shortcut that gives that BAT file ADMIN privileges. As I use Hyperspin for my main machine, I am not yet sure if there is a way to have Launch Box use the JoyToKey.exe as the startup program and JoyToKeyKill.lnk as a shutdown program. Once I find out a way to get them to function, I will update this post. In the meantime, there shouldn't be too much trouble with it. You can always exit JoyToKey manually if it causes you any issues.

All files were created manually by me so there's no copyright issue. Launch Box doesn't need a JoyToKey profile as, from my testing, it has its own ability to use a joystick/controller.

**** Here is a very good tutorial on how to set up JoyToKey with Rocket Launcher - READ IT CAREFULLY!:
http://bit.ly/2oA2CJ4

Here's a tutorial on how to use Rocket Launcher with LaunchBox:


----------------------------------- ONLY FOR THOSE USING A MOGA PRO CONTROLLER-----------------------------------
In case you have a Moga Controller, download and install the Moga Serial program:
https://github.com/Zel-os/MogaSerial
NOTE: I can only get it to work in Mode A on the PRO Controller but it works great!
Your computer will also need BlueTooth enabled and successfully linked to the MOGA.

Here is where you can get the latest vJoy USB Controller Driver (you'll need this for the MOGA Controller):
http://vjoystick.sourceforge.net/site/joytokey.thumb.png.b7b5e143c241a8f5509ad1bf27a6e970.png

 


 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Hi,  I dont use RL and wanted to understand how JoytoKey changes profiles with certain games.  I can not see to get it to change profiles when games launch from Launchbox.

Thanks!

Share this post


Link to post
Share on other sites

That's exactly why I do use RL.  It has the ability to associate a joy2key profile to the game entry in the database itself.  Most useful for ms-dos games.

Share this post


Link to post
Share on other sites

Never used joy2key before, what info is in the profiles exactly?  And if you already have an emulator setup to use a USB joystick, how would joy2key impact that?

Also, can you setup specific configs per game within rocketlauncher?  If so that sounds pretty useful for apple, c64, etc.  Thanks for posting this, I'll have to try it out.

R

Share this post


Link to post
Share on other sites

Well I only really use joy2key for my ms-dos games so there is no controller mapped to that before rocketlauncher starts joy2key.  And yes, they can be emulator-wide joy2key profile, to effect every game under the RL platform, or it can be game-specific within the platform.  I have stuff like commander keen, cosmo's adventure, biomenace, crystal caves, duke nukem (original 2d), and they all have slightly different keymapping.  It's the only program I've seen so far that will launch joy2key with the specific profile you set up for it.  Rocketlauncher keeps track of which profile is associated to which game by using the game name in the database, and not simply looking for the emulator .exe to startup.  so it can be game-specific that way.

Share this post


Link to post
Share on other sites

Hi, I found a way to make sure I use the correct profile when I load a game using JoytoKey. (Example mkke)

"D:\Arcade\Tools\JoyToKey_en  5.8.1 (CLM)\JoyToKey.exe" "Mortal Kombat Komplete Edition.cfg"

The  above line is simply added to a shortcut, and then launched via the LB additional App field.

I then kill the profile by running a bat file that terminates the JoytoKey Service.

Still having a DOOSY of a time trying to get the controls for two player running on MKKE.  AYE ya ya..>!:S

Edited by latin625

Share this post


Link to post
Share on other sites

Played around with joy2key and it's pretty cool.  One benefit I discovered -- with emulators that make you choose between joystick or keyboard controls, having the joystick emulate the keyboard lets you use both.

Share this post


Link to post
Share on other sites

I can not get Mortal Kombat to default to the keyboard.  Keeps using the vjoy instead.  I want to use keyboard on player one and vjoy player 2.  Just cant get it going.  Arghhh

Share this post


Link to post
Share on other sites

Ok, so I revisted this and got it working pointing the to the cfg and started and stopping it from LB, but is there a way to launch the profile via RL?

Share this post


Link to post
Share on other sites

Ok...  So five minutes after I posted this.  I looked further into my settings and saw that Keymapper was disabled in RL. GRRRRRRR

I know have it running ONLY through RL and have deleted all my Additional Apps from LB.  Anyone that does not have RL, can use the other method of adding the .cfg to "additional apps" and LB will launch them for each game.  I have to admit... this Rocketlauncher app if Friggin awesome and cuts out a bunch of extra work on LB.  Thanks again for the profiles!

Edited by latin625
  • Like 1

Share this post


Link to post
Share on other sites

Yup, enable keymapping, point it to joy2key.  Use the built-in feature on the keymapper tab for your system, and get nice per-game profiles without much fuss.  I think a lot of the confusion with RL is just not knowing about it, and how to navigate it.  Which is natural.  But once you either figure it out, or are shown, it's not that bad.  I just helped someone on this forum set up their mame with the nice unified bezel pack for RL in like 20 minutes or so.  Then once they watched, it was like, oh yeah nice, that wasn't hard at all.

Edited by damageinc86
  • Like 1

Share this post


Link to post
Share on other sites

Hey Damage, on a new note... ever get playlists added to RL?  Would love to use some of the bezels.  But it looks like RL only detects platforms and not playlists.

Share this post


Link to post
Share on other sites

hmmm i've never had to do anything related to playlists because in launchbox the playlist is derived from the "master" platform.  So it's just pulling from that platform, which is already in RL.  Everything I have works when in playlists already.

  • Thanks 1

Share this post


Link to post
Share on other sites

As for why in particular I use JoytoKey, because I have UltraStik360s that I upgraded my X-Arcade Xtension with and use Mini IPac for the buttons and Ultramap for the joysticks.  I use RL  for EVERYTHING except Flash games.  Not a big fan of any of the flash games.  But, using RL allows me to have Fade screens, Bezels, Ultrastik 360 Configurations for each platform, system or game, AHK and VJOY profiles and configs for everything and a super cool way to control everything from one app.  Launchbox is Friggin' FANTASTIC but RocketLauncher is the perfect partner to this awesome frontend.  Just my opinion, but after finally learning how to use it, I will never go back. 

Edited by latin625

Share this post


Link to post
Share on other sites

but why? there's really no need to use joy2key for anything considering ahk can do all of that. Seems like overkill in the work department. And Vjoy... ugh xD So messy.

Share this post


Link to post
Share on other sites

Read above, I understand it may not be for you. and that is cool.  I love it and with RL, it is Super easy to setup one profile and be done.  Love it.

Edited by latin625

Share this post


Link to post
Share on other sites

all I'm saying that they are better easier newer alternatives out there. joy2key is really old OLD school. :P

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...