Guild Wars 2 on Wine

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Warning-Logo.png Warning: Running Guild Wars 2 on a non-Windows operating system, or with any other computer which does not meet the system requirements, is completely unsupported by ArenaNet and NCSoft.


Using the Win32 API wine, Guild Wars 2 can be run on some operating systems other than Windows. Though this is unsupported by ArenaNet and NCSoft, various people have reported excellent results running Guild Wars 2 on Linux.[1][2][3]

Requirements[править]

To run Guild Wars 2 on a non-Windows operating system, you will need to install wine on your system. Most linux distributions offer an installation method of their own; it is advised you use it. Otherwise, you may download it at the official website and follow instructions there. Additionally, you may need to install a proprietary graphics card driver for Guild Wars 2 to function properly. Again, it is recommended you use the installation method or package manager of your own Linux distribution.

Mac users may attempt to run Guild Wars 2 using Wineskin; see below for further information.

Running Guild Wars 2 on Linux-based systems[править]

Guild Wars 2 can be installed by downloading the Guild Wars 2 Client (available here) to a folder of your choosing, and executing the following command. You may need to replace "Gw2.exe" with the full location of the file if you're not running Wine from the same folder.

wine Gw2.exe

The launcher will start and download the necessary data. To run Guild Wars 2, executing the very same command should suffice.

For convenience, in most systems you can also create a desktop shortcut or a link in your Start menu to launch Guild Wars 2. Just make sure that your link executes the above command. When updating, the patcher may crash after a while; however, you can just restart it and continue the download.

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 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 take up 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

Note that you may need to enable auto-play to prevent the second X server from closing when the launcher closes.

Running Guild Wars 2 on a Mac using WineSkin[править]

You may attempt to run Guild Wars 2 on a Mac using Wineskin.[4] To do this, download wineskin winery. Add an engine with the + button. Select the newest one (tested on WS9Wine1.5.2). Then, click Create New Blank Wrapper, and name it Guild Wars 2. The program will attempt to install a Gecko package; cancel this. Open the Finder and click "view wrapper".

Run Wineskin, Advanced, and under Windows EXE put the following:

/Program Files/GuildWars2/Gw2.exe

You may set an icon if you wish. Under Tools tab, Set Screen Options, make sure Decorate Windows is set. Now, exit Wineskin. You can move the "Guild Wars 2" application to your Applications directory, if you wish. Right-click on "Guild Wars 2", and select. Show Package Contents. Go to drive_c -> Program Files, right-click, create a new folder, and name it GuildWars2. Move gw2.exe to this folder. You should now be able to double-click your "Guild Wars 2" application to run the game.

Icons for Mac & Linux[править]

You can use these Icons that were converted from the Windows EXE to correct icons for Mac OSX (icns file) and Linux (various sized PNG files). You should be able to use this for shortcuts, and for the WineSkin wrapper as a custom Icon. They are all in one archive, so download them and use the ones you need.

Guild Wars 2 Shortcut Icons

See Also[править]

References[править]