Jump to content
LaunchBox Community Forums

problems launching .bat files from emulationstation for windows


makaveeti

Recommended Posts

Hi,

Apologies guys, I'll describe my issue more clearly. I'm using the latest build of EmulationStation on Windows 7 x64.

I've configured the systems I wish to emulate.

I'm trying to configure the launching of simple windows games (streets of rage remake in this instance).

My es_systems.cfg entry for windows games looks like this:

   	<system>
	<name>windows</name>
	<fullname>Windows</fullname>
	<path>~\.emulationstation\roms\windows</path>
	<extension>.lnk</extension>
	<command>"%ROM%"</command>
	<platform>windows</platform>
	<theme>windows</theme>	
</system>

I have the windows game streets of rage remake (folder labelled sorr) in the roms folder.

In the root roms folder I made a windows shortcut (.lnk) to the exe in the sorr folder. I tested this in ES and it launched perfectly.

I then created a windows shortcut in the root roms folder to a .bat file in the sorr folder. The bat file contains the following code:

@echo off
start sorr.exe
exit

When I execute this .bat file within windows, the game launches perfectly. Full screen and starts playing.

When I execute the same from ES, the game launches however the result is a odd. The screen resolution is resized as per the game however I only see my desktop (with ES and the game running in the background) (see screenshot).

It feels like EmulationStation doesn't like .bat files. I replicated the exact same configuration in RetroFE and that works perfectly.

The reason why I need to use a batch file is that I need to launch 2 exes files for my windows games (1st exe is the game, 2nd is an AHK script in the form of an exe file).

Any ideas please?

screen.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...