Author Topic: Attract Mode closing when launching PS1 games  (Read 882 times)

8bitsdeep

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Attract Mode closing when launching PS1 games
« on: February 09, 2017, 03:01:13 PM »
I'm at a loss here.  Finally got around to adding my PS1 games to my AM setup, using the same layout and emulator (RetroArch) as my other systems.  However, when I launch a PS1 game, RetroArch opens and plays the game properly, but AM immediately closes.  All other systems work just fine, only my PS1 games have this problem.

If anyone has any ideas, I'd appreciate it.


akafox

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #1 on: February 09, 2017, 03:27:49 PM »
So I take it you are on a pi3?

any errors in the terminal?

8bitsdeep

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #2 on: February 09, 2017, 05:10:30 PM »
Nope, PC.  Console window closes with AM. Is there a way to output a log?

progets

  • Sr. Member
  • ****
  • Posts: 460
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #3 on: February 09, 2017, 09:46:40 PM »
Post the emulator.cfg file for PS you're using.

8bitsdeep

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #4 on: February 10, 2017, 06:59:10 AM »
Code: [Select]
# Generated by Attract-Mode v2.2.1
#
executable           ..\RetroArch\retroarch.exe
args                 -L ..\RetroArch\cores\mednafen_psx_libretro.dll "[romfilename]"
rompath              ..\games\playstation
romext               .zip;.cue
artwork    flyer           ..\boxart\playstation
artwork    marquee         
artwork    snap           
artwork    wheel           


akafox

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #5 on: February 10, 2017, 07:11:59 AM »
As far as I can tell your cfg looks fine. I want to ask if you use epsxe does attract mode crash as well?

I know I have had many problems using the mednafen_beetle core with retroarch on my pc (linux) oddly enough the arm version for the pi works very well. you say you are loading attract mode through the command line but the command line window dies too? that is weird.

progets

  • Sr. Member
  • ****
  • Posts: 460
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #6 on: February 10, 2017, 11:38:56 AM »
Use a full rom path and not a relative rom path in your emulator.cfg.

rand0m

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #7 on: February 11, 2017, 01:37:53 AM »
1) Use full path to the executable and in args.

2) If there are/is spaces in path use " at start and end of arg  i.e.  -L "path/to/core" "romfilename". 

akafox

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #8 on: February 11, 2017, 08:02:22 AM »
 ::) oh yeah I guess in windows you can't shortcut..sorry

progets

  • Sr. Member
  • ****
  • Posts: 460
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #9 on: February 11, 2017, 03:40:49 PM »
Windows is fine using relative paths for the executable and arguments but it's not fine when it comes to the rompath which needs to be a full path. If you have spaces in your executable, argument or pathname you of course need to wrap them in quotes.

8bitsdeep

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #10 on: February 12, 2017, 08:35:37 AM »
All my other systems use relative paths to everything, including roms, and work fine. So I don't see how that could be the issue? No spaces are present in my paths either.

Everything is set exactly like all my other functioning systems. Very confusing.  :-\

akafox

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #11 on: February 12, 2017, 10:54:08 AM »
Try a diferent psx emulator and see it the same thing hapens. Just to know I guess but info is what we need at this point

8bitsdeep

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #12 on: February 12, 2017, 12:26:33 PM »
Well, I tried switching RetroArch cores before bothering to install an entirely different emulator. Didn't expect it to make a difference, but it works now!  Switched from mednafen_psx_libretro to mednafen_psx_hw_libretro.

If anything, I'm more confused now, but at least it's working.

akafox

  • Hero Member
  • *****
  • Posts: 738
    • View Profile
Re: Attract Mode closing when launching PS1 games
« Reply #13 on: February 14, 2017, 08:13:56 AM »
Glad it works for you. :)

That is odd though. Sometimes we never do figure these things out...