legolas119 Posted February 19, 2021 Share Posted February 19, 2021 Hi, I have a little problem with Contra Evolution: this game can be played with joypad only if I use JoyToKey application. So I have configured JoytoKey and now if I want to play this game, I have to start JoyToKey and then double click on the .exe file of the game and so it immediately detect the joypad. So, I added the game to LB, in my WIndows platform section: but even if i start JoyToKey, when i launch the game with LB, the joypad isn't detected...I don't know why... 1) is it possible to use games with JoytoKey from LB? 2) Is it also possible to automatically start JoyToKey when I launch this game from LB? Thank you very much! Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 19, 2021 Share Posted February 19, 2021 Edit the following script with your own paths and names: Here\your\path\to\JoyToKey.exe = the location of JoyToKey.exe JoyToKeyGameConfig.cfg = the name of the JoyToKey config file you made for your game. (JoyToKey config files are located in the Documents folder > JoyToKey.) Game.exe = the name of the executable of your game. Add this script as an Additional App to your game and tick: "Automatically Run Before Main Application". If you don't know how to do that, let me know. To close JoyToKey correctly after the game is closed, in the JoyToKey Settings > Preferences > Minimize section, make sure that only "Start JoyToKey in a minimized mode" is checked. (The other 2 options must be unchecked.) #NoEnv #SingleInstance Run, "Here\your\path\to\JoyToKey.exe" JoyToKeyGameConfig.cfg Process, Wait, Game.exe Process, WaitClose, Game.exe WinClose, ahk_exe JoyToKey.exe ExitApp Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 19, 2021 Author Share Posted February 19, 2021 thanks. So, the script should be: #NoEnv #SingleInstance Run, "D:\EMULATORI\GIOCHI per PC\Contra Evolution HD\Contra Evolution\JoyToKey_en\JoyToKey.exe" Contra HD.cfg Process, Wait, AMContra.exe Process, WaitClose, AMContra.exe WinClose, ahk_exe JoyToKey.exe ExitApp and I configured in this way: I added an Application Name, then I entered the path of the JoyToKey.exe file and at the end I copied all the script in the "application COmmand-Line Parameter": is that correct? And here my JoytoKey configuration: Is everything correct? many thanks! Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 19, 2021 Share Posted February 19, 2021 First, in JoyToKey you don't have to autorun a profile with an associated application. Ofcourse you could, but for just one game it is not necessary. In the script the line: Run, "D:\EMULATORI\GIOCHI per PC\Contra Evolution HD\Contra Evolution\JoyToKey_en\JoyToKey.exe" Contra HD.cfg already starts JoyToKey and loads the profile you made for your game. If you just add JoyToKey directly as an Additional App, then JoyToKey won't close after you close your game and keeps running. With a script you can automatically close JoyToKey when you close your game. To add a script as an additional to your game, first create a new text file on a location you desire. For example in your JoyToKey folder. Copy and paste the script to your text file and save it. Give it a name. In my case: JoyToKey_Cyberia_II.ahk but make sure you save the text file with an .ahk extension. Then add the .ahk script as an additional app: 1) Give your additional app a name. 2) In the Application Path field select the AutoHotKey.exe in your \LaunchBox\ThirdParty\AutoHotkey folder. 3) In the Application Command-Line Parameters field enter the path and the name of the .ahk file you just created and use quotes (") at the beginning and end. 4) Check the box with "Automatically Run Before Main Application". 1 Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 (edited) thanks! Well, I have a problem: it seems that JoytoKey doesn't start correctly now...if I double click on the .exe file, the application is minimized but I'm not able to open it in order to change its configuration...if I click on the icon, it doesn't happen anything... I tried to launch the game (double click on the .exe file but the joypad isn't detected even if JoytoKey is opened... In the meanwhile I follwed your guide: and Is that correct? But I can't try if it works because now I have another problem: my joypad isn't detected anymore by LB!!!!! I don't know why! The mapping is still present: but LB doesn't detect any command, in any game and any console...!!!! And it isn't detected anymore to any emulator even if i don't use LB!!!! But is seems that it works perfectly, the input command are detected (I have a Logitech Rumblepad 2), i don't know what is happened! thanks! Edited February 20, 2021 by legolas119 Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 6 minutes ago, legolas119 said: it seems that JoytoKey doesn't start correctly now...if I double click on the .exe file, the application is minimized but I'm not able to open it in order to change its configuration...if I click on the icon, it doesn't happen anything. When JoyToKey is running, you can open it by right clicking on the tray icon > Open main window. Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 10 minutes ago, legolas119 said: but LB doesn't detect any command, in any game and any console...!!!! And it isn't detected anymore to any emulator even if i don't use LB!!!! But is seems that it works perfectly, the input command are detected (I have a Logitech Rumblepad 2), i don't know what is happened! It sounds stupid, but sometimes a reboot of your pc does wonders. There is no reason your controller shouln't work with LaunchBox and JoyToKey. Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 unfortunately i don't have that option... I also tried to uninstall and install the driver of my joypad, but it isn't detected anymore...during the installation of the driver, it is necessary to test the button, and any button isn't detected...:( I don't know if my configuration of JoytoKey has an impact on that...until yesteday it worked perfectly... Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 Your system tray (and tray icons) is on the far right of your taskbar! Quote Link to comment Share on other sites More sharing options...
neil9000 Posted February 20, 2021 Share Posted February 20, 2021 This part, Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 (edited) Also, if you want to start JoyToKey in a window, then in the JoyToKey Settings > Preferences > Minimize section, untick "Start JoyToKey in a minimized mode". I myself have additional apps start in a minimized mode as much as possible so they don't interfere with startup screens. Edited February 20, 2021 by Koroth Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 ah ok thanks! sorry well I have configured in LB as I said above. And joyto key in this way: but i still have the issue with my joypad...i isn't detected anymore in any emulator, not only in LB. In Steam too...nothing, it isn't detected by any application I tried to reinstall the driver and in the button configuration test, at the end of the installation, any button isn't detected. I also tried to reboot the pc, but i still have the issue Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 3 minutes ago, legolas119 said: but i still have the issue with my joypad...i isn't detected anymore in any emulator, not only in LB. In Steam too...nothing, it isn't detected by any application I think that is more a controller / USB / Windows issue than having anything to do with JoyToKey or LaunchBox. Do you have another controller to test with? I don't have a Logitech Rumblepad 2 so it is a bit difficult for me to help you with that, but I saw it was wireless. Maybe you can connect it with a cable? Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 i could use xbox one X controller? I don't have the specific wireless dongle to connect the xbox joypad to the pc, i have to buy one.. Do you use the xbox one controller? Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 23 minutes ago, legolas119 said: i could use xbox one X controller? I don't have the specific wireless dongle to connect the xbox joypad to the pc, i have to buy one.. Do you use the xbox one controller? Yes, I have a Xbox One controller with the official wireless dongle. But out of the box the Xbox One controller comes with a separate USB cable. You can buy third party dongles but I don't have experience with those. Quote Link to comment Share on other sites More sharing options...
neil9000 Posted February 20, 2021 Share Posted February 20, 2021 Just now, Koroth said: Yes, I have a Xbox One controller with the official wireless dongle. But out of the box the Xbox One controller comes with a separate USB cable. You can buy third party dongles but I don't have experience with those. Also, all but the very earliest models have bluetooth as well, so depending on when yours was bought it may have that, mine is the OG so needs a dongle, but any bought in the last five or six years should have bluetooth also. Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 5 minutes ago, neil9000 said: Also, all but the very earliest models have bluetooth as well, so depending on when yours was bought it may have that, mine is the OG so needs a dongle, but any bought in the last five or six years should have bluetooth also. You are right. More information here: https://bigtechquestion.com/2020/04/24/gaming/consoles/which-xbox-one-controller-is-bluetooth/ Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 yes i have it, and it works! Later I will buy this https://www.amazon.it/MICROSOFT-XONE-Wrlss-Ctrl-Adapter/dp/B074QMN4YW/ref=sr_1_14?__mk_it_IT=ÅMÅŽÕÑ&dchild=1&keywords=Xbox+One+X%3A+Adattatore+Wireless+Xbox&qid=1613828091&s=videogames&sr=1-14 even if I still have a bluetooth usb dongle (TP-Link), I will try it. Well, now first of all I have to correctly map this new controller with JoyToKey: I'm trying with the existing congiuration but it has some issues, for example even if i don't push the right button, the characters continue to run... I don't know why but there is Joystick 1 and Stick1 in yellow... the joypad is correctly detected so probably I have to correctly enter the mapping...? As soon as the mapping will be OK, i will try to launch it with LB. DO you know if there is any issue in my mapping? Quote Link to comment Share on other sites More sharing options...
Your Friendly A.I Overlord Posted February 20, 2021 Share Posted February 20, 2021 1 minute ago, legolas119 said: DO you know if there is any issue in my mapping? I see the activated button is yellow so you should be good. Quote Link to comment Share on other sites More sharing options...
legolas119 Posted February 20, 2021 Author Share Posted February 20, 2021 yes, my controller is 1708 so i should be able to connect it via bluetooth to my pc without any dongle..?! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.