giovedì 25 settembre 2008

Dofus on Acer Aspire One with wine

This installation is based upon the windows client and PlayOnLinux, a wine frontend... why? Really, it's the simplest way to do this without much linux knowledge (many users on the AA1 forum complain about being new to the Linux distros...) and without messing around with permissions for directories, flash player and the Linpus Lite distro...
AND IT WORKS PERFECTLY!!! (at least for me...)

Let's start:

The bold parts are to be typed in a terminal! (press Alt+F2, type xterm and then press enter)

a) Install Wine:
sudo rpm -ivh http://rpm.livna.org/livna-release-8.rpm
sudo yum install wine

b) Install Play On Linux:
wget http://mulx.free.fr/rpm/rpm.gpg
sudo rpm --import rpm.gpg
Download PlayOnLinux, double-click on the just downloaded rpm and let Linpus do the dirty work...

c) Install Dofus:
Open Mousepad (press Alt+F2, type mousepad, and press enter), copy and paste this script:

#!/bin/bash if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
presentation "Dofus" "Ankama" "http://www.dofus.com" "Elia Ballade" "Dofus"
WINEPREFIX="$REPERTOIRE/wineprefix/Dofus"
mkdir -p $WINEPREFIX
select_prefixe "$WINEPREFIX"
creer_prefixe
cd $WINEPREFIX
telecharger "Dofus 1.25.0 is downloading..." "http://dl.ak.ankama.com/games/dofus/client/DofusInstaller_v1_25_0.exe" "Downloading..." "" "" 1 "" 0 1
wine $WINEPREFIX/DofusInstaller_v1_25_0.exe
rm -rf $WINEPREFIX/DofusInstaller_v1_25_0.exe
Set_OS "winxp"
creer_lanceur "Dofus" "Program Files/Dofus/" "Dofus.exe"

Save it as you prefer... Press Alt+F2, type playonlinux and press enter. The Play On Linux gui should show up. Click "Tools"->"Run a non-official script" and select the just saved file.
Simply follow the istructions and you'll finish with a dofus icon in /home/user/Desktop and in the Play On Linux gui (from where you can also easily remove the software)!

Trust me, it's simpler to do than to read this post...

Let me know if there is any problem...
And sorry for my bad english but I'm italian...


Some screeenshots:

Nessun commento: