PlaneShift
Support => Mac OSX Specific Issues => Topic started by: Liquid_Obsidian on September 16, 2005, 07:10:15 pm
-
while browsing a console log while graphically updating i clicked the \"launch PS\" button (knowing it wouldn\'t work .. but sometimes ... who knows..) then jumped on my console:
sh: line 1: ./psclient: No such file or directory
AHAHAH= the little fragger didn\'t knew whe were under OS X ... wanted to launch the generic *nix binary...
i tryed (unsucessfully) do make a shell script called psclient that would launch the correct binary on in psclient.app (in fact it works but only via command line GUI launching , but have something to do with the path the updater.app considers as ./ )
OH dear dfryer , you mighty code slinger could you take care of that ?
thnks
Liquid
-
EDIT: Ah, I see. I\'ll see if I can get it to launch via ./psclient.app/Contents/MacOS/psclient
-
opening the .app from finder or using \"open blah.app\" from the commandline doesn\'t set your current working directory
It probably was looking for the psclient binary in / (as opposed to /Applications/Planeshift 3D/psclient/Contents/MacOS/ )
dfryer thought that perhaps some VFS trickery could be used to get it to look in the right place.. dunno whether he tried it.
Perhaps you could make a symlink from /psclient to /Applications/Planeshift 3D/psclient/Contents/MacOS/psclient and try that? or move your shellscript there? neither are really accepted solutions... good luck Cha0s with fixing it btw ;)
-
I know how to fix it, and in fact, I already have in my source, but I need someone to test it since CS doesn\'t want to compile for me.
-
I can test it chaos, I have current cvs of planeshift and I think 4 days old CS, both working at the moment.
-
Look for me on IRC (my nick is--surprise--Cha0s and you can find me in #planeshift and #planeshift-build on irc.freenode.net). I\'ll try to get the file to you from there.