Posts: 172
Joined: Dec 2011
Reputation:
3
Hi,
is there a way of getting a command to run after the emulator has been quit?
The reason being I always have to turn my hi-fi amp down when playing games, as their sound is much louder than my replaygain'd music. So, I'd like to run a command before starting the emulator to change the windows sound level, and then another command to return the sound level to normal upon returning to XBMC. I'd been playing with pre-launch and post-launch commands, but had no luck, as I'd misunderstood post-launch to mean "after the emulator has quit" instead of "after launching the emulator".
Posts: 4
Joined: Jan 2014
Reputation:
0
I have tried everything I can before giving in and posting. I use rcb no problem in solo mode for various emulators, got pc games added as well, but there in lies the problems. I have no clue why but windows games won't run in solo mode, the best I can get is the game starting and xbmc immediately reopening. (It does close) What might be the cause of that? I use the vb script, because without it xbmx won't open (it says something about cannot create xbmc closing, something like that)
Ive tried the regular script, vb script, escape emulator cmd etc etc, xbmc always immediately restarts after opening a windows game. Any ideas?
Posts: 20
Joined: Mar 2013
Reputation:
0
Using nestopia/xbmc/win7 64bit when the program opens everything is fine for a few seconds then nestopia plays behind xbmc and I can't play a game. ANyone else have this problem or solution.
Thanks in advance
Posts: 4
Joined: Jan 2014
Reputation:
0
2014-02-01, 16:46
(This post was last modified: 2014-02-01, 16:55 by kyle007.)
Well, I successfully got it working, using autoit itself, but I don't know where I'd add it in rcb? I tried edit game command to point to my compiled autoit exe, is that wrong? Like once I have an autoit script, how would I go about using it in rcb? (Note, I've used autoit for pcsx2, it's not foreign to me, but I don't know how to invoke it for individual pc games)
edit: Just a note, if it helps, running the exe for my game didn't work with autoit, neither did using ShellExecute on the exe, I had to use ShellExecute on the .lnk for autoit to work properly.
Posts: 3,544
Joined: Mar 2010
Reputation:
119
2014-02-03, 00:14
(This post was last modified: 2014-02-03, 00:16 by teeedubb.)
What I do is place all the compiled exe's in one folder and treat them as Roms (ie named after the game they launch). Use explorer.exe as your emulator, *.exe files as Roms and point rcb to the folder with the autoit exe's. When you add a new exe to the folder update in rcb to add the game to rcb.
As for the exe not working it may have to do with the working directory - you may need to be in the directory the game is in before running the exe.