1
General / Re: $PROGDIR variable not working on Attract Mode for MacOS
« on: June 12, 2023, 02:09:09 AM »
Dear tuxic
i registered here to give you the nessesary information to configure attract mode "portable".
1) Attract Mode is independet, i start it with a script, and it works everywhere
The problems are the emulators - e.g. RetroArch
2) Variables: "%PROGRAMFILES%" is not working on macOS - seems to be Windows-OS-Variables.
$PROGRDIR - i didn't manage to make it work until now.
Working Variables on macOS are e.g. $HOME
My first thought about $HOME was "but i want to install AM on a network drive - e.g. NAS".
After trying around i found the solution.
With the terminal command "ln" i generat links from $HOME to my network installation.
copy RetroArch to your prefered shared path
e.g. network_path=/Volumes/your_network_storage/your_share_name/RetroArch
the prefered RetroArch installation path is $HOME/Documents/RetroArch
delete this folder an link you shared path to the default home path
ln -s "/Volumes/your_network_storage/your_share_name/RetroArch" "/Users/your_local_username/Documents"
now the excutable looks like this
executable $HOME/Documents/RetroArch/RetroArch.app
in fact, RetroArch needs more than to start the app, but start RetroArch.app/Contents/MacOS/RetroArch and a core and a file and so on, but this example works with other emulators, too
Just link every emulator to a local folder, so you can start it with "$HOME/Emulators/Emulator_folder/Emulatorname" and so on
Hopefully i could tell it the way others are able to understand.
Greetings
i registered here to give you the nessesary information to configure attract mode "portable".
1) Attract Mode is independet, i start it with a script, and it works everywhere
The problems are the emulators - e.g. RetroArch
2) Variables: "%PROGRAMFILES%" is not working on macOS - seems to be Windows-OS-Variables.
$PROGRDIR - i didn't manage to make it work until now.
Working Variables on macOS are e.g. $HOME
My first thought about $HOME was "but i want to install AM on a network drive - e.g. NAS".
After trying around i found the solution.
With the terminal command "ln" i generat links from $HOME to my network installation.
copy RetroArch to your prefered shared path
e.g. network_path=/Volumes/your_network_storage/your_share_name/RetroArch
the prefered RetroArch installation path is $HOME/Documents/RetroArch
delete this folder an link you shared path to the default home path
ln -s "/Volumes/your_network_storage/your_share_name/RetroArch" "/Users/your_local_username/Documents"
now the excutable looks like this
executable $HOME/Documents/RetroArch/RetroArch.app
in fact, RetroArch needs more than to start the app, but start RetroArch.app/Contents/MacOS/RetroArch and a core and a file and so on, but this example works with other emulators, too
Just link every emulator to a local folder, so you can start it with "$HOME/Emulators/Emulator_folder/Emulatorname" and so on
Hopefully i could tell it the way others are able to understand.
Greetings