From EncyclopAtys
(Created page with "{{Trad |DE= |EN=Linux generic installation |ES= |FR=Linux generic installation |RU= }} In this tutorial, we will cover the installation and configuration of the Ryzom client...") |
m (quickfix exec path and attribute) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
β | {{Trad | + | {{Trad |
β | |DE= | + | |DE= |
β | |EN=Linux generic installation | + | |EN=Linux generic installation |
β | |ES= | + | |ES= |
β | |FR=Linux generic installation | + | |FR=Linux generic installation |
β | |RU= | + | |RU= |
β | }} | + | }} |
β | + | This tutorial is targeted towards power-users, not general public. It covers the installation and configuration of the Ryzom client itself in a generic way without looking to integrate it within a specific tool or distribution. Because of this, it does not document how to install dependencies for it can change from a distribution to another. | |
== From the official archive == | == From the official archive == | ||
Line 13: | Line 13: | ||
First, you may need to install <code>wget</code> and <code>7z</code>. Then, retrieve the compressed Ryzom archive using the following commands: | First, you may need to install <code>wget</code> and <code>7z</code>. Then, retrieve the compressed Ryzom archive using the following commands: | ||
β | <pre>mkdir -p "$HOME/ryzom" | + | <pre>mkdir -p "$HOME/.local/share/ryzom" |
β | + | curl --output "/tmp/ryzom_live_client_linux.7z" "https://download.ryzom.com/ryzom_live_client_linux$(test $(uname -m) = 'x86_64' && echo 64 || echo 32).7z" | |
β | + | curl --output "/tmp/ryzom_live_data.7z" "https://download.ryzom.com/ryzom_live_data.7z" | |
β | 7z x "ryzom_live_client_linux.7z" -o"$HOME/ryzom/" | + | 7z x "/tmp/ryzom_live_client_linux.7z" -o"$HOME/.local/share/ryzom/" |
β | 7z x "ryzom_live_data.7z" -o"$HOME/ryzom/" | + | 7z x "/tmp/ryzom_live_data.7z" -o"$HOME/.local/share/ryzom/" |
β | rm -f "ryzom_live_client_linux.7z" "ryzom_live_data.7z" | + | rm -f "/tmp/ryzom_live_client_linux.7z" "/tmp/ryzom_live_data.7z" |
+ | chmod a+x "$HOME/.local/share/ryzom/ryzom_client" | ||
</pre> | </pre> | ||
+ | |||
+ | The game can now be started with the following command: | ||
+ | |||
+ | <pre>cd "$HOME/.local/share/ryzom" && ./ryzom_client</pre> | ||
+ | |||
+ | In order to simplify this, it it possible to use the starting script presented below or to create a graphical launcher if your desktop environment supports it. | ||
== Starting script (optional) == | == Starting script (optional) == | ||
Line 25: | Line 32: | ||
If you do not already have one, create a custom directory where you can store executable files: | If you do not already have one, create a custom directory where you can store executable files: | ||
β | <pre>mkdir -p "$HOME/bin" | + | <pre>mkdir -p "$HOME/.local/bin" |
β | echo '[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"' >>"$HOME/.bashrc" | + | echo '[[ ":$PATH:" == *":$HOME/.local/bin:"* ]] || export PATH="$HOME/.local/bin:$PATH"' >>"$HOME/.bashrc" |
source "$HOME/.bashrc" | source "$HOME/.bashrc" | ||
</pre> | </pre> | ||
β | Create the <code>$HOME/bin/ryzom</code> file with the following content and change <code>your_account_name_goes_here</code> with your account name. | + | Create the <code>$HOME/.local/bin/ryzom</code> file with the following content and change <code>your_account_name_goes_here</code> with your account name. |
<pre>#!/bin/sh | <pre>#!/bin/sh | ||
Line 37: | Line 44: | ||
IFS=$'\n\t' | IFS=$'\n\t' | ||
β | + | ACCOUNT="your_main_account_name_goes_here" | |
β | ACCOUNT=" | ||
RYZOM_DOMAIN="ryzom.com" | RYZOM_DOMAIN="ryzom.com" | ||
β | RYZOM_DIR="$HOME/ryzom" | + | RYZOM_DIR="$HOME/.local/share/ryzom" |
RYZOM_CLIENT="ryzom_client" | RYZOM_CLIENT="ryzom_client" | ||
Line 47: | Line 53: | ||
fi | fi | ||
β | |||
cd "$RYZOM_DIR" | cd "$RYZOM_DIR" | ||
β | "$RYZOM_DIR/$RYZOM_CLIENT" "$ACCOUNT"</pre> | + | |
+ | if hash pass 2>/dev/null; then | ||
+ | PASSWORD="$(pass $RYZOM_DOMAIN/$ACCOUNT)" | ||
+ | "$RYZOM_DIR/$RYZOM_CLIENT" "$ACCOUNT" "$PASSWORD" | ||
+ | else | ||
+ | "$RYZOM_DIR/$RYZOM_CLIENT" "$ACCOUNT" | ||
+ | fi</pre> | ||
Now set the starting script executable: | Now set the starting script executable: | ||
β | <pre>chmod a+x "$HOME/bin/ryzom"</pre> | + | <pre>chmod a+x "$HOME/.local/bin/ryzom"</pre> |
You can now start Ryzom using the <code>ryzom</code> command. To start Ryzom with another account, you can use the <code>ryzom account_name</code> command. | You can now start Ryzom using the <code>ryzom</code> command. To start Ryzom with another account, you can use the <code>ryzom account_name</code> command. | ||
Line 58: | Line 69: | ||
== Password management (optional) == | == Password management (optional) == | ||
β | [http://www.passwordstore.org/ pass] can be used to handle your account password. The starting script already handles it providing you store your password under <code>ryzom.com/account_name</code> | + | [http://www.passwordstore.org/ pass] can be used to handle your account password. The starting script already handles it providing you store your password under <code>ryzom.com/account_name</code>. Obviously, you can store passwords for multiple accounts using the same pattern. |
{{Portal|Forge}} | {{Portal|Forge}} | ||
+ | [[Category:Obsolete]] | ||
[[Category:Support]] | [[Category:Support]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 18:05, 6 October 2021
This tutorial is targeted towards power-users, not general public. It covers the installation and configuration of the Ryzom client itself in a generic way without looking to integrate it within a specific tool or distribution. Because of this, it does not document how to install dependencies for it can change from a distribution to another.
From the official archive
First, you may need to install wget
and 7z
. Then, retrieve the compressed Ryzom archive using the following commands:
mkdir -p "$HOME/.local/share/ryzom" curl --output "/tmp/ryzom_live_client_linux.7z" "https://download.ryzom.com/ryzom_live_client_linux$(test $(uname -m) = 'x86_64' && echo 64 || echo 32).7z" curl --output "/tmp/ryzom_live_data.7z" "https://download.ryzom.com/ryzom_live_data.7z" 7z x "/tmp/ryzom_live_client_linux.7z" -o"$HOME/.local/share/ryzom/" 7z x "/tmp/ryzom_live_data.7z" -o"$HOME/.local/share/ryzom/" rm -f "/tmp/ryzom_live_client_linux.7z" "/tmp/ryzom_live_data.7z" chmod a+x "$HOME/.local/share/ryzom/ryzom_client"
The game can now be started with the following command:
cd "$HOME/.local/share/ryzom" && ./ryzom_client
In order to simplify this, it it possible to use the starting script presented below or to create a graphical launcher if your desktop environment supports it.
Starting script (optional)
If you do not already have one, create a custom directory where you can store executable files:
mkdir -p "$HOME/.local/bin" echo '[[ ":$PATH:" == *":$HOME/.local/bin:"* ]] || export PATH="$HOME/.local/bin:$PATH"' >>"$HOME/.bashrc" source "$HOME/.bashrc"
Create the $HOME/.local/bin/ryzom
file with the following content and change your_account_name_goes_here
with your account name.
#!/bin/sh set -euo pipefail IFS=$'\n\t' ACCOUNT="your_main_account_name_goes_here" RYZOM_DOMAIN="ryzom.com" RYZOM_DIR="$HOME/.local/share/ryzom" RYZOM_CLIENT="ryzom_client" if [ $# -ge 1 ]; then ACCOUNT="$1" fi cd "$RYZOM_DIR" if hash pass 2>/dev/null; then PASSWORD="$(pass $RYZOM_DOMAIN/$ACCOUNT)" "$RYZOM_DIR/$RYZOM_CLIENT" "$ACCOUNT" "$PASSWORD" else "$RYZOM_DIR/$RYZOM_CLIENT" "$ACCOUNT" fi
Now set the starting script executable:
chmod a+x "$HOME/.local/bin/ryzom"
You can now start Ryzom using the ryzom
command. To start Ryzom with another account, you can use the ryzom account_name
command.
Password management (optional)
pass can be used to handle your account password. The starting script already handles it providing you store your password under ryzom.com/account_name
. Obviously, you can store passwords for multiple accounts using the same pattern.