Difference between revisions of "Dofus"

From ArchWiki
Jump to navigation Jump to search
(Created page with "[http://www.dofus.com Dofus] is an MMORPG by [http://www.ankama.com Ankama]. === AUR === Installation can be automated with the AUR package [https://aur.archlinux.org/package...")
 
m (Add category. See Help:Category.)
Line 1: Line 1:
 +
[[Category:Gaming]]
 
[http://www.dofus.com Dofus] is an MMORPG by [http://www.ankama.com Ankama].
 
[http://www.dofus.com Dofus] is an MMORPG by [http://www.ankama.com Ankama].
  
=== AUR ===
+
== AUR ==
Installation can be automated with the AUR package [https://aur.archlinux.org/packages/dofus/ <tt>dofus</tt>], which depends on [https://aur.archlinux.org/packages/ankama-transition <tt>ankama-transition</tt>], the updater.
+
Installation can be automated with the [[AUR]] package {{AUR|dofus}}, which depends on {{AUR|ankama-transition}}, the updater.
  
 
Currently the game files are installed under the "games" group with group writability. You can add your user to the group (<tt>usermod -a -G games ''username''</tt>) to take advantage of this. Otherwise, you may need to enter your password in order to update the game files.  
 
Currently the game files are installed under the "games" group with group writability. You can add your user to the group (<tt>usermod -a -G games ''username''</tt>) to take advantage of this. Otherwise, you may need to enter your password in order to update the game files.  
  
=== Manual Installation ===
+
== Manual Installation ==
 
Ankama provides official Linux packages for Dofus, but some modifications are necessary for them to work on Arch Linux.
 
Ankama provides official Linux packages for Dofus, but some modifications are necessary for them to work on Arch Linux.
  
There is no Adobe Air runtime on Arch Linux, so it is necessary to use this [https://wiki.archlinux.org/index.php/Adobe_air workaround] involving <tt>adobe-air-sdk</tt>. <tt>transition</tt> needs to be configured to use the sdk launcher instead of binaries provided by Dofus. Additionally, <tt>transition</tt> will by default attempt to install Adobe Air, and this needs to be disabled in its configuration.
+
There is no Adobe Air runtime on Arch Linux, so it is necessary to use this [[Adobe air|workaround]] involving <tt>adobe-air-sdk</tt>. <tt>transition</tt> needs to be configured to use the sdk launcher instead of binaries provided by Dofus. Additionally, <tt>transition</tt> will by default attempt to install Adobe Air, and this needs to be disabled in its configuration.
  
The <tt>dofus</tt> AUR package accomplishes these with the following code in <tt>transition.conf</tt>, and an <tt>air-generic-launcher.sh</tt> file which runs the game client and sound engine with SDK launcher:
+
The {{AUR|dofus}} AUR package accomplishes these with the following code in <tt>transition.conf</tt>, and an <tt>air-generic-launcher.sh</tt> file which runs the game client and sound engine with SDK launcher:
  
 
   bypass_air_installation = true
 
   bypass_air_installation = true
Line 19: Line 20:
 
   "${root}/bin/air-generic-launcher.sh" --lang=${i18n.lang} --update-server-port=${service_port} --updater_version=v2
 
   "${root}/bin/air-generic-launcher.sh" --lang=${i18n.lang} --update-server-port=${service_port} --updater_version=v2
  
=== Troubleshooting ===
+
== Troubleshooting ==
When debugging problems, it is helpful to set the environment variable <tt>AK_LOG_CONSOLE=1</tt> when running Dofus. It will then print detailed logs in the console.
+
When debugging problems, it is helpful to set the environment variable {{ic|1=AK_LOG_CONSOLE=1}} when running Dofus. It will then print detailed logs in the console.
  
 
A known problem is that some systems require <tt>unset SESSION_MANAGER</tt> in the environment, to avoid crashes on start up.
 
A known problem is that some systems require <tt>unset SESSION_MANAGER</tt> in the environment, to avoid crashes on start up.
  
 
Occasionally the updater cannot function because of a leftover process from previous runs. Killing <tt>transition</tt> processes can solve this problem.
 
Occasionally the updater cannot function because of a leftover process from previous runs. Killing <tt>transition</tt> processes can solve this problem.

Revision as of 07:42, 22 August 2014

Dofus is an MMORPG by Ankama.

AUR

Installation can be automated with the AUR package dofusAUR, which depends on ankama-transitionAUR, the updater.

Currently the game files are installed under the "games" group with group writability. You can add your user to the group (usermod -a -G games username) to take advantage of this. Otherwise, you may need to enter your password in order to update the game files.

Manual Installation

Ankama provides official Linux packages for Dofus, but some modifications are necessary for them to work on Arch Linux.

There is no Adobe Air runtime on Arch Linux, so it is necessary to use this workaround involving adobe-air-sdk. transition needs to be configured to use the sdk launcher instead of binaries provided by Dofus. Additionally, transition will by default attempt to install Adobe Air, and this needs to be disabled in its configuration.

The dofusAUR AUR package accomplishes these with the following code in transition.conf, and an air-generic-launcher.sh file which runs the game client and sound engine with SDK launcher:

 bypass_air_installation = true
 dofus.reg.path = "${root}/share/reg/bin/air-generic-launcher.sh"
 
 launcher.command = """
 "${root}/bin/air-generic-launcher.sh" --lang=${i18n.lang} --update-server-port=${service_port} --updater_version=v2

Troubleshooting

When debugging problems, it is helpful to set the environment variable AK_LOG_CONSOLE=1 when running Dofus. It will then print detailed logs in the console.

A known problem is that some systems require unset SESSION_MANAGER in the environment, to avoid crashes on start up.

Occasionally the updater cannot function because of a leftover process from previous runs. Killing transition processes can solve this problem.