[TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
4 posters
Page 1 of 1
[TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
Hello,
To launch Steam games with RetroBat, and waiting for kill steam process, i give you this solution:
Create a .bat file with a scrapable name for your game or download a template WITH STEAM KILL or WITHOUT STEAM KILL:
You have 2 possibilities, quit Steam at the end of each game or not, both work since it seems that emulationstation is waiting on the end of the execution of the script to reactivate.
The solution without switching off Steam launches the games faster since the connection step is no longer to be done once launched for the first time or if Steam is launched when Windows starts.
I also offer you the ones I already have, they have no kill, if you have the game on steam, just put the corresponding .bat in your windows folder.
Scripts Retrobat Steam
This is code you will find in this file with Steam kill:
This is code you will find in this file without Steam kill:
All you need is to inquire Steam game ID and executable name, proceed as follows:
Open steam then check "Activate Steam address bar when available", also make sure that Steam does not start in big picture mode.
You will then find your game id at the top left in the address bar, from the store page.
Then find the game executable as follows:
Finally, report these two pieces of information in your.bat file as follows:
Now Retrobat can launch the game, the script will wait until the end of the game process to quit steam and thus allow a return to Emulationstation.
Video examples:
With Steam kill and graphical bugs
Without Steam kill, no graphical bugs
GAMES FROM EPIC GAMES OR ANY OTHERS VIA STEAM:
You can also use epic games or other games via steam in the same way, use the "add a non-steam game" function and once the game has been added to steam right click on the game then MANAGE / CREATE A SHORTCUT ON THE DESKTOP then go find its properties from the desktop with a right click and copy the ID that Steam created for this game and then edit your .bat file in the same way.
To launch Steam games with RetroBat, and waiting for kill steam process, i give you this solution:
Create a .bat file with a scrapable name for your game or download a template WITH STEAM KILL or WITHOUT STEAM KILL:
You have 2 possibilities, quit Steam at the end of each game or not, both work since it seems that emulationstation is waiting on the end of the execution of the script to reactivate.
The solution without switching off Steam launches the games faster since the connection step is no longer to be done once launched for the first time or if Steam is launched when Windows starts.
I also offer you the ones I already have, they have no kill, if you have the game on steam, just put the corresponding .bat in your windows folder.
Scripts Retrobat Steam
This is code you will find in this file with Steam kill:
- Code:
@echo OFF
REM HERE MODIFY YOUR STEAM APPID:
START steam://rungameid/000000
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE RIGHT NAME OF THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "Mygame.exe" > nul
if %errorlevel%==1 timeout /t 5 & taskkill /F /IM Steam.exe /T & GOTO ENDLOOP
timeout /t 2
GOTO RUNNING
:ENDLOOP
This is code you will find in this file without Steam kill:
- Code:
@echo OFF
REM HERE MODIFY YOUR STEAM APPID:
START steam://rungameid/000000
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE RIGHT NAME OF THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "Mygame.exe" > nul
if %errorlevel%==1 timeout /t 5 & GOTO ENDLOOP
timeout /t 2
GOTO RUNNING
:ENDLOOP
All you need is to inquire Steam game ID and executable name, proceed as follows:
Open steam then check "Activate Steam address bar when available", also make sure that Steam does not start in big picture mode.
You will then find your game id at the top left in the address bar, from the store page.
Then find the game executable as follows:
Finally, report these two pieces of information in your.bat file as follows:
Now Retrobat can launch the game, the script will wait until the end of the game process to quit steam and thus allow a return to Emulationstation.
Video examples:
With Steam kill and graphical bugs
Without Steam kill, no graphical bugs
GAMES FROM EPIC GAMES OR ANY OTHERS VIA STEAM:
You can also use epic games or other games via steam in the same way, use the "add a non-steam game" function and once the game has been added to steam right click on the game then MANAGE / CREATE A SHORTCUT ON THE DESKTOP then go find its properties from the desktop with a right click and copy the ID that Steam created for this game and then edit your .bat file in the same way.
Last edited by lehcim on 17/06/21, 11:18 pm; edited 7 times in total
lehcim- Messages : 51
Date d'inscription : 2019-10-28
Lorenzolamas, triki1 and Drodrik like this post
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
Yes super merci
triki1- Messages : 20
Date d'inscription : 2021-02-10
lehcim likes this post
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
hello, excellent guide, when I close a game, it stays still on the 'ES' screen and does not go back to the game selection
vitouchiha- Messages : 16
Date d'inscription : 2023-03-20
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
What exactly did you put in your bat file ?
tartifless- Admin
- Messages : 1674
Date d'inscription : 2021-04-27
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
tartifless wrote:What exactly did you put in your bat file ?
@echo OFF
REM HERE MODIFY YOUR STEAM APPID:
START steam://rungameid/13276202030361214976
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE RIGHT NAME OF THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "FortniteClient-Win64-Shipping.Ink" > nul
if %errorlevel%==1 timeout /t 5 & GOTO ENDLOOP
timeout /t 2
GOTO RUNNING
:ENDLOOP
vitouchiha- Messages : 16
Date d'inscription : 2023-03-20
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
This line is not correct:
tasklist|findstr "FortniteClient-Win64-Shipping.Ink"
You should remove the extension and ensure the process name is correct.
It must be exactly equal to the process name appearing in the process list of windows when you do ctrl + alt + del
tasklist|findstr "FortniteClient-Win64-Shipping.Ink"
You should remove the extension and ensure the process name is correct.
It must be exactly equal to the process name appearing in the process list of windows when you do ctrl + alt + del
tartifless- Admin
- Messages : 1674
Date d'inscription : 2021-04-27
vitouchiha likes this post
Re: [TUTO - OBSOLETE] Add Steam games to RetroBat (or any game from EPIC or other via steam)
tartifless wrote:This line is not correct:
tasklist|findstr "FortniteClient-Win64-Shipping.Ink"
You should remove the extension and ensure the process name is correct.
It must be exactly equal to the process name appearing in the process list of windows when you do ctrl + alt + del
tartifless wrote:Can you paste your bat file content here ?
Hi all , problem solved , I modified the BAT file, inserting as Task files to close, the executable I saw in the taskmanager
example
I hope it can help others
@echo OFF
REM HERE MODIFY YOUR STEAM APPID:
START steam://rungameid/13276202030361214976
TIMEOUT /t 30
:RUNNING
REM HERE YOU MUST ENTER THE RIGHT NAME OF THE EXECUTABLE, FOR EXAMPLE: "MyGame.exe"
tasklist|findstr "Fortnite.exe" > nul
if %errorlevel%==1 timeout /t 60 & GOTO ENDLOOP
timeout /t 60
GOTO RUNNING
:ENDLOOP
vitouchiha- Messages : 16
Date d'inscription : 2023-03-20
Similar topics
» [TUTO] Ajouter un jeu Steam à Retrobat (ou n'importe quel jeu depuis EPIC ou autre via steam)
» [TUTO] Lancer Steam, juste steam, à partir de Retrobat
» Auto Import Steam/Epic/GoG Games?
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» Steam games don't run well
» [TUTO] Lancer Steam, juste steam, à partir de Retrobat
» Auto Import Steam/Epic/GoG Games?
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» Steam games don't run well
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum