Manuel de l'installeur Ryzom

From Ryzom Forge Wiki

Revision as of 22:21, 18 October 2016 by Krill (talk | contribs)
Jump to: navigation, search

WIP

Flag-DE

Übersetzung , bitte.

Flag-ES

Traducción, por favor.

Flag-FR

Pour vérifier la qualité du texte technique

Flag-RU

перевод, пожалуйста.


Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge

1 Qu'est-ce que l'installateur Ryzom ?

L'"Installateur Ryzom" est un nouvel outil pour gérer la migration de la version 2.1 à la 3.0. Il a été créé car le client 2.1 ne supporte pas toutes les plateformes (il ne supporte que Windows 32 bits) et car il est installé au "mauvais" endroit (un MMORPG ne devrait pas être installé dans le C:\Program Files car ce répertoire n'est pas inscriptible pour un utilisateur normal et nécessite des droits d'administrateur).

On l'appelle "Installateur" parce qu'il peut être utilisé pour installer Ryzom à partir de rien et de télécharger les données nécessaires.

2 Comment fonctionne l'Installateur Ryzom ?

La première fois qu'un joueur avec le client en version 2.1 lance le jeut, c'est l'Installateur qui se lance au lieu du client. Il détecte qu'il doit migrer les données existantes et les copie dans un nouvel emplacement (où l'utilisateur peut écrire). Après la migration, il affiche un simple dialogue avec le choix du "profil" (un profil par défaut est créé pendant la migration) et permet de cliquer sur Jouer ou Configurer.

Une fois ceci fait, le joueur peut lancer Ryzom comme d'habitude en cliquant sur une icône ou en utilisant l'Installateur.

Q : Combient de temps dure la migration ?
R : Juste le temps nécessaire à la recopie des fichiers.
Q : Certains ont encore un client plus ancien que la 2.1, comme un 2.0 sur Mac ou même encore plus vieux. Ceux-ci sont-ils également pris en charge ?
R : L'installateur ne patche que les clients Windows car aucun autre client n'utilise le système de patch officiel. Les clients Windows 2.0 patchent en 3.0 via l'Installateur. Si un patch fonctionne, il patche, même sur ces clients 1.x. Ça ne changera rien. Pour les joueurs sous Linux ou OS X, ils devront télécharger l'Installateur. Dans tous les cas, tous les joueurs qui utilisatent des clients bêta seront migrés automatiquement, sans avoir besoin de l'Installateur.

3 Fichier de configuration utilisé ou créé par l'Installateur Ryzom

Chaque choix de l'utilisateur est sauvegardé dans un fichier de configuration appelé ryzom_installer.ini. Vous pouvez ouvrir https://bitbucket.org/ryzom/ryzomcore/src/05465687c514be172eadb4d39d670714219d4558/code/ryzom/tools/client/ryzom_installer/res/ryzom_installer.ini?at=compatibility-develop&fileviewer=file-view-default avec votre navigateur pour voir son contenu par défaut. Ce fichier est intégré dans le binaire de l'Installateur Ryzom et copié dans C:\Users\<your name>\AppData\Local\Ryzom même si vous choisissez un emplacement différent pendant votre migration.

Après la création du profil par défaut (à la fin de la migration), son contenu devrait ressemler à ça :

   version=3
   
   [common]
   language=fr
   source_directory=
   installation_directory=C:/Users/Kervala/AppData/Local/Ryzom
   use_64bits_client=true
   should_uninstall_old_client=true
   installer_filename_windows=ryzom_installer_qt_r.exe
   installer_filename_osx=RyzomInstaller.app/Contents/MacOS/RyzomInstaller
   installer_filename_linux=ryzom_installer_qt
   
   [product]
   name=Ryzom
   publisher="Winch Gate Property Limited"
   url_about=http://ryzom.com/?lang=$LANG
   url_help=http://app.ryzom.com/app_forum/index.php?page=topic/view/22047/1&post149889=$LANG#1
   comments=Science-fantasy MMORPG
   
   [servers]
   size=1
   
   [server_0]
   id=ryzom_live
   name=Atys
   display_url="http://app.ryzom.com/app_releasenotes/index.php?lang=$LANG"
   files_list_url="https://sourceforge.net/projects/ryzom/rss?path=/installer"
   data_download_url="http://downloads.sourceforge.net/project/ryzom/installer/ryzom_live_data.7z?r=&ts=$TIMESTAMP"
   data_download_filename=ryzom_live_data.7z
   data_compressed_size=1500000000
   data_uncompressed_size=7000000000
   client_download_url="http://downloads.sourceforge.net/project/ryzom/installer/ryzom_live_client_$ARCH.7z?r=&ts=$TIMESTAMP"
   client_download_filename=ryzom_live_client_$ARCH.7z
   client_filename_windows=ryzom_client_r.exe
   client_filename_osx=Ryzom.app/Contents/MacOS/Ryzom
   client_filename_linux=ryzom_client
   client_filename_old_windows=client_ryzom_rd.exe
   configuration_filename_windows=ryzom_configuration_qt_r.exe
   configuration_filename_osx=Ryzom.app/Contents/MacOS/RyzomConfiguration
   configuration_filename_linux=ryzom_configuration_qt
   comments=
   
   [profiles]
   size=1
   default=0
   
   [profile_0]
   id=0
   name=Ryzom (Atys)
   server=ryzom_live
   executable=
   arguments=
   comments=Default profile created by Ryzom Installer
   desktop_shortcut=true
   menu_shortcut=true
   
  • La section [product] contient des détails sur Ryzom qui seront utilisés dans "App/Remove programs" et d'autres emplacements.
  • Les sections [server_X] contienne les fichiers nécessaires au serveur, les fichiers à copier, l'espace nécessaire, etc... :) Pour le moment, seul ryzom_live (Atys) est supporté.
  • Les [profiles] sont sauvegardés dans différentes sections [profile_X] avec un numéro.
Q : Dans la fenêtre d'édition du profil, on peut encore ajouter des informations du profil en tant qu'arguments pour se connecter automatiquement ? Comme dans un raccourci ?
R : Tout à fait. Et ça mettra à jour les raccourcis s'ils son cochés. Si vous avez plusieurs comptes, ce sera utile. Vous pouvez même choisir un autre client et il affichera sa version. Cela peut être utile si vous voulez utiliser un client DEV par exemple.

L'Installateur Ryzom permet de modifier ce fichier facilement, mais il est toujours bon de comprendre où sont stockées les données des utilisateurs et leur contenu :

  • Les fichiers patchés (client, données, etc...) sont situés dans le répertoire que vous aez choisi pendant la migration ou, par défaut, C:\Users\<your name>\AppData\Local\Ryzom\ryzom_live (là où ryzom_live est l'ID du serveur).
  • Les fichiers utilisateurs ((client.cfg, client.log, user, save, screenshots, music, etc...) sont situés dans C:\Users\<your name>\AppData\Roaming\Ryzom\<profile id>
Q : On peut choisir de les installer ailleurs ?
R : Oui. On peut mettre les données du client où on veut.
L'emplacement qui peut être changé est celui pour C:\Users\<your name>\AppData\Local\Ryzom, C:\Users\<your name>\AppData\Roaming\Ryzom\<profile id> ne peut pas être modifié. Peut-être plus tard... Sous Windows, "Local" correspond à des données globales spécifiques à la machine utilisée, "Roaming" contient des données utilisateurs qui doivent être copiées sur chaque machine à laquelle l'utilisateur se connecte (ce qui se justifie dans le cas d'un réseau Windows utilisant un domaine).
Q : Quel est le but de cette structure ?
R : Pouvoir avoir plusieurs fichiers de données pour chaque serveur (Atys, Yubo, Kaghanat, Tempest in the Aether, etc) et plusieurs clients/comptes. Donc si vous avez 4 comptes sur Atys, vous aurez un serveur (ryzom_live) et quatre profils (0, 1, 2, 3) avec des client.cfg différents et des fichiers utilisateurs distincts. Et vous pourrez jouer en même sans avoir quatre copies de toutes les données. Les emplacements de fichiers et du ryzom_installer.ini seront différents sur chaque plateforme.
Q : Pourquoi ne pas tout stocker dans le répertoire où est le jeu ?
R : Parce qu'il faut centraliser le fichier de configuration de l'Installateur Ryzom, ou l'Installateur Ryzom ne le trouvera pas s'il est lancé depuis ailleurs.
Q : Comment puis-je trouver l'endroit où sont situés mes copies d'écran, mon client.fg ou mon client.log ?
R : C:\Users\<your name>\AppData\Roaming\Ryzom\<profile id> où 'AppData' est généralement un dossier caché. Il y a au moins trois façons d'ouvrir ce répertoire et de continuer jusqu'à votre emplacement :
*#Ouvrir l'Installateur Ryzom, aller dans Préférenes -> Profils, choisir votre profil à gauche, cliquer sur 'Ouvrir' à côté du 'Répertoire' dans la partie droite.
*#Ouvrir l'Explorateur Windows, entrer %AppData% dans la barre d'adresse, et presser Entrée..
*#Ouvrir l'Explorateur Windows, ouvrir votre répertoire C:\, cliquer sur 'Organiser', choisir l'option 'Dossiers et Recherhe', choisir l'onglet 'Affichage' dans la nouvelle fenêtre. Dans 'Fichiers et dossiers' -> 'Fichiers et dossiers caché', choisir l'option pour 'Afficher les fichiers et dossiers cachés'. Cliquer sur 'OK', et à partir de maintenant, vous pourrez toujours trouver et ouvrir le répertoire AppData.((A vérifier par quelqu'un qui a Windows))
Pour Windows XP, l'emplacement est :
C:\Documents and Settings\yourname\Application Data\Ryzom\0

4 Advices

  • Never uncompress the downloaded 7z files manually.
  • Both ryzom_live_data.7z and ryzom_live_client_win32.7z (or ryzom_live_client_win64.7z) must be let untouched.
  • Never launch ryzom_client_patcher.exe yourself.

5 Linux version of Ryom Installer

Linux version of Ryzom Installer is available on http://ryzom.com (just click on Linux logo to download it).

You get a ryzom_installer_linux.tar.bz2 to uncompress, it'll create a ryzom_installer_linux directory with 32 and 64 bits versions of Installer and a ryzom_installer_linux.sh script that'll launch the right Installer depending on your platform.

Choose where you want to install Ryzom data and client (by default in ~/.local/share/Ryzom), wait until it downloaded and uncompress all files.

If you want to use your interfaces, configurations, etc... you just need to copy them to ~/.local/share/Ryzom/0

If you have error 307 message, just download :

You should have "Ryzom Installer" and "Ryzom (Atys)" entries in your applications menu.

If Ryzom doesn't want to start, you may need to install OpenAL on your distribution (you can check that by trying to launch it using command-line).

To start Ryzom (and use your first profile) from command-line, you can use : ~/.local/share/Ryzom/ryzom_live/ryzom_client -p 0

6 How to remove the installer and files?

Go in "Add/Remove programs, it should launch Installer in Uninstaller mode and allow to check components you want to uninstall.

If something went wrong, you may need to check these locations :

  • Under Windows XP :
  • C:\Documents and Settings\<user name>\Local Settings\Application Data\Ryzom
    • C:\Documents and Settings\<user name>\Application Data\Ryzom
  • Under Windows Vista and up :
    • C:\Users\<user name>\AppData\Local\Ryzom
    • C:\Users\<user name>\AppData\Roaming\Ryzom

7 Different problems and their solutions

1 What to check and to ask when a player has a problem

  • a screenshot of the error
  • what is their platform : Windows, Linux, OS X, 32 or 64 bits
  • screenshot of C:\Program Files (x86)\Ryzom
  • screenshot of C:\Users\<login>\AppData\Local\Ryzom
  • screenshot of C:\Users\<login>\AppData\Local\Ryzom\ryzom_live
  • (screenshot of another directory if they didn’t install Ryzom Installer in default directories)
  • copy-paste of C:\Users\<login>\AppData\Local\Ryzom\ryzom_installer.ini
  • copy-paste of C:\Users\<login>\AppData\Roaming\Ryzom\0\client.log
  • copy-paste of C:\Users\<login>\AppData\Roaming\Ryzom\0\client.cfg
  • screenshot of C:\Users\<login>\AppData\Roaming\Ryzom\0\user content
  • (if they used a profile different of 0, replace the 0 by the right profile ID before)

2 Ryzom Installer can't run and displays an error message box

Ryzom Installer, after installing it, is using 32 bits DLLs in C:\Users\<login>\AppData\Local\Ryzom and Ryzom Installer from C:\Users\<login>\AppData\Local\Ryzom\ryzom_live should be in 64 bits if you chose a 64 bits client. After a patch, client is copying Ryzom Installer from C:\Users\<login>\AppData\Local\Ryzom\ryzom_live to C:\Users\<login>\AppData\Local\Ryzom and then DLLs in C:\Users\<login>\AppData\Local\Ryzom could be incompatible with the copied Ryzom Installer :( The temporary fix is to copy both msvcp100.dll, msvcr100.dll and ryzom_installer_qt_r.exe from C:\Users\<login>\AppData\Local\Ryzom\ryzom_live to C:\Users\<login>\AppData\Local\Ryzom. This will be fixed in next patch.

3 Ryzom Installer seems blocked/stalled

If Ryzom Installer seems blocked/stalled, it can be because there was a previously version of Ryzom Installer that wasn’t properly uninstalled or if player moved directories and configuration file became invalid. In this case, it’s possible to uninstall it completely by removing whole content of C:\Users\<login>\AppData\Local\Ryzom and C:\Users\<login>\AppData\Roaming\Ryzom but please be sure that player hasn’t files he would like to keep before doing that. In that case, always make a backup.

4 Not enough disk space

If players have not enough disk space, it should notify them and they'll have to chose another location.

5 Error 6

It means than the downloaded 7z file was incomplete and Ryzom Installer couldn't uncompress it. The best fix is to find the file in C:\Users\<login>\AppData\Local\Ryzom and to change its extension from .7z to .7z.part (just adding a .part). If you restart Ryzom Installer, it should try to resume the file. If it takes too long, you can download it manually (see error 307) and move it to C:\Users\<login>\AppData\Local\Ryzom.

6 Error 126 on a ATI/AMD card

If a player with an ATI/AMD card has an error 126 when launching Ryzom or Configuration (it should only display the splash screen and then the error in a dialog), you need to go to C:\Windows\System32 and copy atio6axx.dll to atiogl64.dll After this change, Ryzom should launch :)

7 Error 307

It’s a problem with Sourceforge.

First you need to close Ryzom Installer.

To fix that you can manually download the required files :

Data are always required and you need to download the right client.

Then you move all these 7z files in :

  • Windows : C:\Users\<login>\AppData\Local\Ryzom
  • Linux : HOME/.local/share/Ryzom
  • OS X: HOME/Library/Application Support/Ryzom

And relaunch Ryzom Installer, it should detect files and uncompress them.

8 Direct3D driver / OpenGL

If player used a Direct3D driver with 2.1 client and since client.cfg will be copied, it’ll continue to use D3D. Now that OpenGL is recommended driver for all cards, players could need to switch to it manually clicking on Configure button in Ryzom Installer and select OpenGL (or Auto) instead of Direct3D.

9 point_except handler4_common could not be located in the dynamic link library msvcrt.dll

Error is The procedure entry point_except handler4_common could not be located in the dynamic link library msvcrt.dll, to fix it you need to :

  • Browse to C:\Windows\System32 folder and file this file dwmapi.dll
  • Rename this file from dwmapi.dll to dwmapi.dll_old

10 Player can't start client because of a wrong DLL

  • Edit C:\Users\<login>\AppData\Local\Ryzom\ryzom_installer.ini, remove the directory after *source_directory=* to be sure, it won't copy again from old client
  • Remove completely all DLLs and EXEs in C:\Users\<login>\AppData\Local\Ryzom\ryzom_live
  • Download the right client on SourceForge (see Error 307)
  • Put it to C:\Users\<login>\AppData\Local\Ryzom (don't uncompress it!)
  • Restart Ryzom Installer
  • It should uncompress the new client and you should be able to patch and play after that

11 Case of manually move of “ryzom_life” folder

If player manually moves "ryzom_live" folder or another one, Ryzom Installer won't detect it and player will have to edit his ryzom_installer.ini

12 German players with an English Windows environment

If German player has an English Windows environment than Ryzom will start in English too, even when the user has chosen a German installation (this only chose the language for the installation process, not the language for the game itself)

13 Location of default files under all platforms

  • Windows Vista and up :
    • C:\Users\<login>\AppData\Local\Ryzom
    • C:\Users\<login>\AppData\Roaming\Ryzom
  • Windows XP :
    • C:\Documents and Settings\<login>\Local Settings\Application Data\Ryzom
    • C:\Documents and Settings\<login>\Application Data\Ryzom
  • Linux :
    • HOME/.local/share/Ryzom (both profiles (0, 1, 2, etc…) and servers (ryzom_live, ryzom_dev, etc…) are in the same directory)
  • OS X :
    • HOME/Library/Application Support/Ryzom (both profiles (0, 1, 2, etc…) and servers (ryzom_live, ryzom_dev, etc…) are in the same directory)

14 What to do if I do not find a solution to my problem in this list?

Please come on #ryzom on IRC Freenode (direct link: http://webchat.freenode.net/?channels=ryzom and someone will help you in direct!

15 No sound when using OpenAL driver

Be sure to have installed https://www.openal.org/downloads/oalinst.zip (under Windows) or OpenAL package for your distribution (libopenal1 under Debian-based ones). OpenAL is always installed under OS X.

16 Unable to install OS X version of Ryzom Installer

  • Open System Preferences
  • Open the Security & Privacy pane
  • Select the General tab
  • Click on Open anyway next to Ryzom Installer and it'll open Ryzom Installer package

17 If there are any bug with Ryzom Installer

In all cases, if you found a bug with Ryzom Installer, you can download and install latest versions from http://ryzom.com and try it. They'll be updated regularly.

18 My download is very slow

You can close Ryzom Installer, Sourceforge should redirect to a best mirror and your download will resume.

8 White or black textures

The default quality has been improved in v3 clients. By the way, v3 clients use 128 Mo of video memory against 32 Mo for v2's ones.

The textures are sent to the graphic card's memory. If you see them in white or black, it's probably because your graphic card has not got enough memory to stock them. Moreover, if your graphic card does not support the compressed textures, Ryzom detects it and unzips them before to send them.

So in case of white or black graphic issue, please reduce the graphic qualities in Configuration (lower graphic quality and no effects), it should help to fix the problem.