Author Topic: SSF Problem  (Read 4567 times)

ToeMath

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
SSF Problem
« 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:

Code: [Select]
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

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: SSF Problem
« Reply #1 on: May 19, 2021, 12:32:37 PM »
Did you set resfix-plugin? Here

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
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

ToeMath

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: SSF Problem
« Reply #2 on: May 19, 2021, 01:47:44 PM »
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.
« Last Edit: May 19, 2021, 01:49:37 PM by ToeMath »

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: SSF Problem
« Reply #3 on: May 27, 2021, 11:45:51 AM »
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).

OR

use this AM-plugin to start a script before and after the emulation. See here
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

ToeMath

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: SSF Problem
« Reply #4 on: May 29, 2021, 11:42:47 AM »
ok, i try it, thanks