game-start scripts for one game only
2 posters
Page 1 of 1
game-start scripts for one game only
Hi,
I was looking through the forum and saw a couple of other threads similar to my question but couldn't find the answer I was looking for.
I have a .bat file in the game-start folder and it works as intended however I only need that script to load for game only in my windows section.
Is there a way of naming the .bat file so it only takes affect when said game is loaded.
Thanks.
I was looking through the forum and saw a couple of other threads similar to my question but couldn't find the answer I was looking for.
I have a .bat file in the game-start folder and it works as intended however I only need that script to load for game only in my windows section.
Is there a way of naming the .bat file so it only takes affect when said game is loaded.
Thanks.
zokisyxx- Messages : 13
Date d'inscription : 2023-02-02
Re: game-start scripts for one game only
Why don't you just use the .bat in question to launch your script and then the game? All you need to do is add a command to the batch so that it waits for your game to close before closing itself and returning to retrobat.
Otherwise, the %* argument in game-start script is the basis for recording the name of a game that has been run. You need to retrieve the value of interest in its result to target your game and launch your code.
My script here does this to execute commands for demulshooter depending on the game and a few options. The source code is available from github. https://archive.org/download/retrobat-script-demulshooter-packes-custom-nixx.-7z
Otherwise, the %* argument in game-start script is the basis for recording the name of a game that has been run. You need to retrieve the value of interest in its result to target your game and launch your code.
My script here does this to execute commands for demulshooter depending on the game and a few options. The source code is available from github. https://archive.org/download/retrobat-script-demulshooter-packes-custom-nixx.-7z
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
Re: game-start scripts for one game only
OK, I'll take a look and see if I can work it out. Thanks.
zokisyxx- Messages : 13
Date d'inscription : 2023-02-02
Similar topics
» [RESOLVED] 3ds game doesn't start, only Citra game list. NDS Desmume no full screen.
» Model 2 game can't start
» ES game-start script question
» I launch mame game, it does not start
» [RESOLVED] Start + Select to quit game no longer working for non retroarch emulators.
» Model 2 game can't start
» ES game-start script question
» I launch mame game, it does not start
» [RESOLVED] Start + Select to quit game no longer working for non retroarch emulators.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum