Playing Xeros on a Chromebook

From Xeros Wiki
Jump to navigation Jump to search

Before proceeding with this guide, please note that this is simply a guide instructing you how to set up your Chromebook to play Xeros on it, please ensure you take the necessary precautions to save any data or files that may/will be lost in this process. NOTE: In order to complete this task you WILL need to factory reset your Chromebook at least once. We will not be held responsible for any loss of data!


In this guide you will see a step-by-step guide on how to put your Chromebook into developer mode, install Linux/Ubuntu, install java and then finally Xeros - providing everything has gone smoothly.

Step One: Enable Developer Mode

In order to install Ubuntu (the operating system in which is needed to rune Xeros.jar) you will need to enable Developer Mode, to do this hold down the Esc and Refresh keys and then tap the Power button.

You should then be met with this screen:

Chromebook recovery screen.png

When you are at this screen press Ctrl+D, agree to the prompt on screen, you will then boot into Developer Mode - this process can take up to 20 minutes.

*Please note this is where your Chromebook's local data will be erased so ensure you have everything you need either saved to the cloud or elsewhere.

From now on, whenever you boot your Chromebook, you’ll see a warning screen. You’ll need to press Ctrl+D or wait 30 seconds to continue booting.

Once your device starts to boot up you will be prompted with a set up screen like you did the first time you ever booted your Chromebook, follow the prompts on screen, eventually you will see a Chromebook desktop.

Step Two: Download and Install Crouton - in this part please ensure any commands you are instructed to type are exactly how they are typed here or it will NOT work.

You will now need to install Crouton you can find a direct download link here.


You will now need to open a "shell" this can be done by pressing the following keys Ctrl+Alt+T and then type shell and hit Enter.

Once you have done this you will need to copy the Crouton installer to an executable location by typing the following command sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton

Your screen should look something like this:

Shell.png


You can now run the installer itself by typing the following: sudo crouton -t xfce

It should start to install Crouton, expect a lot of text to come up on screen! You will also be asked to provide a username and password, this is the same as you would need to do when setting up any new Desktop. Do not forget it as you will need this to install programs to your Chromebook.

Now please type the following to enter the Ubuntu Environment: sudo startxfce4 - You will also need to type this when you want to load up the Ubuntu Desktop in future.

It should look something like this, it may not be identical:

Ubuntu.png


You can switch to and from your original Chromebook desktop and the Ubuntu one by pressing Ctrl+Alt+Shift+Back and Ctril+Alt+Shift+Back, this will rotate you between ChromeOS and Ubuntu. Logging out of Ubuntu will drop you back into the ChromeOS terminal tab that ran the system.

Step Three: Installing Java

To install java you will need to open "terminal" which can be done with Ctrl+T or it can be launched by pressing the 4th icon shown in the above picture in the bottom taskbar.

Once here you will need to type the following:

sudo apt update

We can then proceed to install Java by typing the following:

sudo apt install default-jre

You can then verify the installation by typing:

java -version

You should see something similar to the following:

openjdk version "11.0.11" 2021-04-20

OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.18.04)

OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.18.04, mixed mode, sharing))

We an now install JDK, this can be done by typing the following:

sudo apt install default-jdk

And you can check the installation by typing:

javac -version

You should see the following:

javac 11.0.11

or something similar depending on the version

Step Four: Installing Xeros

You will now need to download the official Xeros.jar client which can be done by loading up the web browser which can be located on the taskbar of your Ubuntu Desktop and typing the following in the searchbar: https://download.xeros.io/

Please ensure you download the .jar client, it is the third client on the page and it looks like this:

Xeros.jar.png


We can now run this client and hopefully begin playing Xeros! In order to do this you need to do the following:

Locate where the Xeros.jar file was downloaded to and then move it from there to the Desktop area, once you have done this refer back to the Terminal and type in the following:

java -jar /home/user/Desktop/Xeros.jar

*Please note where it says "user" please insert the username you typed in when you initially installed Ubuntu/crouton.

It should now run if all went according to plan and you can enjoy playing Xeros! If there are any issues please feel free to make a ticket on the official Xeros Discord or Contact a member of staff.

Thanks for reading, hopefully this helps!