Author Topic: Help with portable Attract Mode & Retroarch  (Read 5859 times)

Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Help with portable Attract Mode & Retroarch
« on: May 10, 2017, 07:46:02 AM »
Hi,

I have problems to run Retroarch inside AM folder.

executable           Emu/RetroArch/retroarch.exe
args                 -L ./Emu/Retroarch/cores/fbalpha_libretro.dll "[romfilename]"
rompath              Games/Final Burn Alpha

The problem resides in args line, because i don't want to specify any directory to not loose the portability.

It only happens with Retroarch.

There's a fix for this?

Thanks in advance.


Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #1 on: May 13, 2017, 02:59:34 AM »
If someone can help.

I have looked this post  http://forum.attractmode.org/index.php?topic=387.0 and i can't launch retroarch using:

executable           Emu/RetroArch/retroarch.exe
args                 -L cores/fbalpha_libretro.dll "..\[romfilename]"
rompath              Games/Final Burn Alpha

I see people are using relative paths, how does it work? It can solve my problem? I have tried with no luck.

Looking for info i have found a guy who uses the sentence @FILE or $FILE at the begginning of line, like this:

args                 @FILE -L cores/fbalpha_libretro.dll "..\[romfilename]"

It can help me?

Thanks in advance.

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #2 on: May 13, 2017, 10:47:35 AM »
I have  attractmode in the root with a folder addons inside attractmode...
i.e. c:\attractmode\addons\retroarch

This is my emulator cfg for nes...I can move attractmode to any root drive and it works.

Hope the following helps:

___________________________
executable           addons/retroarch/retroarch
args                 -L cores\nestopia_libretro.dll "[romfilename]"
rompath              ..\..\..\attractmode\addons\nes\roms\
romext               .zip;.nes
system               Nintendo;NES;Famicom
info_source          thegamesdb.net
artwork    flyer           ../../attractmode/scraper/nes/flyer
artwork    marquee         ../../attractmode/scraper/nes/marquee
artwork    snap            ../../attractmode/scraper/nes/snap
artwork    wheel           ../../attractmode/scraper/nes/wheel

Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #3 on: May 13, 2017, 12:56:23 PM »
Thanks, but it doesn't work.

I have retroarch in a directory called emu, inside of AM folder.

i.e E:\attract\emu\retroarch

I cant understand why it doesn't work, it detects snaps, videos, wheels, etc... but i can't launch retroarch... omg

I tried to eliminate the capital letters on the directories, with same results.

Thanks for your time

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #4 on: May 13, 2017, 02:55:12 PM »
Try going to the command prompt, and see if you can launch retroarch from the E:\ prompt

Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #5 on: May 13, 2017, 06:26:03 PM »
Hi,

I have opened the cmd window on the retroarch directory and write:

retroarch -L cores/fbalpha_libretro.dll E:/attract/games/fba/1942.zip

And it launchs.

When i change the rom location like this:

retroarch -L cores/fbalpha_libretro.dll games/fba/1942.zip

It doesn't work.

bionictoothpick

  • Sr. Member
  • ****
  • Posts: 320
  • He who laughs lasts.
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #6 on: May 13, 2017, 06:57:24 PM »
Try this from your command line in the retroarch directory (assuming your retroarch is on the same drive as the game)

retroarch - L cores\fbalpha_libretro.dll ../../../attract/games/fba/1942.zip

Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #7 on: May 14, 2017, 01:34:37 AM »
Doesn't launch.

I tried to eliminate relative paths with no luck too.

i.e. ../../attract/games/fba/1942.zip, ../attract/games/fba/1942.zip

So strange, i don't know if this happens from AM or RA.


Deu

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Help with portable Attract Mode & Retroarch
« Reply #8 on: May 14, 2017, 09:09:29 AM »
Fixed.

The problem resides on the roms location, AM it detects in games/fba and generate a romlist too, probably it was what confused me.

Finally i change to attract/games/fba on the roms location and it works like a charm.

Thanks for the help.