Background music for windows games
+2
tartifless
AngelDavil88
6 posters
Page 1 of 1
Background music for windows games
Good evening, I have a problem with Windows games. While I'm playing after a couple of seconds I hear the background music of retrobat and sometimes the frontend opens on its own. Is there a solution for this? I tried changing the sdl in the emulationstation folder but nothing changed! Thank you!
AngelDavil88- Messages : 13
Date d'inscription : 2024-04-25
Re: Background music for windows games
We will fix this with next version.
The difficulty with windows games is that Retrobat must define what process it is waiting to end.
And as you can imagine not all executables are the same than the game process name.
In next version we'll offer ability to add a file near the game shortcut that specifies the process to wait for and fix an issue we have identified for windows game more generally.
The difficulty with windows games is that Retrobat must define what process it is waiting to end.
And as you can imagine not all executables are the same than the game process name.
In next version we'll offer ability to add a file near the game shortcut that specifies the process to wait for and fix an issue we have identified for windows game more generally.
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
AngelDavil88 likes this post
Re: Background music for windows games
Has this issue been resolved in 6.2? In the changelog I saw that you can add a file called .gameexe next to the link and put the path to the game .exe inside. I did this but the problem doesn't seem to be resolved. After about a minute, ES comes to the foreground and I hear background music. Am I doing something wrong? An example of a .gameexe file? Thank youtartifless wrote:We will fix this with next version.
The difficulty with windows games is that Retrobat must define what process it is waiting to end.
And as you can imagine not all executables are the same than the game process name.
In next version we'll offer ability to add a file near the game shortcut that specifies the process to wait for and fix an issue we have identified for windows game more generally.
AngelDavil88- Messages : 13
Date d'inscription : 2024-04-25
Re: Background music for windows games
Hello
For the moment the explanation on the wiki isn't yet available, and a long weekend is above us. So need to wait a little bit more
For the moment the explanation on the wiki isn't yet available, and a long weekend is above us. So need to wait a little bit more
getupor- Admin
- Messages : 1388
Date d'inscription : 2020-10-04
AngelDavil88 likes this post
Re: Background music for windows games
AngelDavil88 wrote:Has this issue been resolved in 6.2? In the changelog I saw that you can add a file called .gameexe next to the link and put the path to the game .exe inside. I did this but the problem doesn't seem to be resolved. After about a minute, ES comes to the foreground and I hear background music. Am I doing something wrong? An example of a .gameexe file? Thank youtartifless wrote:We will fix this with next version.
The difficulty with windows games is that Retrobat must define what process it is waiting to end.
And as you can imagine not all executables are the same than the game process name.
In next version we'll offer ability to add a file near the game shortcut that specifies the process to wait for and fix an issue we have identified for windows game more generally.
Having not tested or been confronted with the problem, I am not able to verify.
But what I understand is that the name of the .gameexe file must be in the name of the executable. So if the .exe file is called foto.exe then it must be written foo. gameexe
Do you have an example game I could try?
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
Re: Background music for windows games
I tried to put the .gameexe file with the path inside but it doesn't work or I'm doing something wrong. I tried the 3 house of the dead and after a while they all return to ES in the background and I hear the background music!Aynshe wrote:AngelDavil88 wrote:Has this issue been resolved in 6.2? In the changelog I saw that you can add a file called .gameexe next to the link and put the path to the game .exe inside. I did this but the problem doesn't seem to be resolved. After about a minute, ES comes to the foreground and I hear background music. Am I doing something wrong? An example of a .gameexe file? Thank youtartifless wrote:We will fix this with next version.
The difficulty with windows games is that Retrobat must define what process it is waiting to end.
And as you can imagine not all executables are the same than the game process name.
In next version we'll offer ability to add a file near the game shortcut that specifies the process to wait for and fix an issue we have identified for windows game more generally.
Having not tested or been confronted with the problem, I am not able to verify.
But what I understand is that the name of the .gameexe file must be in the name of the executable. So if the .exe file is called foto.exe then it must be written foo. gameexe
Do you have an example game I could try?
AngelDavil88- Messages : 13
Date d'inscription : 2024-04-25
Re: Background music for windows games
It's not the path that should be put but the name of the .exe or process that is running when the game runs.
But first you need to know the process to monitor
But first you need to know the process to monitor
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
AngelDavil88 likes this post
Re: Background music for windows games
I tried putting several files next to the original game link (The House of the Dead 3 (Arcade Mod)) in the windows folder such as:
hod3pc.gameexe
hod3pc.exe.gameexe
The House of the Dead 3 (Arcade Mod).gameexe
Inside each file I also inserted the name of the process (hod3pc.exe). But I didn't solve it, after about a minute it automatically goes back to Retrobat leaving the game in the background.
hod3pc.gameexe
hod3pc.exe.gameexe
The House of the Dead 3 (Arcade Mod).gameexe
Inside each file I also inserted the name of the process (hod3pc.exe). But I didn't solve it, after about a minute it automatically goes back to Retrobat leaving the game in the background.
AngelDavil88- Messages : 13
Date d'inscription : 2024-04-25
Re: Background music for windows games
Can you :
1) Screenshot your roms\windows folder
2) Send your emulatorlauncher.log file after running this game
1) Screenshot your roms\windows folder
2) Send your emulatorlauncher.log file after running this game
tartifless- Admin
- Messages : 1642
Date d'inscription : 2021-04-27
Re: Background music for windows games
Ok, but we'll talk about it next week now! Cause work!
AngelDavil88- Messages : 13
Date d'inscription : 2024-04-25
Re: Background music for windows games
Hello all,
I have a similar issue that the music starts to play once the ES screen goes back.
(the windows with big ES in it, goes back to Retrobat after 1 minute and starts to play music again)
For .exe I do not do anything and all works okay (thus without the .gameexe file)
but I start a mame.bat file first, which starts the mame.exe (see script below)
[EDIT. I renamed the .bat to mame.bat, also tried MAME.bat and put mame.gamexe and mame.uwv
and mame.exe.gameexe and mame.exe.uwv and mame.bat.gameexe and mame.bat.uwv)
with tasklist I see mame.exe (lowercase)
in windows task manager I see MAME (uppercase without .exe)
Content of the Batch file (to start the Myarc Geneve 9640 system)
REM -mouseprovider auto/rawinput/dinput/win32
rem -mouseprovider dinput -colorbus busmouse
@echo off
C:
cd \GAMES
cd mame
type Gkeys.txt
mame.exe geneve -nokeepaspect -skip_gameinfo -bios 1.00 -mouseprovider dinput -colorbus busmouse -peb:slot4 speech -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -hard1 disks\OS7.hd -hard2 disks\FDRIVE.hd -flop1 disks\DSKABOOT.dsk
REM older Mame version works
REM mame64.exe geneve -nokeepaspect -bios 1.00 -skip_gameinfo -mouseprovider dinput -colorbus busmouse -peb:slot4 speech -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -hard1 disks\OS7.hd -hard2 disks\FDRIVE.hd -flop1 disks\DSKABOOT.dsk
REM %*
I have a similar issue that the music starts to play once the ES screen goes back.
(the windows with big ES in it, goes back to Retrobat after 1 minute and starts to play music again)
For .exe I do not do anything and all works okay (thus without the .gameexe file)
but I start a mame.bat file first, which starts the mame.exe (see script below)
[EDIT. I renamed the .bat to mame.bat, also tried MAME.bat and put mame.gamexe and mame.uwv
and mame.exe.gameexe and mame.exe.uwv and mame.bat.gameexe and mame.bat.uwv)
with tasklist I see mame.exe (lowercase)
in windows task manager I see MAME (uppercase without .exe)
Content of the Batch file (to start the Myarc Geneve 9640 system)
REM -mouseprovider auto/rawinput/dinput/win32
rem -mouseprovider dinput -colorbus busmouse
@echo off
C:
cd \GAMES
cd mame
type Gkeys.txt
mame.exe geneve -nokeepaspect -skip_gameinfo -bios 1.00 -mouseprovider dinput -colorbus busmouse -peb:slot4 speech -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -hard1 disks\OS7.hd -hard2 disks\FDRIVE.hd -flop1 disks\DSKABOOT.dsk
REM older Mame version works
REM mame64.exe geneve -nokeepaspect -bios 1.00 -skip_gameinfo -mouseprovider dinput -colorbus busmouse -peb:slot4 speech -peb:slot8 hfdc -peb:slot8:hfdc:h1 generic -peb:slot8:hfdc:h2 generic -hard1 disks\OS7.hd -hard2 disks\FDRIVE.hd -flop1 disks\DSKABOOT.dsk
REM %*
globeron- Messages : 43
Date d'inscription : 2023-07-08
Re: Background music for windows games
Hi All,
I'm facing the same issue where executing a .bat file to start a game will eventually have emulation station start playing music in the background and was hoping someone would have an example of using a
.gameexe file to fix the issue.
I'm facing the same issue where executing a .bat file to start a game will eventually have emulation station start playing music in the background and was hoping someone would have an example of using a
.gameexe file to fix the issue.
dayoung- Messages : 1
Date d'inscription : 2024-06-04
Re: Background music for windows games
dayoung wrote:Hi All,
I'm facing the same issue where executing a .bat file to start a game will eventually have emulation station start playing music in the background and was hoping someone would have an example of using a
.gameexe file to fix the issue.
.gameexe only works for .lnk that does not point to an .exe
https://discord.com/channels/748519802255179917/908673364959301662/1238973728272941197
Tartifless — 11/05/2024 23:59 wrote:
Using .gameexe only works with .lnk game files and only if the target of the lnk is not an executable (for example for windows gamepass games or uwp shortcuts).
If your game is a .exe or a link pointing to a .exe, Retrobat will monitor this exact .exe.
Aynshe- Messages : 432
Date d'inscription : 2022-03-18
dayoung likes this post
Similar topics
» Background Music (Fade in/out when game loads) and (Continue playing music)
» Background music doesn't play
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» Games and music too slow
» Ps1 games don't play in game music
» Background music doesn't play
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» Games and music too slow
» Ps1 games don't play in game music
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum