[Mac OS] PSN parameter screwing with RetroArch Phoenix settings

Hi there!

Just got a Mac (still learning about it, I came from the PC) and installed RetroArch! Works a treat except because of the -psn parameter Mountain Lion is passing to the GUI:

This way, I get the retroarch.cfg file setting like this (for example):

-psn_0_2060791

Obliging me to re-select the correct retroarch.cfg file every time I start the GUI.

Is there a way to make this -psn parameter go away leaving my settings intact?

Thanks!

bootsector

I am also getting this issue in OS X 10.8.3.

For me, a workaround is copying the actual retroarch-phoenix binary (located in ‘RetroArch-Phoenix.app/Contents/MacOS/’) to /usr/local/bin and making an Automator application that runs a shell script:

export PATH=/usr/local/bin:$PATH
retroarch-phoenix $CONFIG_PATH &

Replace $CONFIG_PATH with the path to your configuration file.

Here is one I made myself, complete with the proper RetroArch icon.

The only (small) caveat to this workaround is that RetroArch-Phoenix will start behind every other window.

Thanks for the tip about the Automator! Too bad that by using this workaround I’m not able to put RetroArch over any other window on the screen! :frowning:

I really hope there’s a fix on the loader side.

bootsector

Really? Clicking the RetroArch-Phoenix icon (which won’t be it’s usual space invader graphic for some reason) on the dock seems to bring it to the front.

Odd.

Can someone make a pull request? It should be simple fix in main().

Sorry to bring this back up.

I’m also having the same issue, everytime I start Phoenix, it doesn’t remember my config file. Instead the value is -PSN_0_8987987 (random numbers). and I need to load my config file each time.

Anyway to fix this without the Automator script ?

Hack argv[] in main()? I don’t have a mac so can’t fix. Should be simple though. Still haven’t received a patch for this. :\

I would if I could, but I’m not a coder so I didn’t even understand that :confused: .