2014-09-09, 16:54
(2014-09-09, 16:04)BugRaider84 Wrote: Ok, I did everything as you said but I'm not getting any closer. How am I supposed to know/find the so called "argument of the app" if I don't even know where to look or what it is? I do now at least understand that I have to take the way around the *.app to actually start it even if I can't get it to work cause I'm missing 10 steps in-between hahaJust tape "osx snes9x app command line" into google and the first result will be : http://www.snes9x.com/phpbb3/viewtopic.php?f=6&t=5311
Code:
open -a /Applications/Snes9x.app /path/game.smc
- open is the executable and is located into /usr/bin directory
- -a /Applications/Snes9x.app /path/game.smc is the commande line argument
- into this argument, /path/game.smc is the rom path and need to be replaced by %rom% (http://www.gwenael.org/forum/viewtopic.php?pid=4#p4)
- and smc is the file extension.
Application : /usr/bin/open
Argument : -a /Applications/Snes9x.app %rom%
Roms directory : /path
Extension : smc
I cannot make this more simple. Starting applications from Advanced Launcher doesn't mean that you don't need to know how work these applications.