How to play classic Minecraft in a browser

Minecraft turned 10 this year and in celebration, Mojang not only offered a reasonable discount for the game which is something that never happens, but also released classic Minecraft for free. Classic Minecraft is Minecraft when it was first developed. It was basic, to say the least. You had very few blocks to build with and, unfortunately, no evil mobs to fight off. Here’s how you can play classic Minecrafft in a browser.

Play Classic Minecraft

Classic Minecraft has limitations, as you can guess. For one, you cannot save a game, you can’t use your usual Minecraft/Mojang/Microsoft account to login, you cannot join any existing server games, and basically anything to do with your main account will not work with it.

You need a fairly modern browser for this. Chrome and Firefox will do. You need a keyboard and a mouse to play. Even if you have a game controller connected to your system, it will not work with the game.

You can play together with up to nine players, and you can have a small, medium, or huge map to play on. Visit this page, and it will generate a new game for you. Enter a nickname for yourself. The game will give you a link that you can share with your friends and invite them to play the same game.

You get a brief overview of the controls and since they’re basic, there isn’t much for you to learn. There are no tools so items all ‘break’ with one click, and are similarly placed with another.

The WASD keys are used for movement, the Spacebar for jumping, and F for toggling fog.

While this isn’t going to take as much toll on your system as the actual game played as a desktop app, it’s still going to consume lots of RAM through your browser. It’s a good idea to make sure nothing on your system is consuming too much RAM. Close other tabs when you play.

We’ll be honest; this isn’t a super-immersive experience. You won’t be playing for hours. It’s a bit of nostalgia which is good in moderation. You’re basically playing the game in creative mode; you can build what you want with whatever blocks are available to you. If your friends join in, you can build together.

If you initiate a game, and leave it when there are no other players in the game, the game will be lost/end. If there are other players in the game, you can rejoin it by visiting its link.

Read How to play classic Minecraft in a browser by Fatima Wahab on AddictiveTips – Tech tips to make you smarter

How to install the new Minecraft launcher for Linux

Minecraft is one of the few video games to support the Linux platform. In the past, we’ve talked about how to play Minecraft on Linux. In that tutorial, we outlined how to manually download the Jar package, install Java and get the game running.

The method covered in the old tutorial for playing Minecraft is now obsolete, and the standalone Jar file isn’t available for downloading anymore. As of now, if you want to continue enjoying Minecraft on Linux, you need to download the new Minecraft launcher for Linux from Mojang. So, in this tutorial, we’ll show you how to get the Minecraft game working by installing the new launcher. Let’s get started!

Download installer

Mojang has put the new Minecraft launcher for Linux on their website. To download it for your Linux distribution, go to Minecraft.net. Once there, log in to your existing account (or set up a new one if you need to do so).

After logging in to your Mojang account on the website, find the “back to Minecraft.net” button at the top and click it to return to the home page of the website. Then, click the menu button on the right, followed by the green arrow button under “download.”

Upon clicking the download button, the website should automatically detect your current operating system, and reveal the recommended download option for your Linux OS.

There are many different download options for the new Minecraft launcher for Linux, including a DEB package, and a community AUR package. Follow the download instructions below for your Linux OS.

Ubuntu/Debian

Mojang has created a new, installable DEB package for Ubuntu and Debian users. It’s an excellent way to get the game running, as the package pulls in Java, and everything you’ll need to enjoy the game with no fuss. To get your copy of the new launcher, look on the download page for “Desktops”, and click on the “Linux” option.

After clicking on “Linux,” the website should auto-detect that you need to download the DEB. If not, a direct link to it is here.

Download the DEB package to your Debian or Ubuntu Linux PC and move on to the set-up section of the guide.

Arch Linux

Mojang has linked to an official AUR package for getting Minecraft working on Arch Linux. To get your hands on it, you must install the Trizen AUR helper. To start, use the Pacman package manager to install both the Base-devel and Git packages.

sudo pacman -S base-devel git

Next, grab the code for the Trizen AUR helper. Getting this app will make getting Minecraft working way easier.

git clone https://github.com/trizen/trizen

Install the Trizen app.

cd trizen
makepkg -sri

With the Trizen app working on Arch, move down to the setup section of this tutorial.

Snap

The developers of Minecraft have a generic TarGZ archive on the download page for Linux users, which enables everyone, even those not using Ubuntu, Debian or Arch Linux to get the app working. Unfourtunately, that method is tedious, so it’s great to see that the new Minecraft  launcher for Linux is on the Snap store.

To download Minecraft from the Snap store, you must first enable Snapd on your system. To do that, head over to this tutorial here and follow the instructions specific to your Linux distribution. When done, move on to the setup section.

Flatpak

Minecraft is on Flathub as a Flatpak, so if you are running a distribution that supports it, you’ll be able to quickly grab the game. To get Minecraft downloaded over Flatpak, you need install the Flatpak runtime. here for help on how to do that.

Once the Flatpak runtime is up and running on your distribution, you’ll have to set up Flathub, so that the Minecraft package is accessable. To enable Flathub, open up a terminal and enter the command below.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

With the Flathub repo up and running, go to the setup section to finish the installation.

Set up the installer

Now that we’ve gone over how to download the Minecraft installation package for various Linux distributions, it’s time to install it to the system. To get it working on your particular Linux operating system, open up a terminal window and follow the instructions that correspond to the OS you use.

Ubuntu/Debian

To get the new launcher working on Ubuntu and Debian PCs, use the CD command to move to the “Downloads” directory.

cd ~/Downloads

Once inside the “Downloads” folder, run the dpkg tool to install the package.

sudo dpkg -i Minecraft.deb

After the initial package installation, you may run into some dependency issues. Fix this with:

sudo apt install -f

Arch Linux

The hard part of getting Minecraft working on Arch Linux is setting up Trizen. Now that you’ve got the tool ready to go, it’s one simple command to install the new Minecraft launcher. In a terminal, enter the following command.

trizen -S minecraft-launcher

Snap

With Snapd working, getting the new Minecraft launcher is a simple snap install command.

sudo snap install mc-installer

Flatpak

With the Flatpak runtime and the Flathub repo working on Linux, you’ll be able to quickly install the latest Minecraft launcher with flatpak install.

flatpak install flathub com.mojang.Minecraft

Read How to install the new Minecraft launcher for Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to use OpenXRay to play S.T.A.L.K.E.R. Call of Pripyat on Linux

S.T.A.L.K.E.R. Call of Pripyat is an excellent open world game that takes place in Ukraine, around Chernobyl. It’s the third entry in the S.T.A.L.K.E.R. series and is a cult classic for gamers that love post-apocalyptic adventures. Upon release, Call of Pripyat only ran on Windows. However, thanks to the new OpenXRay tool, Linux users can enjoy this game as well!

Getting Call of Pripyat working requires a legal copy of the game. There are a few ways to purchase it. For best results, grab the GOG.com release of the game, as it doesn’t come wrapped up in DRM, and will give you full access to the files.

Once you’ve bought the game, download it to your Linux PC and follow along to learn how to get it working!

Before we begin

Before we talk about how to get the game working on Linux with the OpenXRay engine, it’s important to point out that this code is in its early days and under heavy development. You may run into issues getting the game to run with this tool, due to the complexity of supporting different Linux distributions, and unpatched bugs.

If you run into any problems with the code during this guide, feel free to check out the issue page and tell the developers so they may help mitigate the issues.

Install Call of Pripyat

The game needs to be installed on your Linux PC before the OpenXRay binaries, source code or anything else is fiddled with. To install the Windows version of Call of Pripyat, you must install Wine.

Installing Wine is a pretty easy process that we’ve covered pretty extensively on Addictivetips in the past. For best results with Call of Pripyat on Linux, we highly recommend going with Wine 4, as it has great updates that aid gamers on Linux.

Once you’ve gotten Wine up and running, download the GOG release of S.T.A.L.K.E.R. Call of Pripyat to your Linux PC. Then, open up a terminal window. Having access to the command-line is critical during this process so that we can detect any errors with Wine during the installation. It’s also much easier to run EXEs this way.

Using the terminal window, CD into the ~/Downloads folder where the Pripyat game EXE file is.

cd ~/Downloads

In the Downloads folder, run the ls command, so that you can reveal the exact file name of the installer.

ls

Then, take note of the installer’s name and plug it into the wine command, to start up the installer. In the command below, replace stalker-call-of-pripyat.exe with the actual name of the EXE file in your download directory.

wine stalker-call-of-pripyat.exe

Running the wine command will instantly bring up the GOG Gui installer. Follow the instructions and learn how to get everything installed on your Linux PC.

When the GOG installer is done, there’s one last thing to do. We need to rename the default folder name that GOG gives CoP and change it to a more command-line friendly name. To do this, CD into the ‘GoG’ folder.

cd ~/.wine/drive_c/GOG\ \Games

Rename the directory from S.T.A.L.K.E.R. Call of Pripyat to Stalker-CoP with the mv command.

mv 'S.T.A.L.K.E.R. Call of Pripyat' Stalker-CoP

Dependencies for OpenXray

The OpenXray engine requires several build dependencies to compile the code successfully. To install these build dependencies, open up a terminal and follow the instructions that correspond to the Linux OS you use.

Ubuntu

sudo apt install git cmake libglew-dev libfreeimage-dev libfreeimageplus-dev liblockfile-dev libopenal-dev libtbb-dev libcrypto++-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libreadline-dev

Debian

sudo apt-get install git cmake libglew-dev libfreeimage-dev libfreeimageplus-dev liblockfile-dev libopenal-dev libtbb-dev libcrypto++-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libreadline-dev

Fedora

sudo dnf install git cmake glew-devel freeimage-devel freeimage-plus-devel liblockfile-devel openal-devel tbb-devel cryptopp-devel libogg-devel libtheora-devel libvorbis-devel SDL2-devel lzo-devel libjpeg-turbo-devel readline-devel

Getting OpenXray working

The OpenXRay game engine is on GitHub. To get it, you’ll need to download everything using the git clone command. In the terminal, use Git to clone the latest source code.

git clone https://github.com/OpenXRay/xray-16.git --recursive

After grabbing the source code, make a new build directory with mkdir.

cd xray-16

mkdir bin

Move into the build directory with CD and call cmake and make to compile the code.

cd bin

cmake ..

make -j$(nproc)

Finally, finish up the installation process by creating a new Linux bin directory in the Game’s folder and use make to install the built code into your copy of Stalker CoP.

mkdir -p ~/.wine/drive_c/GOG\ \Games/Stalker-CoP
make -j$(nproc) DESTDIR=~/.wine/drive_c/GOG\ \Games/Stalker-CoP install

Running the game on Linux

The binaries are built for Linux, but to run Stalker CoP on your PC, we need to modify a file. To start, CD into the game directory and delete the existing “fsgame.ltx” file.

cd ~/.wine/drive_c/GOG\ \Games/Stalker-CoP
rm fsgame.ltx

Next, copy the newly created fsgame.ltx file into the Stalker CoP directory.

cp -r ~/xray-16/res/* ~/.wine/drive_c/GOG\ \Games/Stalker-CoP

With the files in place, you can run the game with:

cd ~/.wine/drive_c/GOG\ \Games/Stalker-CoP/bin-linux

./xr_3da.sh -fsltx ../fsgame.ltx

Other ways to play S.T.A.L.K.E.R. Call of Pripyat on Linux

OpenXRay is an interesting project and it’s helping more and more Linux users enjoy Call of Pripyat, but it’s not the only way to play this game on the platform.

If you’ve tried out OpenXRay and found it lacking, or ran into some issues, you’ll be happy to know that it’s possible to run the GoG version of the game you installed with Wine directly. It also works well with Steam Play.

Read How to use OpenXRay to play S.T.A.L.K.E.R. Call of Pripyat on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to categorize Steam games on Linux with Steamycats

As more and more games come to Steam for the Linux platform, user libraries get bigger and more congested. To fix the library congestion, Steam Cats was created. With the app, it’s possible to connect to your Steam account and categorize Steam games in your library by category, genre, community tags and more.

Steamy Cats is a bash script hosted on GitHub, so it’ll run on nearly every Linux distribution out there. To use it, you will need the latest release of Steam for Linux, and the Git tool.

Got a big games’ library? You might want to back it up.

Install Steam and Git

There are many ways to install the Steam application on Linux. As of now, all major Linux operating systems have a package available.

Note: the Steamycats game sorting script currently doesn’t support the Flatpak release of Steam. If you can’t get Steam working on your distribution, consider installing Ubuntu or SteamOS.

To start the installation, open up a terminal window, press Ctrl  + Alt + T or Ctrl + Shift + T on the keyboard. Then, follow the installation instructions that correspond to your Linux distribution.

Ubuntu

sudo apt install git steam jq

Debian

sudo apt-get install git jq
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
sudo dpkg -i steam.deb
sudo apt install -f

Arch Linux

sudo pacman -S git steam jq

Fedora

Get Steam on Fedora by enabling the Non-free RPMFusion.

Note: replace the X with the release number of Fedora Linux you use.

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-X.noarch.rpm -y
sudo dnf install steam git jq-y

OpenSUSE

sudo zypper install git steam jq

Download Steam Cats

With Steam and Git installed and ready to go, it’s time to grab the latest release of the Steamy Cats script. To do this, launch a terminal window and use the git clone command.

git clone https://github.com/bryanmr/Steamy_Cats.git

Once the clone command finishes up, everything will save into the “Steamy_Cats” folder. You can then move the terminal session into the “Steamy_Cats” folder with the CD command.

cd Steamy_Cats

From here, update the script’s permissions so that your Linux PC will correctly execute it using the chmod command.

sudo chmod +x Steamy_Cats

Categorize Steam games

Run the Steamcats sorting script for the first time by opening up a terminal window, and, with standard privileges (no root or sudo) run the script.

Note: do not attempt to execute the file with the sh command. The coding in the script file doesn’t seem to respect this launch command very well.

./Steamy_Cats

Upon running the script, you should see some information on-screen. If you don’t, it’s because Steam has yet to run on your computer successfully. Open up your Steam client, sign in to your account and try the above command again.

Once the script is run correctly, it’ll detect your Steam profile based on the configuration files on your Linux PC. From here, it’ll scan your profile and discover the video games currently attached to your account, in your library. Just sit back, as the downloading process will likely take quite a bit of time, especially if you have a massive amount of video games to sort through.

When the Steamycats script is done downloading your game files, it will quickly parse through everything and set up categories for all of your video games in your Steam library in a configuration file on your hard drive.

This configuration file isn’t applied automatically though and must be applied manually. To apply everything, close your Steam client. The configuration swap can’t happen with it open.

To close Steam, find the “Steam” menu icon, then click on “exit.” Or, find the Steam icon in the system tray, right-click on it and select the “exit.”

Apply new categories

Steamycats automatically prints out a command in the terminal so that you can apply the custom categories to your Steam profile. The command output should look something like the example below.

cp /var/tmp/newconfig.vdf /home/username/.steam/steam/userdata/123456789/7/remote/sharedconfig.vdf

Look through the output of the Steamcats script in the terminal prompt for the line that says “New config written,” highlight the cp command that looks like the example above, and save the line to your clipboard.

With the line saved to your Linux PC’s clipboard, go to the terminal and press the Ctrl + Shift + V keyboard combination to paste it in. Then, press the Enter key to apply the new changes instantly.

Access the new game categories

When the new game categories are applied to your Steam account, you can access it by opening up the Steam client and clicking on “Library.”

On the Library page, look through, and you’ll see dozens of different categories for your games, including ones based on release dates, genre, popular tags, and even compatibility with Steam Play, the new Linux/Windows game runtime system.

Read How to categorize Steam games on Linux with Steamycats by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to play MS-Dos games on Linux with DOSBox

Back in the 1980s, enjoying a computer game meant you had to use MS-DOS. If you want to re-live that old-school experience, you can use DOSBox to play MS-Dos games on Linux.

What is DOSBox? It’s a sophisticated emulation environment that works on Mac, Linux, Windows, and other platforms. The app allows users to enjoy MS-DOS, play MS-DOS video games and even run software too! Here’s how to use it.

Install DOSBox

Before we get into how to use the DOSBox app to play classic MS-DOS games on Linux, you’ll need to install the program to your computer. Fortunately, DOSBox has been around for quite a long time on Linux, and nearly every Linux OS currently in circulation can download and use this tool through a variety of different package formats, including DEB, RPM, or via Snap package, Flatpak, the source code, and others.

To start the installation process, launch a terminal window on your Linux PC using the Ctrl + Alt + T or Ctrl + Shift + T keyboard combination. Then, look below to the command-line instructions that correspond with the Linux operating system you currently use.

Ubuntu

To get the DOSBox emulator on Ubuntu, use the Apt package manager and install the “DOSBox” package.

sudo apt install dosbox

Debian

Need the DOSBox emulator on Debian Linux? Try out the following Apt-get command. Though, keep in mind that the version of DOSBox in the Debian package repository may be out of date, compared to other operating systems.

sudo apt-get install dosbox

Want a newer version of DOSBox on your Debian Linux system? Consider skipping this installation method in favor of the Snap or Flatpak release, as they get updated with new features far quicker than the native Debian one does.

Arch Linux

The latest release of DOSBox is up on the official Arch Linux software servers. To get it working on your system, use the following Pacman package command in a terminal window.

sudo pacman -S dosbox

Fedora

Fedora Linux users that would like to use DOSBox can install it quickly, as the Fedora project carries it in their software sources. To set up the app on your Fedora system, use the DNF command below.

sudo dnf install dosbox -y

OpenSUSE

On OpenSUSE, DOSBox is installable from the OSS All software repository. Ensure it’s enabled on your system. Then, launch a terminal window and use the Zypper command to get it going.

sudo zypper install dosbox -y

Snap

DOSBox is in the Snap store, which means if you’re a fan of Snaps, you’re in luck! To start the installation, use the snap install command below.

Note: to install DOSBox from the Snap store, you must have the SnapD runtime working. For more information, check out our post on the subject.

sudo snap install dosbox-x

Flatpak

Like many programs these days, DOSBox is on Flathub as a Flatpak. To get it working, use the terminal commands below.

Note: using Flatpaks on Linux requires the Flatpak runtime. Head over to this post and learn how to get it set up before continuing.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub com.dosbox.DOSBox

Set up DOSBox

DOSBox requires a little configuration before it’s possible to play games on it. Start the configuration by launching a terminal window (Ctrl + Alt + T or Ctrl + Shift + T). Then, use the mkdir command to create a new folder for MS-DOS games.

mkdir -p ~/dos-games

With the folder made, feel free to close the terminal window. Then, head over to the DOSGames website and grab yourself a game to play (or 2). Don’t worry! They’re free and legal to download! Many of the games on the website are in the public domain, due to copy-write expiration!

Playing a game with DOSBox

After you’ve set up the ~/dos-games folder on your Linux PC and finished downloading an MS-DOS game from DOSGames.com, it’s time to start up the game. To do this, follow the step-by-step instructions below.

Step 1: Launch the Linux file manager and unzip the downloaded DOS game from the ZIP archive.

Step 2: Place the unzipped DOS game files into /home/username/dos-games/.

Step 3: Open up the DOSBox application on your Linux desktop. Or, start it from the terminal with the dosbox command.

Step 4: In DOSBox, run the MOUNT command to access the ~/dos-games folder.

MOUNT c ~/dos-games

Step 5: Use the CD command to change DOS to the C:/ drive which holds all of your MS-DOS video game files.

C:

Step 6: Run the dir command to view the contents of the ~/dos-games directory. Then use CD to move DOS into the video game sub-folder.

dir
cd ms-dos-game-folder

Step 7: Run dir once again to view the contents of the directory. Then, run SETUP.EXE, or whatever file you need to execute to play the game you’ve downloaded!

Read How to play MS-Dos games on Linux with DOSBox by Derrik Diener on AddictiveTips – Tech tips to make you smarter