Author Topic: PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG [SOLVED]  (Read 6439 times)

amzg79

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG [SOLVED]
« on: January 26, 2017, 03:55:30 AM »
Hi!!!

I'm using AM with Retroarch (SNES, NES, MAME2014, MEGADRIVE, MASTER SYSTEM and PC ENGINE) in win10.

Until now it works perfects, I use one overlay (borders) for all systems,  in "retroarch.cfg" adding input_overlay = ":\overlays\tv.cfg" runs smoothly.

But now in MAME2014 I want to use overlays (borders) for each game.

To do that, in Retroarch folder (RetroArch\config\mame 2014) I need to add a config file (e.g.  ghouls.cfg) for each game to overwrite the default options in retroarch.ini.

The CFG file, that choose overlay/border for each game and overwrites the default option (retroarch.ini) contains only this line:

Code: [Select]
input_overlay = ":\overlays\mame\ghouls.cfg"

The problem is that if a cfg file exists (e.g. RetroArch\config\mame 2014\ghouls.cfg) and I launch this game, AM suddenly closes and is not kept in the background, I don't understand why this happens.... :'( :'(

any help?

THANX!!!!

« Last Edit: January 30, 2017, 02:54:31 AM by amzg79 »

amzg79

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG
« Reply #1 on: January 27, 2017, 09:36:34 AM »
I've recorded a video to show the problem

https://www.youtube.com/watch?v=JgsWS73lLAk

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG
« Reply #2 on: January 28, 2017, 03:48:41 PM »
You might get a faster or better answer on the retroarch fourm. That is not an Attract mode issue.

https://github.com/libretro/RetroArch/wiki/Overlay-image-configuration

https://retropie.org.uk/forum/topic/7484/adding-additional-overlays/8

https://forums.libretro.com/search?q=overlays

So when you make changes to the cfg..they don't save..is what you are saying?
« Last Edit: January 28, 2017, 04:29:19 PM by akafox »
People want life easy..then complain about it

amzg79

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG
« Reply #3 on: January 29, 2017, 02:25:01 AM »
You might get a faster or better answer on the retroarch fourm. That is not an Attract mode issue.

https://github.com/libretro/RetroArch/wiki/Overlay-image-configuration

https://retropie.org.uk/forum/topic/7484/adding-additional-overlays/8

https://forums.libretro.com/search?q=overlays

So when you make changes to the cfg..they don't save..is what you are saying?

Thanks for reply!

No, this is not the problem, the cfg works fine.

When I launch a game, which has its own configuration in Retroarch, Attract Mode is suddenly closed, I think is an Attract Mode issue and not Retroarch. Retroarch works fine.

In this video you can see that AM suddenly closes when I run Final Fight
https://www.youtube.com/watch?v=JgsWS73lLAk

« Last Edit: January 29, 2017, 02:36:47 AM by amzg79 »

amzg79

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: PROBLEM with AM + Retroarch + Custom Game OVERLAY CFG
« Reply #4 on: January 30, 2017, 02:54:13 AM »
 ;D ;D ;D ;D ;D ;D

After trying different things, I finally found the solution.

Instead of allowing Retroarch to load the specific configuration of each game, overwriting the configuration, which made AM close, what I have done is to make AM say in each game that additional configuration (overlay, rotation, etc. ) must be charged directly.

Just in AM in the configuration of the emulator I added this argument valid for any game:

Quote
--appendconfig "c:\Emulators\systems\RetroArch\config\[name].cfg"

Leaving the configuration file like this:

Quote
# Generated by Attract-Mode v2.2.1
#
Executable c:\Emulators\systems\RetroArch\retroarch.exe
Args -L "c:\Emulators\systems\RetroArch\cores\mame2014_libretro.dll" --appendconfig "c:\Emulators\systems\RetroArch\config\[name].cfg" "[romfilename]"
Rompath c:\Emulators\systems\mame2014\roms\
Romext .zip


I hope this works for somebody.

Thank you all!