Skip to content

Instantly share code, notes, and snippets.

@therocco
Last active February 10, 2021 03:12
Show Gist options
  • Save therocco/620889af3fc8e37a9b8091c7cc2eb490 to your computer and use it in GitHub Desktop.
Save therocco/620889af3fc8e37a9b8091c7cc2eb490 to your computer and use it in GitHub Desktop.
Play The Realm Online on a Chromebook

Running The Realm Online on a Chromebook via Crostini and wine.


NOTE: You will need to setup a Linux terminal on your Intel based Chromebook. For more help please take a look at the official documentation at https://chromeos.dev/en/linux/setup


Open up the Linux terminal and navigate to your home directory. Once there we will make sure to perform a system update and install wine and the mesa drivers

cd ~/
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install wine wine64 wine32 libgl1-mesa-dri

Create a wine32 prefix folder since The Realm is an older game

mkdir ~/.wine32
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg 

Grab the latest version of the winetricks script and make it executable and then use winetricks to install Microsoft .NET 4.0

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
WINEPREFIX=~/.wine32 ./winetricks dotnet40

Go to https://realmonline.com and downloand the TheRealmOnline.msi setup file in Chrome OS and copy it to your Linux Files folder via the File Manager.

Once it's copied over go back to your Linux terminal and install the TheRealmOnline.msi setup file using wine

WINEPREFIX=~/.wine32 wine msiexec /i TheRealmOnline.msi

Now that everything is installed we will set up a script to launch the application from the terminal to make sure it launches correctly. Trying to launch it via the App Launcher will cause the game to crash.

echo "WINEPREFIX=~/.wine32 wine ~/.wine32/drive_c/'Program Files'/'Rat Labs'/'The Realm Online'/launcher.exe" > realm 
chmod a+x realm

Launch the game from the terminal

./realm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment