Difference between revisions of "Linux"

From Anarchy Online Wiki [AOWiki]
(wine versions)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* Running AO on Linux has been working for ages and is quite easy to do
 
* Running AO on Linux has been working for ages and is quite easy to do
 
* The new engine is working as well but the Old engine has the more chance to be performant
 
* The new engine is working as well but the Old engine has the more chance to be performant
* Based on [https://www.ao-universe.com/index.php?id=14&mid=8&pid=570 How to play AO on Linux or Mac]
 
  
 
== Install Wine and Dependencies==  
 
== Install Wine and Dependencies==  
Line 7: Line 6:
 
* Installation (For Debian based distributions)
 
* Installation (For Debian based distributions)
  
<syntaxhighlight lang="bash">
+
<pre>
 
apt install wine winetricks zenity cabextract winbind
 
apt install wine winetricks zenity cabextract winbind
</syntaxhighlight>
+
</pre>
  
 
* Download MS packages using Winetricks
 
* Download MS packages using Winetricks
  
<syntaxhighlight lang="bash">
+
<pre>
 
export WINEARCH=win32
 
export WINEARCH=win32
 
winetricks dotnet20 corefonts fontfix vcrun2005 vcrun6
 
winetricks dotnet20 corefonts fontfix vcrun2005 vcrun6
</syntaxhighlight>
+
</pre>
  
== Install Anarchy Online new engline ==
+
== Install AO old engine ==
  
 
* Download and install the Old Engine
 
* Download and install the Old Engine
  
<syntaxhighlight lang="bash">
+
<pre>
 
cd /tmp
 
cd /tmp
 
wget http://update.anarchy-online.com/download/AO/AnarchyOnline_EP1.exe
 
wget http://update.anarchy-online.com/download/AO/AnarchyOnline_EP1.exe
 
wine AnarchyOnline_EP1.exe
 
wine AnarchyOnline_EP1.exe
</syntaxhighlight>
+
</pre>
  
 
* Run the game from the command line (or you if you ticked Add Desktop shortcut, you shoud have a shortcut in your OS)
 
* Run the game from the command line (or you if you ticked Add Desktop shortcut, you shoud have a shortcut in your OS)
  
<syntaxhighlight lang="bash">
+
<pre>
 
cd ~/.wine/drive_c/Funcom/Anarchy\ Online
 
cd ~/.wine/drive_c/Funcom/Anarchy\ Online
 
wine Anarchy.exe
 
wine Anarchy.exe
</syntaxhighlight>
+
</pre>
 +
 
 +
== Troubleshooting ==
 +
 
 +
=== Wine versions ===
 +
 
 +
* It appears Wine 4 doesn't properly render the UI
 +
** 3.21 has some problem with Gnome multi desktop (crasshes when changing desktop)
 +
** '''3.0.5 works fine!'''
 +
* If you can't downgrade wine you should use PlayOnLinux to install AO and the needed components above
  
== HTML rendering ==
+
=== HTML rendering ===
  
 
* If the launcher is having problem rendering HTML, install wine gecko manually
 
* If the launcher is having problem rendering HTML, install wine gecko manually
Line 43: Line 51:
 
</pre>
 
</pre>
  
<syntaxhighlight lang="bash">
+
<pre>
 
sudo mkdir /usr/share/wine/gecko/
 
sudo mkdir /usr/share/wine/gecko/
 
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
 
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
 
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi
 
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi
</syntaxhighlight>
+
</pre>
  
== Mouse problem ==
+
=== Mouse problem ===
  
 
* Most of the time, upgrade Wine version is enough to make the mouse work like a charm
 
* Most of the time, upgrade Wine version is enough to make the mouse work like a charm
 
* Activate mouse lag fix in F10 -> Controls -> Mouse -> Mouse lag fix
 
* Activate mouse lag fix in F10 -> Controls -> Mouse -> Mouse lag fix
 +
 +
== References ==
 +
* https://www.reddit.com/r/anarchyonline/comments/aihy6a/howto_anarchy_online_on_linux_2019/
 +
* Based on [https://www.ao-universe.com/index.php?id=14&mid=8&pid=570 How to play AO on Linux or Mac]
 +
* Wine HQ database: https://appdb.winehq.org/objectManager.php?sClass=application&iId=355

Latest revision as of 06:20, 16 March 2019

  • Running AO on Linux has been working for ages and is quite easy to do
  • The new engine is working as well but the Old engine has the more chance to be performant

Install Wine and Dependencies[edit]

  • Installation (For Debian based distributions)
apt install wine winetricks zenity cabextract winbind
  • Download MS packages using Winetricks
export WINEARCH=win32
winetricks dotnet20 corefonts fontfix vcrun2005 vcrun6

Install AO old engine[edit]

  • Download and install the Old Engine
cd /tmp
wget http://update.anarchy-online.com/download/AO/AnarchyOnline_EP1.exe
wine AnarchyOnline_EP1.exe
  • Run the game from the command line (or you if you ticked Add Desktop shortcut, you shoud have a shortcut in your OS)
cd ~/.wine/drive_c/Funcom/Anarchy\ Online
wine Anarchy.exe

Troubleshooting[edit]

Wine versions[edit]

  • It appears Wine 4 doesn't properly render the UI
    • 3.21 has some problem with Gnome multi desktop (crasshes when changing desktop)
    • 3.0.5 works fine!
  • If you can't downgrade wine you should use PlayOnLinux to install AO and the needed components above

HTML rendering[edit]

  • If the launcher is having problem rendering HTML, install wine gecko manually
Could not load wine-gecko. HTML rendering will be disabled.
sudo mkdir /usr/share/wine/gecko/
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
sudo wget -P /usr/share/wine/gecko/ https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi

Mouse problem[edit]

  • Most of the time, upgrade Wine version is enough to make the mouse work like a charm
  • Activate mouse lag fix in F10 -> Controls -> Mouse -> Mouse lag fix

References[edit]