2013-07-22, 02:34
(2013-07-21, 03:23)dishwater63 Wrote: 1 more side question. Is there a way to clean up the transition from xbmc to the emulator? There's no error, it launches the emulator just fine, but when the screen goes black there's a small terminal box that pops up, then the game launches. Same with closing the emulator. Just curious, it's not a big issue. Don't know if there's a certain bat file that's running in the background if I could squeeze a /silence in the code so the box doesn't pop up at all.
I have been using a VB script to hide terminal windows, but I've been unable to get it to work with RCB as applaunch-vbs.bat needs to be run via the VB script and arguments passed on. A windows pops up for a fraction of a second the disappears.
launchhidden.vbs:
Code:
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
I've also removed the timeouts in applaunch-vbs.bat to speed things up. Hasn't caused me any issues.
Code:
@echo off
Title Running %*
set XBMCLaunchCmd="C:\Program Files (x86)\XBMC\XBMC.exe"
echo Stopping XBMC...
echo.
taskkill /f /IM xbmc.exe>nul 2>nul
echo Starting %*...
echo.
%*
echo Restarting XBMC...
cscript //B //Nologo "%appdata%\XBMC\userdata\addon_data\script.games.rom.collection.browser\scriptfiles\LaunchXBMC.vbs" %XBMCLaunchCmd%
(2013-07-21, 13:42)Uukrul Wrote:(2013-07-20, 10:45)malte Wrote: You could edit config.xml manually and remove the content of emulatorCmd. This will just invoke the .bat files. Your emulatorCmd should look like this:
Code:<emulatorCmd></emulatorCmd>
Please show me logs of your other issues. Otherwise I can't help.
IIRC, the addon can't launch .bat files that way
Launching bat files with emulatorCmd works for me, have you tried it?