danielsan27 Posted April 18, 2020 Share Posted April 18, 2020 Hi there, having this problem: Running VirtualJaguar on LB, needs "joytokey" for jaguar's keyboard's issues, ok Ok, once i imported roms, if i edit every rom (by modify menu), i can add "joytokey" as "another application", but doing this for every rom is boring... So..is there any way on LB to tell "emulator": start and then, "run this program" ?? Hoping i've been clear Thanks on advance for the replies. Quote Link to comment Share on other sites More sharing options...
proghodet Posted April 18, 2020 Share Posted April 18, 2020 Unfortunately you can't add emulator-specific additional applications, the same way you do per rom. It has been requested but is not implemented yet. I use joytokey for all my emulators, therefore I have created an autohotkey-script (could also be a batch-script) which launches joytokey and launchbox at the same time. Same with BigBox. Just ask if you need pointers. Quote Link to comment Share on other sites More sharing options...
DiverAtWork Posted May 1, 2020 Share Posted May 1, 2020 Could you show this script here, i want to use joytokey. But i have not much knowledge about scripting. Quote Link to comment Share on other sites More sharing options...
proghodet Posted May 2, 2020 Share Posted May 2, 2020 Run "%A_ScriptDir%\LaunchBox.exe" Sleep, 10000 Run "%A_ScriptDir%\Tools\JoyToKey\JoyToKey.exe" Sleep, 2000 if WinExist ("ahk_exe LaunchBox.exe") WinActivate, ahk_exe LaunchBox.exe Return This is the script that I use to open LaunchBox. You would need to have AutoHotKey installed on your machine. Then right click in the LaunchBox folder, choose new -> AutoHotKkey script. It doesn't matter what you call the script but mine is called LaunchKeys (as it launches launchbox and joytokeys) Open the file in notepad and copy the code from above. Be sure to edit so the path to JoytoKey matches your joytokey path. Mine is inside LaunchBox\Tools\JoyToKey, as you can see above. Save the script, and double click it. It should launch both programs. When you know it works, you can right click it and select "Compile to EXE", et voila You should be able to then edit the script to work for bigbox also, if needed. You can remove the second line (sleep, 10000), if you wish to start both programs fairly quickly. Older versions of JoyToKey only listened for new joysticks at the start - that is why I added that delay Quote Link to comment Share on other sites More sharing options...
DiverAtWork Posted May 2, 2020 Share Posted May 2, 2020 Hi, Thank you very much for your quick answer and explanation. Imma try it out. Is there a manual somewhere how this scripting works in Launchbox or is that part of windows? Quote Link to comment Share on other sites More sharing options...
DiverAtWork Posted May 2, 2020 Share Posted May 2, 2020 Ok was already installed, windows based. ? So i will studie it! 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.