Outils pour utilisateurs

Outils du site


issue142:ubuntu_au_quotidien

This month, we’ll finish up with retrogaming for a while, but the fact that it has run for 5 months, and we’re really only scratching the surface, is a strong indicator of how capable Linux can be for gaming, as long as your expectations are reasonable. There are a lot of games that can be run on your Linux box, and a lot of them are truly outstanding. First out of the gate this month, we’ll be talking about a gaming site, GOG.COM. This was one of the first places I went to look for games when I switched over to Linux on a more-or-less permanent basis a few years back. GOG is essentially an online game retailer, but they offer up some free games, too. They can be found at https://www.gog.com. I have always found their non-free game prices quite reasonable, and they have frequent sales into the bargain.

Ce mois-ci nous allons en terminer avec le rétro-gaming pendant quelque temps, mais le fait que le sujet a occupé la rubrique pendant 5 mois déjà et que nous l'avons à peine effleuré, est un signal fort de la compétence de Linux dans le domaine des jeux, du moment où vos attentes sont raisonnables. Il y a beaucoup de jeux qui peuvent être lancés sur votre machine Linux, et ils sont très nombreux à être vraiment remarquables.

Tout d'abord, ce mois-ci, je vais parler d'un site de jeu, GOG.com. C'est l'un des premiers endroits où je suis allé chercher des jeux quand j'ai changé pour Linux de façon plus ou moins permanente, il y a quelques années. De base, GOG est revendeur de jeux en ligne, mais il propose quelques jeux gratuits aussi. Il se trouve à https://www.gog.com. J'ai toujours trouvé que le prix de ses jeux payants était très raisonnable et, en plus, il a souvent des soldes.

GOG has a pretty good selection of games that have been ported to Linux. In most cases, it looks like they’re using DOSBox (see Everyday Ubuntu in FCM#137 for more on DOSBox), or possibly WiNE, which is a method for running Windows applications on Linux (although they insist that Wine is Not an Emulator, hence the name). Let’s search for an adventure game to try. Click the magnifying glass ‘search’ icon in the upper right, and type in ‘steel sky’. The search will bring up a well-regarded adventure game called ‘Beneath a Steel Sky’. Click the ‘Free’ button, and the website directs you to the page specific to this game. Read the reviews at the bottom if you are so inclined. Click Add to Cart, then Check Out Now. GOG will make you set up an account, but that’s a small price to pay for free games, isn’t it? Follow the prompts to create a new account. You can use your Facebook account for login if desired.

GOG propose une bonne sélection de jeux portés sur Linux. Dans la plupart des cas, il semble qu'il utilise DOSBox (Allez à la rubrique Ubuntu au quotidien dans le FCM n° 137 pour plus de détails sur DOSBox), ou, de temps en temps, WiNE, qui est une manière de faire tourner des applications Windows sur Linux (Bien qu'il insiste que Wine is Not an Emulator (Wine n'est pas un émulateur), d'où son nom).

Cherchons un jeu d'aventure à essayer. Cliquez sur l'icône de recherche montrant une loupe en haut à droite et tapez « steel sky ». Cette recherche affichera un jeu d'aventure ayant de bonnes critiques appelé « Beneath a Steel Sky » (Sous un ciel d'acier). Cliquez sur le bouton « Free » (gratuit) et le site Web vous amène à la page concernant ce jeu précis. Lisez-en les critiques en bas si vous voulez. Cliquez sur Add to Cart (Ajouter au panier), puis Check Out Now (Acheter maintenant). GOG vous fera créer un compte, mais ce n'est pas cher pour des jeux gratuits, n'est-ce pas ? Suivez les invites pour créer un nouveau compte. Si vous voulez, vous pouvez vous servir de votre compte Facebook pour vous connecter.

Click the cart icon in the upper right to check out. Once that is complete, login if you’re not still logged in and hover over the small ‘person’ icon in the middle of the top of the screen, then click Games. You’ll see ‘Beneath a Steel Sky’, click to go to the game page. Here you’ll see the game installer available for download. Click it and download it to a known location on your drive. The game installer is an .sh file, which means it’s a shell script. While you’re still here, download the manuals and any other files you like, like the wallpapers. GOG is great about providing some terrific extras like soundtracks, graphics files, strategy guides, and more.

Cliquez sur l'icône du caddy en haut à droite pour aller à la page du processus de paiement. Une fois terminé, connectez-vous si vous ne l'êtes plus et passez votre souris sur la petite icône d'une « personne » en haut et au milieu de l'écran, puis cliquez sur Games. Vous verrez « Beneath a Steel Sky » ; cliquez dessus pour aller à la page du jeu. Là, vous verrez l'installeur du jeu disponible au téléchargement. Cliquez dessus et téléchargez-le à un emplacement sur votre disque, dont vous vous souviendrez.

L'installeur de jeu est un fichier .sh, ce qui signifie que c'est comme un script shell. Pendant que vous vous trouvez toujours sur la page, téléchargez les manuels et tout autre fichier que vous aimeriez avoir, comme des fonds d'écran. GOG est fier de fournir quelques suppléments géniaux comme des bandes son, des fichiers de graphismes, des guides de stratégie et plus encore.

Now, here’s where we have to apply a Linux mindset, and some Linux skills. Double-clicking the .sh file in the file manager doesn’t install anything. There are no instructions I’ve ever been able to find on the GOG website for installing their Linux games (which are all .sh files, at least, all the ones I’ve seen). So, what to do? Linux mindset says, “See if we can read the .sh file and look for instructions.” And, Voila! That’s exactly what we needed to do. Our prior double-click should have opened the .sh file in a text editor, and instructions for installing are at the top. The instructions are a little cryptic, and there’s a more intuitive process. The instructions mention chmod, a powerful command run from the command-line, but we can do this (make the file executable) in an easier way. Go back to the file manager and right-click the .sh file, then select Properties. Go to the Permissions tab and click the checkbox next to ‘Execute’ to allow the file to be executed as a program.

Maintenant, c'est ici qu'il faut appliquer la mentalité et quelques compétences en Linux. Un double-clic sur le fichier .sh dans le Gestionnaire de fichiers n'installe rien du tout. Je n'ai jamais pu trouver des instructions sur le site Web de GOG qui indiquent comment installer leurs jeux sous Linux (qui sont tous des fichiers .sh, du moins tous ceux que j'ai regardé). Alors, quoi faire ? La mentalité Linux répond, « Voir si on peut lire le fichier .sh et y trouver des instructions ». Et voilà ! C'était exactement ce qu'il fallait faire. Le double-clic précédent aurait dû ouvrir le fichier .sh dans un éditeur de texte ; des instructions pour l'installation se trouvent en haut.

Les instructions sont un peu mystérieuses et il y a une procédure plus intuitive. Les instructions mentionnent chmod, une commande puissante lancée de la ligne de commande, mais nous pouvons le faire (rendre le fichier exécutable) plus simplement. Retournez dans le gestionnaire de fichiers et faites un clic droit sur le fichier .sh, puis sélectionnez Propriétés. Allez à l'onglet Permissions et cochez la case à côté d'« Exécution » pour permettre l'exécution du fichier en tant que programme.

Go back to the .sh file’s location in file manager. Double-clicking still won’t install it. Right-click an empty part of the right-hand pane and select ‘Open in terminal’. This opens a command-line, where we can type in ./, followed by the name of the .sh file, and Linux will understand that we want to execute it, since we just made it executable. Type in: ./beneath_a_steel_sky_en_gog_2_20150.sh then hit Enter. Click Next on the banner page: Then click Next to confirm the license agreement. Click Yes to accept, then either install to the default location of ‘GOG Games’ under your home directory, or pick another location if desired. For most of us, ‘GOG Games’ will do just fine. You’ll probably want a desktop shortcut and a menu item, so leave those clicked and complete the installer. You now have ‘Beneath a Steel Sky’ running on your Linux machine, and the price is certainly right – FREE. Double-click the new desktop icon and see if you can solve the mystery!

Retournez à l'emplacement du fichier .sh dans le Gestionnaire de fichiers. Un double-clic ne l'installe toujours pas. Faites un clic droit dans une partie vide du panneau à droite et choisissez « Open in terminal » (Ouvrir dans un terminal). Cela ouvre un terminal où nous pouvons taper ./ suivi du nom du fichier .sh et Linux comprendra que nous voulons l'exécuter, puisqu'on vient de le rendre exécutable. Tapez :

./beneath_a_steel_sky_en_gog_2_20150.sh

puis appuyez sur Entrée. Cliquez Next (Suivant) sur la page d'accueil :

Puis cliquez sur Next pour vérifier les dispositions du contrat de licence. Cliquez sur Yes (Oui) pour les accepter et, soit installez-le à l'emplacement par défaut (« GOG Games ») dans votre répertoire Home, soit choisissez un autre emplacement si vous voulez. « GOG Games » conviendra très bien à la plupart d'entre nous. Maintenant « Beneath a Steel Sky » est lancé sur votre machine Linux et le prix est tout à fait correct : GRATUIT. Double-cliquez sur la nouvelle icône sur votre bureau et essayez de résoudre le mystère !

A little housekeeping on last month’s column, I mistakenly inferred that the Sega Genesis outsold the Super Nintendo, but I happened to watch a Sega documentary just yesterday that indicated it did not. To my surprise, the SNES beat the Genesis in sales by about 10%. That was, however, a great improvement from the Sega Master System’s performance in comparison to the original Nintendo Entertainment System, which outsold the SMS by about 11 to 1. Also, there are some other console emulators that I intended to mention, although without going into a detailed description of installing them. They include: • Kega Fusion for the Sega Master System and Genesis. • NEStopia and FakeNES for the Nintendo Entertainment System. • ZSNES and BSNES for the Super Nintendo. • Gens/GS for the Sega Genesis. • Osmose for the Sega Master System. Next month: Putting this monthly column together.

Un peu de ménage concernant la rubrique du mois dernier : j'avais compris par erreur que la Genesis de Sega était plus vendue que la Super Nintendo, mais, tout juste hier, j'ai regardé par hasard un documentaire Sega qui indiquait que ce n'était pas le cas. À ma surprise, la SNES a eu à peu près 10 % de plus de ventes que la Genesis. C'était, cependant, une grosse amélioration de la performance du Sega Master System par rapport au Nintendo Entertainment System d'origine, qui a dépassé les ventes du SMS par environ 11 à 1.

Par ailleurs il y a d'autres émulateurs de console que je voulais mentionner, sans toutefois donner une description détaillée de leur installation. Il s'agit de : • Kega Fusion pour la Sega Master System et la Genesis. • NEStopia et FakeNES pour la Nintendo Entertainment System. • ZSNES et BSNES pour la Super Nintendo. • Gens/GS pour la Sega Genesis. • Osmose pour le Sega Master System.

Le mois prochain : la création d'un article de cette rubrique mensuelle.

issue142/ubuntu_au_quotidien.txt · Dernière modification : 2019/03/12 16:42 de andre_domenech