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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

i have setup gameex to load Xpadder with a config file this all works but when i close the emulator i want it to close Xpadder using the Lauch after command line

i have tried numerous ways inculding

command line xpadder.exe /c " should close Xpadder"

made a batch file with the above command line in

made a batch file to killtask Xpadder

made an EXE to kill task Xpadder none work

it seems it just doesnt run anything

i have checked the paths to all the files i have made and they all work outside gameex

Posted
  Michael said:
i have setup gameex to load Xpadder with a config file this all works but when i close the emulator i want it to close Xpadder using the Lauch after command line

i have tried numerous ways inculding

command line xpadder.exe /c " should close Xpadder"

made a batch file with the above command line in

made a batch file to killtask Xpadder

made an EXE to kill task Xpadder none work

it seems it just doesnt run anything

i have checked the paths to all the files i have made and they all work outside gameex

Download PSTOOLS (google it)

copy pskill.exe to the windows\system32 directory

in the launch after section of gameex type "pskill.exe xpadder.exe" without quotes Xpadder,exe is the process name so if the process name is diffrent then use that...

Let me know how it works out.

Posted

Try putting a script to display a message box saying something like "running command after close" or something to see if it's doing anything.

EDIT: Just use this file...

test.zip

Posted
  bkenobi said:
Try putting a script to display a message box saying something like "running command after close" or something to see if it's doing anything.

EDIT: Just use this file...

i dont see anything happen no message box or anything i have no idea what else to try :blink:

Posted
  Michael said:
i dont see anything happen no message box or anything i have no idea what else to try :blink:

tskill xpadder.exe in Lauch After in the emulator

Just saying that it's possible that the killtask option might not be the correct format. tskill is though.

Posted
  kenclops said:
tskill xpadder.exe in Lauch After in the emulator

Or create a batch file that runs in the Launch After

C:\

tskill xpadder.exe

tskill xpadder.exe

tskill xpadder.exe

tskill xpadder.exe

Posted
  Michael said:
i dont see anything happen no message box or anything i have no idea what else to try :blink:

Michael this is my command line for closing joytokey. "taskkill.exe /F /IM JoyToKey.exe" Remove the quotes.

Posted
  lingpanda said:
Michael this is my command line for closing joytokey. "taskkill.exe /F /IM JoyToKey.exe" Remove the quotes.

thats the command line but it doesnt close Xpadder

i have just tried loading Xpadder up before loading gameex and putting the Kill task for Xpadder on the Also load command. It closes Xpadder as it should do

im wondering if the command line for Launch after runs when the emulator is closed or when you press ESC and would it make a diffrence if the emulator is a bit slow at closing it takes it 5 seconds or so

Posted
  Michael said:
thats the command line but it doesnt close Xpadder

i have just tried loading Xpadder up before loading gameex and putting the Kill task for Xpadder on the Also load command. It closes Xpadder as it should do

im wondering if the command line for Launch after runs when the emulator is closed or when you press ESC and would it make a diffrence if the emulator is a bit slow at closing it takes it 5 seconds or so

Michael it waits for the emulator to close. Try turning on show desktop and debug mode to see exactly what happens when you exit the emu from GE.

Posted
  lingpanda said:
Michael it waits for the emulator to close. Try turning on show desktop and debug mode to see exactly what happens when you exit the emu from GE.

it seems to work if i kill the emulator as well i think it wasnt closing properly as it was showing in task manager

not the best way around but its all working now :P

Posted
  kenclops said:
tskill xpadder.exe in Lauch After in the emulator

Just saying that it's possible that the killtask option might not be the correct format. tskill is though.

You know, I bet you wouldn't see anything unless you had show desktop turned on. In that case, my little app would be useless. Sorry, bad suggestion :ph34r:

Posted

When I asked that question someone mentioned to make a folder with links to the batch files or exe files. Then put the link in the launch before and launch after. Thats how I got mine working. :D

I.E.

D:\links\

has openxpadder.lnk <-- Has "C:\program files\xpadder\xpadder.exe" /m

and closexpadder.lnk <-- Has "C:\program files\xpadder\xpadder.exe" /c

Posted
  LB11 said:
When I asked that question someone mentioned to make a folder with links to the batch files or exe files. Then put the link in the launch before and launch after. Thats how I got mine working. :D

I.E.

D:\links\

has openxpadder.lnk <-- Has "C:\program files\xpadder\xpadder.exe" /m

and closexpadder.lnk <-- Has "C:\program files\xpadder\xpadder.exe" /c

It was me ;) (I think---- at least I know ive suggest that before)

I also gave some advice here to but it doesn't look like it was taken...

Like it was also suggested here it might be due to the fact the emu is not closing being the reason its not doing the launch after.

Alot of peeps have been giving help and they all seem like it would work just fine.. I think there is more going on.

* It seems this issue has been sorted though * Woo Hoo :)

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