Open ghost opened 7 years ago
I have the same problem too. Windows 7 running the latest build from the website (dated 3/8/15).
EmulationStation launches fine and then launches the game file - however when I exit, I don't return back to EmulationStation and it looks like it is no longer running. However there is a process listed in Task Manager.
I have a (hacky) workaround for this.
Save the following script as retrolaunch.bat
somewhere:
@echo off
set dll=%1
set rom=%2
set retroarch=D:\RetroArch
taskkill.exe /F /IM emulationstation.exe
start /wait %retroarch%\retroarch.exe -L "%retroarch%\cores\%dll%" %rom%
"%ProgramFiles(x86)%\EmulationStation\emulationstation.exe"
You will want to change the 4th line down to point to your RetroArch folder as it's doubtful it'll be in the same place as mine (D:\RetroArch
).
Now you need to edit your es_systems.cfg
file and change your <command>
entries to be the following so that they call this batch file instead of RetroArch:
<command>[full path to bat file we just created] [dll name] "%ROM_RAW%"</command>
for example:
<command>D:\retrolaunch.bat mednafen_supergrafx_libretro.dll "%ROM_RAW%"</command>
Now when you launch a game, EmulationStation will be killed properly and, when you exit RetroArch then you'll be returned to EmulationStation.
Emulationstation works (installed or portable), all set correctly, emulator start and exit but when i want to exit from EmulationStation, i return to windows desktop but that .exe stay on the task manager and i must close it manually.
With the installed app i don't see nothing except inside the task manager, with the portable tha .bat that i use to launche the app stay open after exit emulationstation.