Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi guys,

Im using batch files to run pc games with emulators or plugins, its working really well & is for using trainers and plugins. The only problem im having is creating a command which tells 'joyTokey' which profile to load.

Here's the part of the batch file im struggling with:

@echo off

start "" "N:\Games\Joy to Key\JoyToKey.exe"

It loads JoyToKey, but with no profile loaded. Any ideas?

(I know you'll probably tell me to set it the PC games in the emulation section, but humour me anyway. I really like having pc games on the start page.)

Thanks people

Posted

No worries; i figured it out

JoyToKey has to be in the same firectory as the game to recognise the mapping profile.

However, it just realised that GameEx doesn't support batch files, Doh! Should have paid more attention in GameEx 101. :blink:

Shame though cos you can link as much stuff as you like, i got GTA Vice City running Winamp, JoyToKey, and a camera hack all from little ol batch file.

Posted

The configuration help text says that you cant use MapKeys to exit a game if it is launched from a batch file. So i set MapKeys to false and left Sendkeys empty, but the game still wont launch, it just returns to the gameex window :(

Nevermind, i can just launch the batch file from the desktop.

Posted

Why not use the AlsoLaunch= option to run your batch file with the joytokey stuff etc? Then have the game running using the usual method of Command=. You can then use MapKeys=True and SendKeys if you wan't too.

Or you could just load joytokey using AlsoLaunch and then kill it after the game is launched using taskkill.

AlsoLaunch=N:\Games\Joy to Key\JoyToKey.exe

LaunchAfter=taskkill.exe /F /IM JoyToKey.exe

Guest
This topic is now closed to further replies.
×
×
  • Create New...