Author Topic: Game Media video sound playing in backgroun after launch  (Read 3535 times)

Floyd

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Game Media video sound playing in backgroun after launch
« on: February 08, 2017, 09:26:39 PM »
Hey,
I don't know if this is a bug or I'm doing something wrong but here is my issue.
I'm trying to launch a steam game within a steam collection. My launcher script is looking like this:

Code: [Select]
executable = C:\Windows\System32\cmd.exe
arguments = /c "%ITEM_FILEPATH%"

The game launches fine but the media video still runs in the background so sound can be heard even after launching the game. I suppse RetroFe isn't stopping video playback.
In collection settings I've set my roms to have a .bat extension and the .bat file in roms folder is looking like following:
Code: [Select]
@echo off
start C:\"Program Files (x86)"\Steam\steamapps\common\Odallus\DATA\Odallus.exe


Here is the relevant log:
Code: [Select]
[2017-02-08 21:56:54] [INFO] [Menu] Found: "C:\arcade\RetroFE\collections\Steam\menu.txt"
[2017-02-08 21:56:59] [INFO] [Launcher] Checking to see if "C:\arcade\RetroFE\collections\Steam\roms\Odallus - The Dark Call.bat" exists  [Yes]
[2017-02-08 21:56:59] [INFO] [Launcher] Attempting to launch: "C:\Windows\System32\cmd.exe" /c "C:\arcade\RetroFE\collections\Steam\roms\Odallus - The Dark Call.bat"
[2017-02-08 21:56:59] [INFO] [Launcher]      from within folder: C:\Windows\System32
[2017-02-08 21:56:59] [INFO] [Launcher] Completed
[2017-02-08 21:57:15] [INFO] [SDL] DeInitializing
[2017-02-08 21:57:15] [INFO] [RetroFE] Exiting

This only happens while running Steam bat files, every other collection works fine and the media video stops playing (no sound heard) after launching the game.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Game Media video sound playing in backgroun after launch
« Reply #1 on: February 08, 2017, 10:45:11 PM »
Read this thread, please: http://www.retrofe.nl/SMF/index.php?topic=86.0
This is not a RetroFE issue; your launcher returns immediately, causing RetroFE to think that your game was closed, and that it can continue.

Sent from my SM-G920F using Tapatalk


Floyd

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Re: Game Media video sound playing in backgroun after launch
« Reply #2 on: February 09, 2017, 08:15:17 PM »
I've read the topic but couldn't be any wiser. Tried to follow some suggestions from there but still no go... :(

EDIT:
I just gave up and used Rocketlauncher to launch my Steam games.
« Last Edit: February 09, 2017, 08:27:57 PM by Floyd »

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Game Media video sound playing in backgroun after launch
« Reply #3 on: February 09, 2017, 08:33:10 PM »
RL is generally a good way to go anyway if you use Windows.

Sent from my SM-G920F using Tapatalk