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. Thank you for your support. Tom Speirs

Patreon

Running Batch Files in GameEx


Marker0077

Recommended Posts

I have a batch file that mounts a CD image & then launches my game. I've tested the batch file & it works fine but for some reason this does not work in GameEx. Doesn't mount the image or launch the game. Any suggestions?

Thanks in advance.

Link to comment
Share on other sites

I hate batch files. I'm using them to run all my SegaCD games so I can keep them stored in seperate folders. If only Tom would fix the "In Folders?" part of the configurator I'd be set. As for you, we need a little more detail as to what you're doing to figure out what you're doing wrong. One suggestion would be to have the option "Show Desktop" turned on so it's not just a black screen and you can kinda see whats going on. Another thing is to use the debug mode. It should shed some light on what the heck is going on. Lastly, you have to remember that batch files load batch files instantly. GameEx launches a batch file to run the games, and if the GameEx batch file is calling another batch file, the call will be instantaneous. So.. if your batch file has batch files in there.. it's not going to work the same way. EVERYTHING will get launched instantly. I first realized this when I made a batch file to automatically enable my specified controller profile (one batch file) then launch the game (another batch file) and then disable to profile (last batch file). So 3 batch files, 3 lines, all stored in 1 batch file. Basically it enabled, launched, and disabled all at once, and my profile didn't work. If I remember right, I think GameEx crashed too because it got hung up at all the launching. So try to remember that in your batch file making.

Link to comment
Share on other sites

Here's the batch file I am using...

[bATCH FILE BEGIN]

@echo off

"D:\Program Files\Alcohol Soft\Alcohol 120\AxCmd.exe" H: /M:"D:\CD's and Installers\Gaming\Prince of Persia - The Two Thrones\POPT2T.mds"

"D:\Gaming\Ubisoft\Prince of Persia T2T\PrinceOfPersia.exe"

[bATCH FILE END]

Out of GameEx it works fine. In GameEx, doesn't even so much as mounts the CD image. Specifically because you said GameEx uses other batch files, I tried using the "call" (if one batch files starts another batch file without using this command, the primary batch file gets broken off) command when launching this batch file - still no luck. As for the GameEx part, I do have show desktop on & I have map keys disabled. Everything else is pretty self-explanitory.

LATE EDIT:

/me = dumbass.

I figured it out. I had the batch file in a seperate path, therefore it didn't work. Thanks anyways guys

Link to comment
Share on other sites

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