« Starbound » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
m Un bon début!
Ligne 1 : Ligne 1 :
<div style="border: 1px solid #f4f4f4;padding-top:15px;-webkit-border-radius: 0.3em; -moz-border-radius: 0.3em;border-radius: 0.3em;border: 1px solid #CCC;box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);">
<div style="border: 1px solid #f4f4f4;padding-top:15px;-webkit-border-radius: 0.3em; -moz-border-radius: 0.3em;border-radius: 0.3em;border: 1px solid #CCC;box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);">


{{Bannière|title=yes|content=<div style="font-size: 115%;">'''Le serveur Starbound de Nefald.fr est privé'''
{{Bannière|title=yes|content=<div style="font-size: 115%;">'''Le serveur Starbound de Nefald.fr est strictement privé'''
<br />Pour y jouer, il vous faut être citoyen de Nefald et [http://nefald.fr/forum/viewforum.php?f=44&sid=457117d63d5498e8fab8c7a4a72604e4 demander les accès aux Intendants]. <br /><small>Toutes divulgation de ces accès sans l'accord préalable d'un intendant, sera lourdement sanctionné.</small>}}
Pour y jouer il vous faut être [[Citoyen|citoyen de Nefald]] et [http://nefald.fr/forum/viewforum.php?f=44&sid=457117d63d5498e8fab8c7a4a72604e4 demander les accès aux Intendants]. <br /><small>Toutes divulgation de ces accès sans l'accord préalable d'un intendant, sera lourdement sanctionné.</small>}}
</div></div>
</div></div>
{{Infobox Tutoriel| image = Starbound_Logo.jpg| catégorie = Starbound | os = Linux | création = 22/03/2014|}}




{{Infobox Tutoriel| image = Starbound_Logo.jpg| catégorie = [[Starbound]] | os = Linux | création = 22/03/2014|}}
== Installation d'un serveur ==
=== Linux ===
=== Installer Steamcmd ===


;Lancez votre serveur dans un screen
<syntaxhighlight lang="Bash">screen -S starbound ./starbound_server</syntaxhighlight>


== Installation sur Linux ==


=== Mettre à jour son serveur ===
=== Installer les librairies manquantes ===
==== Méthode 1 ====
;Debian/Ubuntu
<syntaxhighlight lang="Bash">pt-get install libssl1.0.0 libfreetype6 libogg0 libgcc1 libpng12-0 libvorbis0a libvorbisfile3</syntaxhighlight>
 
;Archlinux
<syntaxhighlight lang="Bash">pacman -S libpng12</syntaxhighlight>
 
;Gentoo
<syntaxhighlight lang="Bash">emerge libpng:1.2 freetype openssl </syntaxhighlight>
 
 
Si tout cela ne fonctionne pas, essayez la '''méthode 2'''.
 
==== Méthode 2 ====
;64bits
* Accédez au répertoire où se trouve votre serveur '''Starbound'''
** <code>$ cd /path/to/your/starbound/linux64</code>
 
* Téléchargez les librairies 64bits
** <code>$ wget http://nefald.fr/wiki/Fichier:starbound-server-x64-libdeps.tar.gz</code>
 
* Extrayez les librairies
** <code>$ tar xvfz starbound-server-x64-libdeps.tar.gz</code>
 
 
 
;32bits
* Changez de répertoire pour atteindre celui où se trouve votre serveur '''Starbound'''
** <code>$ cd /path/to/your/starbound/linux32</code>
 
* Téléchargez les librairies 32bits
** <code>$ wget http://nefald.fr/wiki/Fichier:starbound-server-x32-libdeps.tar.gz</code>
 
* Extrayez les librairies
** <code>$ tar xvfz starbound-server-x32-libdeps.tar.gz</code>
 
 
Avec un peu de chance, cela devrait fonctionner. Essayez de lancer votre serveur avec la commande <code>./launch_starbound_server.sh</code>. Ça ne fonctionne toujours pas? Passez à la '''méthode 3'''!
 
 
==== Méthode 3 ====
 
Si arpès la méthode 2 vous obtenez ce genre d'erreur :
<syntaxhighlight lang="Bash">
./starbound_server: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument
or
./starbound_server: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libgcc_s.so.1)</syntaxhighlight>
 
C'est que vous êtes bons pour la '''méthode 3''' <ref>[http://community.playstarbound.com/index.php?threads/how-to-install-fix-missing-libraries-for-starbound_server-32-64bit.39126/page-2#post-1543454 Métohde d'arcanemagick] sur les forums chucklefishgames</ref>! C'est celle qui a fonctionnée pour moi.
 
Dans le pack téléchargé dans la '''méthode 2''' se trouvait un répertoire nommé <code>linux_loader-dont-know-if-you-need-this</code>. Ouvrez-le puis déplacez la librairie ''ld-linux.so.2'' dans le répertoire d'installation (linux64 ou linux3é, cd'est selon)
 
;Lancez votre serveur avec la commande
<syntaxhighlight lang="Bash">./ld-linux.so.2 --library-path ./ ./starbound_server</syntaxhighlight>
 
 
==== Mettre à jour son serveur ====
 
;Lancez steamcmd et connectez-vous afin d’exécuter l'update <ref>Un sujet sur le forum de [http://community.playstarbound.com/index.php?threads/steamcmd-is-straight-up-not-updating-this-game-properly.54990/#post-1547335 steamcommunity]</ref>
<syntaxhighlight lang="Bash">
<syntaxhighlight lang="Bash">
./steamcmd.sh
./steamcmd.sh
login <USERNAME> <PASSWORD>
login <USERNAME> <PASSWORD>
force_install_dir ./starbound (or whereever yours is)
force_install_dir ./starbound
app_update 211820 validate
app_update 211820 validate
exit
exit
</syntaxhighlight>
</syntaxhighlight>


Ou <code>./steamcmd.sh +login <USERNAME> '<PASSWORD>' +force_install_dir ./starbound +app_update 211820 +quit</code>
;Ou en une seule commande
* <code>./steamcmd.sh +login <USERNAME> '<PASSWORD>' +force_install_dir ./starbound +app_update 211820 +quit</code>


{{Info|
* Veillez à renseigner <code><USERNAME></code> et <code><PASSWORD></code>
* '''211820''' est l'ID de Starbound sur Steam
}}


== Références ==
== Références ==
<references/>
* [http://community.playstarbound.com/index.php?threads/how-to-install-fix-missing-libraries-for-starbound_server-32-64bit.39126/page-2#post-1543454 how-to-install-fix-missing-libraries-for-starbound_server-32-64bit]
* [http://community.playstarbound.com/index.php?threads/how-to-install-fix-missing-libraries-for-starbound_server-32-64bit.39126/page-2#post-1543454 how-to-install-fix-missing-libraries-for-starbound_server-32-64bit]
* [http://starbounder.org/Guide:LinuxServerSetup Guide:LinuxServerSetup]
* [http://starbounder.org/Guide:LinuxServerSetup Guide:LinuxServerSetup]

Version du 22 mars 2014 à 19:42




Starbound
Starbound
Général
Catégorie Starbound [edit]
Métadatas
Création 22/03/2014
Dernière révision 22/03/2014



Installation d'un serveur

Linux

Installer Steamcmd

Lancez votre serveur dans un screen
screen -S starbound ./starbound_server


Installer les librairies manquantes

Méthode 1

Debian/Ubuntu
pt-get install libssl1.0.0 libfreetype6 libogg0 libgcc1 libpng12-0 libvorbis0a libvorbisfile3
Archlinux
pacman -S libpng12
Gentoo
emerge libpng:1.2 freetype openssl


Si tout cela ne fonctionne pas, essayez la méthode 2.

Méthode 2

64bits
  • Accédez au répertoire où se trouve votre serveur Starbound
    • $ cd /path/to/your/starbound/linux64
  • Extrayez les librairies
    • $ tar xvfz starbound-server-x64-libdeps.tar.gz


32bits
  • Changez de répertoire pour atteindre celui où se trouve votre serveur Starbound
    • $ cd /path/to/your/starbound/linux32
  • Extrayez les librairies
    • $ tar xvfz starbound-server-x32-libdeps.tar.gz


Avec un peu de chance, cela devrait fonctionner. Essayez de lancer votre serveur avec la commande ./launch_starbound_server.sh. Ça ne fonctionne toujours pas? Passez à la méthode 3!


Méthode 3

Si arpès la méthode 2 vous obtenez ce genre d'erreur :

./starbound_server: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument
or
./starbound_server: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libgcc_s.so.1)

C'est que vous êtes bons pour la méthode 3 [1]! C'est celle qui a fonctionnée pour moi.

Dans le pack téléchargé dans la méthode 2 se trouvait un répertoire nommé linux_loader-dont-know-if-you-need-this. Ouvrez-le puis déplacez la librairie ld-linux.so.2 dans le répertoire d'installation (linux64 ou linux3é, cd'est selon)

Lancez votre serveur avec la commande
./ld-linux.so.2 --library-path ./ ./starbound_server


Mettre à jour son serveur

Lancez steamcmd et connectez-vous afin d’exécuter l'update [2]
./steamcmd.sh
login <USERNAME> <PASSWORD>
force_install_dir ./starbound
app_update 211820 validate
exit
Ou en une seule commande
  • ./steamcmd.sh +login <USERNAME> '<PASSWORD>' +force_install_dir ./starbound +app_update 211820 +quit



Références

  1. Métohde d'arcanemagick sur les forums chucklefishgames
  2. Un sujet sur le forum de steamcommunity