Author Topic: Trying to Install....Problems  (Read 2751 times)

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #15 on: May 26, 2011, 05:39:04 pm »
Wow why wouldnt it let you know that it suceeded, like a confirmation or something, is all Linux stuff installed like this? It seems really hard.

I typed the code to check and got this...

cali@HomeLaptop:~$ ls -la /opt/PlaneShift
total 29236
drwxrwx---  9 cali cali     4096 2011-05-26 10:34 .
drwxr-xr-x  3 root root     4096 2011-05-26 10:34 ..
drwxrwx---  6 cali cali     4096 2011-05-26 10:34 art
drwxrwx--- 15 cali cali     4096 2011-05-26 10:34 data
drwxrwx---  2 cali cali     4096 2011-05-26 10:34 docs
drwxrwx---  5 cali cali     4096 2011-05-26 10:34 guide
drwxrwx--- 16 cali cali     4096 2011-05-26 10:34 lang
drwxrwx---  2 cali cali     4096 2011-05-26 10:34 libs
-rwxrwx---  1 cali cali      100 2011-02-27 09:28 psclient
-rwxrwx---  1 cali cali 18480676 2011-02-27 09:28 psclient.bin
-rwxrwx---  1 cali cali    18093 2011-02-27 09:28 psclient.cfg
-rwxrwx---  1 cali cali      100 2011-02-27 09:28 pslaunch
-rwxrwx---  1 cali cali  7030548 2011-02-27 09:28 pslaunch.bin
-rwxrwx---  1 cali cali      999 2011-02-27 09:28 pslaunch.cfg
drwxrwx---  3 cali cali     4096 2011-05-26 10:34 support
-rwx------  1 cali cali  4334938 2011-05-26 10:34 uninstall
-rwxrwx---  1 cali cali      206 2011-05-26 10:34 unscript.sh
-rwxrwx---  1 cali cali     6335 2011-02-27 09:28 updaterinfo.xml
-rwxrwx---  1 cali cali     2560 2011-02-27 09:28 vfs.cfg
cali@HomeLaptop:~$


Not sure what that meens.... how do I launch my game now.... (no wonder no one plays this threw linux)



Thanks to Gilrond for getting me this far.
« Last Edit: May 26, 2011, 05:41:52 pm by EZStreet »

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #16 on: May 26, 2011, 05:44:25 pm »
Wow why wouldnt it let you know that it suceeded, like a confirmation or something, is all Linux stuff installed like this? It seems really hard.
Because it didn't report any error, so no need for redundancy. If you want a confirmation you can run it in verbose mode with -v parameter.

I typed the code to check and got this...

cali@HomeLaptop:~$ ls -la /opt/PlaneShift
total 29236
drwxrwx---  9 cali cali     4096 2011-05-26 10:34 .
drwxr-xr-x  3 root root     4096 2011-05-26 10:34 ..
drwxrwx---  6 cali cali     4096 2011-05-26 10:34 art
....
Perfect. Since you see cali cali there, it means you set up the ownership correctly.

Not sure what that meens.... how do I launch my game now.... (no wonder no one plays this threw linux)

Try to run pslaunch as usual. (Or from your desktop shortcut).

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #17 on: May 26, 2011, 05:48:55 pm »
Make sure that launching files are executable. Try running
Code: [Select]
chmod +x /opt/PlaneShift/psclient* /opt/PlaneShift/pslaunch*

EZStreet

  • Wayfarer
  • *
  • Posts: 9
    • View Profile
Re: Trying to Install....Problems
« Reply #18 on: May 26, 2011, 05:54:32 pm »
when I click the desktop shortcut it says this.

Untrusted application launcher
The application launcher "PlaneShift.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may be unsafe.

Also when launching from Applications > Other > PlaneShift nothing happens.

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #19 on: May 26, 2011, 06:09:10 pm »
Untrusted is OK, once you'll confirm it, it'll stop prompting that. So what happens when you click that shortcut? If it's messed up for some reason (I'm not sure what you were doing with desktop files before), run the launcher explicitly:

/opt/PlaneShift/pslaunch

bilbous

  • Guest
Re: Trying to Install....Problems
« Reply #20 on: May 26, 2011, 09:25:56 pm »
if you did a systemwide install as it looks like then you might be able to run it from a terminal by typing planeshift
running it from the terminal has the advantage of possibly seeing an error message.

LigH

  • Forum Legend
  • *
  • Posts: 7096
    • View Profile
Re: Trying to Install....Problems
« Reply #21 on: May 27, 2011, 10:49:09 am »
Get used to the UNIX philosophy:

No news is good news.

If there is no reply on an executed command, it probably succeeded. Usually it will only reply if it failed or needs more details (e.g. your password).

Gag Harmond
Knight and Ambassador
The Royal House of Purrty

bilbous

  • Guest
Re: Trying to Install....Problems
« Reply #22 on: May 27, 2011, 05:15:26 pm »
I beg to differ. If you are using only the graphical user interface things fail without comment quite frequently. A program that fails to load will often change the mouse pointer while it tried to load but all that will happen is that the loading animation of the mouse will end  an there will be no popup error message telling you why the program failed to load. There is often a log somewhere that might have some useful information but not always.

I always run the game from the command line you will usually get some indication of what went wrong. What you said LigH is only really true about programs run from here. A lot of the time though with this game you will need the --verbose command line parameter to get a meaningful error message.

One thing a new player should note about running the game this way is that the terminal window will get lots of messages and this is entirely normal. Usually the only significant ones in case of an error are the last few lines before it stops functioning. Posting more than five or so lines when asking for help is not usually necessary.

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Trying to Install....Problems
« Reply #23 on: May 27, 2011, 07:40:39 pm »
The usual convention is to use return code 0 to indicate success, and non zero - any kind of other condition. So if someone wants to be sure, they can always do:
Code: [Select]
echo $?right after running something, to see whether it's zero or not. I usually build it right into the prompt (with colors), so it'll be easily noticeable.