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

well im trying to get this thing called ePSXeCutor to work with gameex

in ePSXeCutor u can make configs for different games so that u can edit how it looks/ fix problems. well i made some games with this and it makes a shortcut for each game on the desktop so i moved it to my roms folder.

anyways they all work when i dubble click on them

so now im trying to get gameex to load them

i got gameex to see those shortcuts but it fails to load them

can someone help me with this please

Posted

Are you trying to get GameEx to run .lnk files? I don't think that's possible, because START /WAIT [lnkfile] does not wait for the shortcut to finish, so GameEx will always return immediately after launch.

Instead you will probably need to look at the command line that the shortcut creates (right click on it and look at the properties), and put it into a .BAT file. You can then do cmd .exe /c "[ROMFile]" to run the individual BATs.

If they're something other than shortcuts (different extension), try doing

start "PSX" /wait "[ROMPath]\[ROMFile]"

-- Rob

Posted

yea i tryed puting the stuff into a bat file

still does the same thing it opens the rom but then just goes back to gameex while the emulator is still running in the background

Posted

Did you put cmd dot exe /c "[ROMPath]\[RomFile]" as the command line? (This forum will not accept "cmd .exe" as one word from me for some reason).

What are the contents of the .BAT file?

-- Rob

Posted

ok i did this

cmd .exe /wait /c "[ROMFile]"

and i got it work but man does it make many more problems

the psx started to lagg so i check my task manager to see if anything was not spose to be running but i saw many many cmd.exe and epsxe.exe everytime i close one epsxe.exe more would start running

anyways now i tryed it again and it doesnt work

its opening and brining me back to gameex

inside the bat it looks like this i just copyed it from one of the .lnk properties

E:\emulation\systems\PlayStation\Emulator\ePSXeCutor.exe "Tenchu"

Posted

cmd .exe doesn't understand /wait, you don't need that parameter. /wait is used with start, which isn't needed here.

Are you using MapKeys and Esc to exit? MapKeys won't work with batch files unfortunately. It doesn't know what it's supposed to quit. You will need to disable the MapKeys setting in GameEx and exit ePSXeCutor from its own user interface.

Clear out all of the old cmd.exes and ePSXecutor.exes from task manager and try again after doing that. All of the other copies of it running were probably from your previous attempts to get it to work.

Posted

hmm did everything like u said but it still opens the rom and i can see its opening the emulator and then i see it minimize and then it goes back to gameex

i turned of mapkeys and i made the command look like this

cmd.exe /c "[ROMPath]\[RomFile]"

i also found out that if u open the rom

when it brings me back to the gameex i open it again it and runs it fine

but to bad it couldnt close the old epsxe.exe

Posted

Hmm, very strange. Maybe try:

start /wait cmd.exe /c "[ROMPath]\[ROMfile]"

If you want to be sure old instances are killed, add:

killall /im espxe.exe

to the bat file.

-- Rob

Posted

ahhh i hope i get this thing to work :)

also thnx for the help so far

anyways i tryed that

start /wait cmd.exe /c "[ROMPath]\[ROMfile]"

wich gives me the same problem so i thought i would put that

killall /im espxe.exe in the bat so that i could just open the game twice and it would close the first emulator and it might work but it seems that it doesnt close it both epsxe.exe are still running and i added that command on the second line

but for some reasone it works only if i open the game 2 times but this is not good because the second one is useing ram and the cpu maybe there is anothere way to close the second epsxe.exe

Posted

Put it before you launch the second one. In other words,

Step 1: Close any existing epsxe's

Step 2: Open a new epsxe

But we really need to figure out why GameEx is going back to the menu on the first try. Are you running XP? Do you have the very latest gameex? There was one version released last week which had trouble with batch files.

I'm going to download a copy of epsxe to see if I can duplicate your problem.

Posted

Ahhh, I get it now. ePSXeCutor launches ePSXe and then exits, which is why GameEx keeps dumping you back to the menu.

I updated my app monitoring utility to provide a workaround for you. It will launch ePSXeCutor and then wait for ePSXe to exit.

Unzip Keymonitor.zip to where epsxecutor is.

Change the batch file to look like:

KeyMonitor ePSXeCutor.exe "Profile Name"

(Note: ePSXeCutor.exe is case sensitive. It can either be ePSXeCutor or epsxecutor but no other combinations)

Tom: We *really* need the ability to specify what executable (or, executableS, preferrably) GamEx should wait for and/or kill when esc is pressed. I think this would solve the vast majority of issues running batch files or other pre-launch logic like this case.

The way I handle this in my app is I give the application a couple seconds to spawn its children, then I monitor for one or more apps. There are some games like Wing Commander that hand-off to different modules during the game, or I might have batch files that might run one of several different executables, so the ability to specify multiple possibilities would be a plus. So having say, a comma delimited list of exes to watch for would be good.

KeyMonitor.zip

Posted
Ahhh, I get it now.  ePSXeCutor launches ePSXe and then exits, which is why GameEx keeps dumping you back to the menu.

I updated my app monitoring utility to provide a workaround for you.  It will launch ePSXeCutor and then wait for ePSXe to exit.

Unzip Keymonitor.zip to where epsxecutor is.

Change the batch file to look like:

KeyMonitor ePSXeCutor.exe "Profile Name"

(Note: ePSXeCutor.exe is case sensitive.  It can either be ePSXeCutor or epsxecutor but no other combinations)

Tom: We *really* need the ability to specify what executable (or, executableS, preferrably) GamEx should wait for and/or kill when esc is pressed.  I think this would solve the vast majority of issues running batch files or other pre-launch logic like this case.

The way I handle this in my app is I give the application a couple seconds to spawn its children, then I monitor for one or more apps.  There are some games like Wing Commander that hand-off to different modules during the game, or I might have batch files that might run one of several different executables, so the ability to specify multiple possibilities would be a plus.  So having say, a comma delimited list of exes to watch for would be good.

Hi Rob, I totally agree with this. I had had some thoughts about this previously, but did not think as far as multiple processes. I think Ill implement this at the weekend.

Cheers.

Posted

hmm is it spose to look like this in the bat

E:\emulation\systems\PlayStation\Emulator\KeyMonitor ePSXeCutor.exe "Castlevania Chronicles"

cuz its doing the same thing and i think i did something wrong i put ur app in my folder where epsxecutor and epsxe and it still does the same thing

Posted

What is your command line?

should just be cmd .exe /c "[ROMPath]\[ROMFile]"

Be sure the working directory is set to E:\emulation\systems\PlayStation\Emulator

Then in the bat, you won't need that whole path. Just KeyMonitor, although having the full path shouldn't hurt.

Posted

ahhh still the same problem hmm you think TSpeirs will fix it soon cuz i can wait it doesnt have to work right no as long as it works some time soon

Posted

i installed a newer version of gameex and now it loads up epsxe fine but for some reason i cant see the game but once i go ctrl alt del and stop cmd.exe i see the game but only a small bit of it and then gameex opens up

i tryed it with .bat and .lnk

Posted

i just found somethign out if i run the game in opengl it doesnt want to show anything untill i stop the cmd.exe but if i run soft driver it show the game but once i press esc it doesnt bring me back to gameex untill i close down cmd.exe is there any way i can get this fixed so that i can use opengl

Posted

sry for posting so much i cant edit my post or even addreply only way i can post is by useing fastreply for some reason anyways i found out how to get the opengl to work i just tuned on show desktop and now it works fine

the only problem i have now is that when i press esc it closes the emulator but it doesnt bring me back to gameex untill i close cmd.exe is there any way to fix this?

Posted

Ahh, didn't know you were using OpenGL. If you use DirectX, you can leave showdesktop false. However, it's always a good idea to leave ShowDestop true until you get things stable.

GameEx should wait for cmd.exe to exit. Question is, why is it still running? Please re-post the section from gameex.ini that you are now using.

Posted

Hi Rob,

I think I would like to include a launcher.exe or generic wrapper much like your application already, with GameEx to tackle some of these problems weve talked about. Would you be interested in coding this initially, or working with me? I really would like it vb.net or c# thats the only thing.

This would be passed paramaters to handle waiting for processes to exit, and handling the map keys functions, for when not directly launching an exe. e.g for batch files and lnk files.

I dont think I want to add this functionality directly into GameEx config, as I think its already complicated enough for noobs setting up emulators. I also see it as more and advanced tool for people like yourself, or for people like yourself helping others say setup epsex. We can also document it for newbies.

What do you think?

Posted
Hi Rob,

I think I would like to include a launcher.exe or generic wrapper much like your application already, with GameEx to tackle some of these problems weve talked about. Would you be interested in coding this initially, or working with me? I really would like it vb.net or c# thats the only thing.

This would be passed paramaters to handle waiting for processes to exit, and handling the map keys functions, for when not directly launching an exe. e.g for batch files and lnk files.

I dont think I want to add this functionality directly into GameEx config, as I think its already complicated enough for noobs setting up emulators. I also see it as more and advanced tool for people like yourself, or for people like yourself helping others say setup epsex. We can also document it for newbies.

What do you think?

Rob, if you have no motivation to work with me on this, its totallly fine, I can still do it no problem, I just thought you might get a kick out of it.

Cheers.

Tom

Posted

oh i thought this was fix cuz in this new version the it actualy loads up epsxe only problem is that when i close epsxe it doesnt bring me back to gameex untill i close cmd.exe

befor when i click play a game it would open epsxe and then right away go back to gameex

i did try your program in the older version that was out at the time and it didnt work

[Emulator_2]

Enabled=True

StartPageName=PlayStation

TitleText=PlayStation

StartPageLogo=psx

RomFilter=*.bat

RomsInFolders=False

ROMPath=F:\emulation\systems\PlayStation\Games

SnapPath=C:\Program Files\OfflineList0.7\imgs\SNES - Official OfflineList

WorkingPath=F:\emulation\systems\PlayStation\Games

MapKeys=False

WaitBeforeKeys=

SendKeys=

ReplaceDash=True

ReplaceUnder=True

Capitals=True

RemoveBrackets=True

AlsoLaunch=

ShowDesktop=True

Debug=False

MapFile=

OLDatZip=C:\Program Files\OfflineList0.7\datas\snes_OL.zip

Command=cmd.exe /c "[ROMPath]\[ROMfile]"

TitlePath=G:\zsnes\titles

BoxPath=G:\zsnes\Boxscans_SNES_(USA)_28May04

LaunchBefore=C:\launchbefore.bat

LaunchAfter=pause

CartPath=G:\zsnes\CartScans SNES USA

well im gona try your program out again

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