Author Topic: Relative paths problem for portable mode ?!  (Read 1934 times)

mentat

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Relative paths problem for portable mode ?!
« Reply #15 on: August 30, 2021, 06:34:20 AM »
I use attractmode in a portable way like you under windows.

And I use the $PROGDIR like I said before.

According to the sources of attractmode, IT'S NOT A LINUX VARIABLE : https://github.com/mickelson/attract/blob/master/src/fe_util.cpp#L316

Attract mode replace the term $PROGDIR in config files at runtime.

So I repeat what I've said (and what I use and it's work under windows) :
You can use :
$PROGDIR/games/snes [for your example, and attract mode replace $PROGDIR by 'h:\Attract' in your case]

Best regards