Forums

Script d'installation Runes of magic en FR

Modification du script existant.

Auteur Réponses
pioupiou41 Dimanche 27 Décembre 2009 à 16:12
pioupiou41Anonymous

Bonjour tout le monde, je suis depuis peu sous linux (ubuntu 9.10)
J'aimerais continuer de jouer aux jeux auquels je jouait avant.

J'ai donc installé PoL ( exelent logiciel ceci dit en passant ) J'ai trouvé RoM dans la liste, mais l'installation est anglaise.

J'ai donc fouillé un peu le dossier de PoL et j'ai trouvé un fichier " install" qui parle de RoM avec apparament les suites de commande pour DL et installer le jeu.

J'ai essayé de modifier ce fichier pour que PoL DL les deux fichier d'installation de la version FR

qui se trouve a ses deux liens :

http://frogster.vo.llnwd.net/o9//FOG/rom/Runes_of_Magic_2.1.0.1871_two.exe/Runes_of_Magic_2.1.0.1871.part1.exe

et

http://frogster.vo.llnwd.net/o9//FOG/rom/Runes_of_Magic_2.1.0.1871_two.exe/Runes_of_Magic_2.1.0.1871.part2.rar



J'avoue que ça marche pas :(

ça me donne un truc comme ça :



#!/bin/bash
# Date: (2009-06-09 16-04)
# Last revision: (2009-06-09 16-04)
# Distribution used to test: Ubuntu 9.04
# Wine version used: 1.1.23
# Licence: Free
# Author: siGGismallz

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

#FETCHING PROGRAMFILES ENVIRONMENTAL VARIABLE
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}

#PREFIX, TITLE AND MESSAGES
PREFIX="RunesOfMagic"
TITLE="Runes Of Magic"
LNG_DL="PlayOnLinux is downloading"
LNG_SSF="has been installed successfully"
LNG_WARNING="The Interface of the Launcher is corrupted and you can't type anything there, if you still need to type something in there press go on the left side next to the login screen and wait until you will be redirected to the interface start screen again, after that typing will be working within the interface window"

#DOWNLOADING AND SELECTING INSTALLER IMAGE
cd "$REPERTOIRE/tmp"
wget http://i43.tinypic.com/af7n9s.jpg --output-document=left.jpg
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "$TITLE" "Runewaker Entertainment Corp." "www.runesofmagic.com" "siGGismallz" "$PREFIX"

#SELECTING PREFIX
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate

#DOWNLOADING RUNES OF MAGIC 2.0.1.1821
cd "$REPERTOIRE/tmp"
if [ ! -e $REPERTOIRE/tmp/Runes_of_Magic_2.1.0.1871.part1.exe ]; then
POL_SetupWindow_download "$LNG_DL Runes Of Magic 2.0.1.1871" "Runes Of Magic 2.0.1.1871" "http://frogster.vo.llnwd.net/o9//FOG/rom/Runes_of_Magic_2.1.0.1871_two.exe/Runes_of_Magic_2.1.0.1871.part1.exe"
if [ ! -e $REPERTOIRE/tmp/Runes_of_Magic_2.1.0.1871.part2.rar ]; then
POL_SetupWindow_download "$LNG_DL Runes Of Magic 2.0.1.1871" "Runes Of Magic 2.0.1.1871" "http://frogster.vo.llnwd.net/o9//FOG/rom/Runes_of_Magic_2.1.0.1871_two.exe/Runes_of_Magic_2.1.0.1871.part2.rar"
fi

#STARTING SETUP
wine "Runes_of_Magic_2.1.0.1871.part1.exe"

#MAKING SHORTCUT
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Runes of Magic/" "Runes of Magic.exe" "" "$TITLE" "" ""

#CLEANING TEMP
clean_tmp

#FINISHING
POL_SetupWindow_message "$TITLE $LNG_SSF" "$TITLE"
POL_SetupWindow_message "$LNG_WARNING"
POL_SetupWindow_Close
exit

ça se lance, mais j'ai une fenetre PoL qui toune en boucle , creation du prefixe , pendant des heures.


si quelqu'un pouvait m'aider a finir se script de l'installation FR ça serais super merci ! :)

Edité par pioupiou41

Link78340 Lundi 28 Décembre 2009 à 22:11
Link78340

Il est loin le temps où j'avais essayé Runes of Magic, mais au moment où je l'avais fait, j'avais simplement attendu que les mises à jour se fassent et j'avais eu mon Runes of Magic en français.