Author Topic: PS updater "launch PS" ability  (Read 1065 times)

Liquid_Obsidian

  • Traveller
  • *
  • Posts: 11
    • View Profile
PS updater "launch PS" ability
« 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
----------------
Alexar , Azure Knight of the GK
----------------
May cracked people be blessed , they\'ll let light pass throught
----------------
\"Linux for Devellopment, Mac OS for Productivity, Windows for Solitaire\"
----------------
Trepassers will be shot :)

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #1 on: September 17, 2005, 04:22:54 am »
EDIT: Ah, I see. I\'ll see if I can get it to launch via ./psclient.app/Contents/MacOS/psclient
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

josephoenix

  • IRC Op
  • Hydlaa Notable
  • **
  • Posts: 706
    • View Profile
(No subject)
« Reply #2 on: September 17, 2005, 07:08:42 pm »
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 ;)
Sir John Falstaff: "Let the skie raine Potatoes: let it thunder, to the tune of Greenesleeues"

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #3 on: September 18, 2005, 11:26:07 pm »
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.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Miya

  • Hydlaa Resident
  • *
  • Posts: 69
    • View Profile
(No subject)
« Reply #4 on: September 20, 2005, 08:00:09 pm »
I can test it chaos, I have current cvs of planeshift and I think 4 days old CS, both working at the moment.
Code: [Select]
Love(clk89);

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #5 on: September 21, 2005, 02:34:00 am »
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.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!