[
"$PLAYONLINUX"
=
""
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
Title=
"Lord of the Rings Online: Shadows of Angmar"
Prefix=
"lotro"
LNG_ACT=
"I was told that the DVD version of LoTR Online does not work and you will need to download the client from their website."
LNG_LAUNCHER="In order to play Lord of the Rings Online you will need to download the Linux version of the launcher :
http:
//lotrolinux
.com/
Follow their instructions on the site."
cd
"$REPERTOIRE/tmp"
rm
*.jpg
wget http:
//img266
.imageshack.us
/img266/1227/lotrocover
.jpg --output-document=
"$REPERTOIRE/tmp/$Prefix.jpg"
convert
"$REPERTOIRE/tmp/$Prefix.jpg"
-scale 150x356\\!
"$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_Init
""
"$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_install_wine
"1.1.32"
select_prefix
"$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate
PROGRAMFILES=`wine cmd
/c
echo
"%ProgramFiles%"
`
PROGRAMFILES=${PROGRAMFILES:3}
cd
"$REPERTOIRE/ressources"
if
[
"`sha1sum < winetricks | sed 's/ .*//'`"
!=
"e71457524b2f9a0c81369745ea9018d9278565b2"
];
then
wget http:
//winezeug
.googlecode.com
/svn/trunk/winetricks
--output-document=winetricks
fi
cd
"$REPERTOIRE/ressources"
POL_SetupWindow_wait_next_signal
"Installing Visual C++ 2005 SP1 Redistributable Package (x86)"
"$Title"
bash
winetricks vcrun2005
POL_SetupWindow_detect_exit
POL_SetupWindow_menu
"Choose your client version"
"$Title"
"EU Client-US Client"
"-"
"EU Client"
VMS=
"$APP_ANSWER"
if
[
"$VMS"
-lt
"EU Client"
];
then
POL_SetupWindow_message_image
"$LNG_ACT"
""
"/usr/share/playonlinux/themes/tango/info.png"
POL_SetupWindow_wait_next_signal
"Getting the lates client"
"$Title"
wget http:
//94
.75.196.36
/LOTRO/LOTROEU_Moria_Book_8_Installer/ENGB/Lord_Of_The_Rings_Online_Moria_Book_8_Installer_ENGB
.exe --output-document=
"$REPERTOIRE/tmp/lotro_install.exe"
if
[
"$VMS"
==
"US Client"
];
then
POL_SetupWindow_message_image
"$LNG_ACT"
""
"/usr/share/playonlinux/themes/tango/info.png"
POL_SetupWindow_wait_next_signal
"Getting the lates client"
"$Title"
wget http:
//94
.75.196.36
/LOTRO/LOTROEU_Moria_Book_8_Installer/ENGB/Lord_Of_The_Rings_Online_Moria_Book_8_Installer_ENGB
.exe --output-document=
"$REPERTOIRE/tmp/lotro_install.exe"
fi
wine
"$REPERTOIRE/tmp/lotro_install.exe"
POL_SetupWindow_message
"$LNG_WAIT_END"
"$Title"
POL_SetupWindow_menu
"Do you want to remove the installation file?"
"$Title"
"Yes-No"
"-"
"Yes"
VMS=
"$APP_ANSWER"
if
[
"$VMS"
-lt
"Yes"
];
then
cd
"$REPERTOIRE/tmp"
rm
lotro_install.exe
fi
POL_SetupWindow_message_image
"$LNG_LAUNCHER"
""
"/usr/share/playonlinux/themes/tango/info.png"
Set_WineVersion_Assign
"1.1.32"
"$Title"
POL_SetupWindow_Close
exit