[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam)
2 posters
RETROBAT Board :: - ENGLISH - :: Tuto
Page 1 of 1
[TUTO] 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.
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Settin10](https://i.servimg.com/u/f80/20/13/08/91/settin10.png)
You will then find your game id at the top left in the address bar, from the store page.
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Steam_10](https://i.servimg.com/u/f80/20/13/08/91/steam_10.png)
Then find the game executable as follows:
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Deskto13](https://i.servimg.com/u/f80/20/13/08/91/deskto13.png)
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Deskto12](https://i.servimg.com/u/f80/20/13/08/91/deskto12.png)
Finally, report these two pieces of information in your.bat file as follows:
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) _c_use11](https://i.servimg.com/u/f80/20/13/08/91/_c_use11.png)
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.
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Settin10](https://i.servimg.com/u/f80/20/13/08/91/settin10.png)
You will then find your game id at the top left in the address bar, from the store page.
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Steam_10](https://i.servimg.com/u/f80/20/13/08/91/steam_10.png)
Then find the game executable as follows:
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Deskto13](https://i.servimg.com/u/f80/20/13/08/91/deskto13.png)
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) Deskto12](https://i.servimg.com/u/f80/20/13/08/91/deskto12.png)
Finally, report these two pieces of information in your.bat file as follows:
![[TUTO] Add Steam games to RetroBat (or any game from EPIC or other via steam) _c_use11](https://i.servimg.com/u/f80/20/13/08/91/_c_use11.png)
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
triki1- Messages : 20
Date d'inscription : 2021-02-10
lehcim likes this post

» [TUTO] Ajouter un jeu Steam à Retrobat (ou n'importe quel jeu depuis EPIC ou autre via steam)
» [RESOLVED] steam games
» Es. continues to run when STEAM games are released.
» Steam Deck Support
» [SUJET CLOS] jeux steam
» [RESOLVED] steam games
» Es. continues to run when STEAM games are released.
» Steam Deck Support
» [SUJET CLOS] jeux steam
RETROBAT Board :: - ENGLISH - :: Tuto
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|