PlaneShift

Support => Linux Specific Issues => Topic started by: luiz4vn on March 05, 2017, 12:26:35 pm

Title: How to run?
Post by: luiz4vn on March 05, 2017, 12:26:35 pm
Hey guys, I tried to run this game going to /opt/PlaneShift directory and tried to Execute psclient/pslaunch, I'd tried to execute on terminal too, but nothing happens.  :-[ I'm noob at linux, can you help me?

I have the 64 bits version and I'm using Lubuntu 16.10
Title: Re: How to run?
Post by: LigH on March 06, 2017, 02:29:54 am
On a terminal, you will have to run it with a prepended dot (means: it's in this directory, not somewhere in the PATH), like:

./pslaunch

Anyway, hard to believe that "nothing happens". Either it works as intended, or there are error messages.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 07:56:21 am
On a terminal, you will have to run it with a prepended dot (means: it's in this directory, not somewhere in the PATH), like:

./pslaunch

Anyway, hard to believe that "nothing happens". Either it works as intended, or there are error messages.

First I double click the pslaunch file and (Execute on terminal) nothing happened, after that I tried to simply Execute, nothing happens, now I tried to run
Code: [Select]
./pslaunch it states File or directory not found.

 ???
Title: Re: How to run?
Post by: LigH on March 06, 2017, 08:04:18 am
Well, you have to execute this command in the console after moving to the directory where you installed PlaneShift to. Probably like this:

Code: [Select]
cd /opt/PlaneShift
./pslaunch

This is not really a "Linux for beginners" board. And still, exactly this question may already have been discussed, several times before.

The IRC channel #planeshift on Freenode may help you better with real time chat. You may use their web chap applet if you don't use a separate IRC client.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 08:07:16 am
I tried to move to the directory which is /home/luiz4vn/PlayOnLinux's virtual drives/opt/PlaneShift

with the following code
Code: [Select]
cd /home/luiz4vn/PlayOnLinux's virtual drives/opt/PlaneShift
nothing happens :/
Title: Re: How to run?
Post by: LigH on March 06, 2017, 08:12:06 am
A directory containing white spaces has to be enclosed in quotes. Linux shell for beginners... and a directory containing an apostroph is even worse.

Did the installer not create a desktop icon to launch PlaneSHift?
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 08:47:08 am
Quote
Did the installer not create a desktop icon to launch PlaneSHift?
No, it didn't

It worked! I put
Code: [Select]
cd /home/luiz4vn/"PlayOnLinux's virtual drives"/opt/PlaneShift
Thanks <3 sorry for posting off topic.
Title: Re: How to run?
Post by: LigH on March 06, 2017, 08:58:39 am
Good, it worked... still, starting it from the console is not very elegant. I would recommend you to try to get a link on your desktop. The installer should have been able to create it.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 09:01:00 am
Good, it worked... still, starting it from the console is not very elegant. I would recommend you to try to get a link on your desktop. The installer should have been able to create it.

Can I create a desktop shortcut manually on terminal?
Title: Re: How to run?
Post by: LigH on March 06, 2017, 09:12:12 am
I believe you should be able to create it manually using features of your desktop, depending on your Window Manager or Desktop Manager. Here I am not sure. Try to right-click on your desktop and see if you are offered a function to create an application link here. If not, try the IRC or wait a bit until others replied here.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 09:50:32 am
I believe you should be able to create it manually using features of your desktop, depending on your Window Manager or Desktop Manager. Here I am not sure. Try to right-click on your desktop and see if you are offered a function to create an application link here. If not, try the IRC or wait a bit until others replied here.
I can only create files or empty files on desktop
luiz4vn@luiz4vn-Aspire-V5-571:~$     wmctrl -m
Name: Openbox
Class:
PID: N/A
Window manager's "showing the desktop" mode: OFF

Ok thanks again :)
Title: Re: How to run?
Post by: LigH on March 06, 2017, 09:56:30 am
If your default desktop environment is LXDE, then you might be interested in lxshortcut (http://computing.travellingfroggy.info/en/article4/lxshortcut-creating-shortcuts-icons-for-lxde-lubuntu-desktop)... so I read, asking Google.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 12:15:02 pm
I've tried this and a lot of other different ways, pretty confusing cuz none of them worked. I'll just run on the terminal, no problem :) thanks mate.
Title: Re: How to run?
Post by: LigH on March 06, 2017, 02:16:57 pm
Window manager's "showing the desktop" mode: OFF

Well, if you hide it, you don't see it ... I guess.  ???
Title: Re: How to run?
Post by: Migg on March 06, 2017, 04:03:52 pm
It worked! I put
Code: [Select]
cd /home/luiz4vn/"PlayOnLinux's virtual drives"/opt/PlaneShift
Thanks <3 sorry for posting off topic.

Well, it seems you used PlayOnLinux to run the Windows version of the client on Linux. You should instead have used the native Linux version, though I don't remember if it creates a desktop icon for you. You can download the Linux binary from here:
http://www.planeshift.it/Download (http://www.planeshift.it/Download)
You should either chose the Linux (64-bit) link from the Torrent Downloads section, or one of the Linux Client (64-bit) mirror links from the Standard download: Linux binary section. The page suggest you check this forum thread (http://207.244.96.64/PlaneShift/smf/index.php?topic=19389.0) for important installation information, but note that the post is somewhat outdated.
Title: Re: How to run?
Post by: luiz4vn on March 06, 2017, 09:15:02 pm
It worked! I put
Code: [Select]
cd /home/luiz4vn/"PlayOnLinux's virtual drives"/opt/PlaneShift
Thanks <3 sorry for posting off topic.

Well, it seems you used PlayOnLinux to run the Windows version of the client on Linux. You should instead have used the native Linux version, though I don't remember if it creates a desktop icon for you. You can download the Linux binary from here:
http://www.planeshift.it/Download (http://www.planeshift.it/Download)
You should either chose the Linux (64-bit) link from the Torrent Downloads section, or one of the Linux Client (64-bit) mirror links from the Standard download: Linux binary section. The page suggest you check this forum thread (http://207.244.96.64/PlaneShift/smf/index.php?topic=19389.0) for important installation information, but note that the post is somewhat outdated.
No, I installed the Linux version, I didn't used PlayOnLinux to install it, I just chose that file directory because I want all my games on the same directory :)

Window manager's "showing the desktop" mode: OFF

Well, if you hide it, you don't see it ... I guess.  ???
I didn't hide it, I never changed any configuration, but I can't find anything on Google that helps me turn it on.

Also, now the sound isn't working anymore, it worked just fine the first time I run the game, I'm not following how Linux works, omg. lol
Title: Re: How to run?
Post by: Migg on March 07, 2017, 03:18:14 pm
Also, now the sound isn't working anymore, it worked just fine the first time I run the game, I'm not following how Linux works, omg. lol

After starting the launcher, press the settings button and then audio. Make sure enable sound is checked. I believe the correct sound renderer should be OpenAL. Select it, then press OK. Play the game and see if sound works now.

If you still have problems, running pslaunch from a terminal will allow you to see all debug output produced by the program. This may help you find the error that is causing your game to lack sound.
Title: Re: How to run?
Post by: luiz4vn on March 07, 2017, 04:18:09 pm
The sound is back after I tried this http://www.ideatrash.net/2014/06/fix-padsp-to-use-pulseaudio-on-64-bit.htm

Thanks mate :)
Title: Re: How to run?
Post by: Migg on March 08, 2017, 05:10:34 pm
PulseAudio has been nothing but trouble for me, no matter the system. I have gotten into the habit of rooting it out of my system whenever I can. That said, glad that awkward fix worked for you!  :thumbup:
Title: Re: How to run?
Post by: LigH on March 08, 2017, 05:24:59 pm
Not only you. A German blogger complained about new Firefox binding to PulseAudio, and suddenly it can't find audio devices anymore. Everything else can. The FAQ for PulseAudio amused him by the amount of versatile reasons to not work. Just for the LULZ, he mentioned the existence of a PulseAudio emulation for ALSA (https://github.com/i-rinat/apulse)... no, that's not a recommendation to install it.