PhoenicisOrg / phoenicis

Phoenicis PlayOnLinux and PlayOnMac 5 repository
https://phoenicis.org/
GNU Lesser General Public License v3.0
678 stars 73 forks source link

Add a separate X-server option into the applicationsetings (GuildWars 2) #192

Open Mannshoch opened 9 years ago

Mannshoch commented 9 years ago

Like the Guild wars Wiki says. https://wiki.guildwars2.com/wiki/Guild_Wars_2_on_Wine#Running_on_a_separate_X_server

e.g.

Running on a separate X server

If you run Guild Wars 2 on a separate X server, it doesn't interrupt other applications on other X servers. If Wine or Guild Wars 2 crashes on one X server, the other remains unaffected. Since separate X servers can be used with different window managers, or even without one, keys can be rebound and not get in the way of playing Guild Wars. If you usually run a compositing window manager (e.g. compiz), you might also see a speed increase, as the visual effect can be disabled on the other X server. On the other hand, minimizing Guild Wars or switching to window mode won't work as expected any more - but you can switch between your regular desktop and Guild Wars anytime usually by using Ctrl-Alt-F7 / -F8 (your mileage may vary). Multiple X servers can also affect overall performance on slower machines.

If you like those features, do as follows: Create a text file containing the command to start Guild Wars 2.

#!/bin/bash
WINEDEBUG=-all wine ~/Gw2.exe

You may need to replace "~/Gw2.exe" with the location you downloaded Gw2.exe to, if it's not located directly in your home folder.

If you are running Ubuntu, you may have to add an extra prefix command to get sound:

#!/bin/bash
WINEDEBUG=-all /usr/bin/ck-launch-session wine ~/Gw2.exe

Save the text file, for example as ~/run_guildwars2, and make it executable.

chmod +x ~/run_guildwars2

To start a second X server with Guild Wars running, execute this command (or add a corresponding shortcut or menu entry):

xinit ~/run_guildwars2 -- :1 -br
qparis commented 9 years ago

We will take this into account. However, as it is a really specific feature, it will not be the more urgent thing to implement.

Thank you for your feedback :)

Mannshoch commented 9 years ago

Maybe you should focus more on Wayland/Weston then on xserver. High Performance Programs like Games need maybe an extra and early eye on this subject.

plata commented 7 years ago

I think this is nothing which can/should be implemented in Phoenicis. It should be possible to create the required bash script during the installation of the specific app which requires this (e.g. in the postInstall). Therefore I would like to close this issue.