Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: ToeMath on May 19, 2021, 10:00:19 AM
-
Hello
Has anyone had trouble using SSF together with SSFLoader in AM?
When I launch a game and go back to the game selection with the assigned key, AM goes into the background on blackscreen.
this is my configuration:
executable cmd
args /c G: & cd "G:\Saturn" & start /wait SSFLoader.exe "[romfilename]"
workdir G:\Saturn
rompath G:\Saturn\roms
romext .chd
nb_mode_wait 5
I have tried running a .bat file with a set of instructions, so that SSFLoader is constantly running in the background. with the intention that when going back the frontend shows something but it did not work
i use SSF r15
sorry for my english, i'm using a translator
-
Did you set resfix-plugin? Here (http://forum.attractmode.org/index.php?topic=3771.msg25988#msg25988)
Why do you use cmd?
Do ssf not start directly?
something like this?
executable G:\Saturn\SSFLoader.exe
args "[romfilename]"
rompath G:\Saturn\roms
romext .chd
-
SSF cannot read games in CHD if SSFLoader does not execute the instruction. they are independent, when I launch a game in CHD format, what SSFLoader does is give the instructions to the emulator so that it can run the game, and after a few seconds it disappears, then SSF emulates perfectly but if I exit the game AM it does not react, and I have to kill the process manually.
AM, when waiting for the process to close, which closes automatically, does not return.
that's why I don't put SSFLoader as direct executable.
-
the problem with batch is:
if you press the AM Exit button, you only kill the Batch/.bat/commandline.
and not the emulator, that you start with the batch before.
different solutions:
start emulator directly, instead using batch
OR
start a external software/script together, that waits for Exit-button and kills the emulator (similar to OpenBOR. see section OpenBOR here (http://forum.attractmode.org/index.php?topic=503.msg4231#msg4231)).
OR
use this AM-plugin to start a script before and after the emulation. See here (http://forum.attractmode.org/index.php?topic=3918.0)
-
ok, i try it, thanks