Difference between revisions of "Dofus"

From ArchWiki
Jump to navigation Jump to search
m (Add category. See Help:Category.)
(this is what the AUR package is for.. no need to duplicate what it does here)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[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 ==
+
== Installation ==
Installation can be automated with the [[AUR]] package {{AUR|dofus}}, which depends on {{AUR|ankama-transition}}, the updater.
+
[[Install]] the {{AUR|dofus}} package.
  
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 ({{ic|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 [[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 {{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
 
  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 ==
 
== Troubleshooting ==
 
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.
 
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 {{ic|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 <tt>transition</tt> processes can solve this problem.
+
Occasionally the updater cannot function because of a leftover process from previous runs. Killing {{ic|transition}} processes can solve this problem.

Latest revision as of 00:04, 8 November 2016

Dofus is an MMORPG by Ankama.

Installation

Install the dofusAUR package.

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.

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.