Chromebook Linux JGRPP Install

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Owen P
Engineer
Engineer
Posts: 62
Joined: 25 Feb 2008 16:02

Chromebook Linux JGRPP Install

Post by Owen P »

I've got a flight coming up with no onboard entertainment, so I, in my infinite stupidity, decided it might be fun try load OpenTTD up onto my Chromebook and take that along as a way to pass the time. After some abortive attempts with the Android version, I managed to install and get OpenTTD to work in the Linux VM environment with the following set of commands (found somewhere on the internet):

Code: Select all

sudo apt update
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub org.openttd.OpenTTD
sudo chown root:root /usr/bin/bwrap && sudo chmod u+s /usr/bin/bwrap
In doing so however I realised how many features from the JGR Patch Pack I was missing as that's my go to on PC, but I've not been able to figure out how to install said patch pack on the Chromebook, all the guides I can find assume a level of knowledge way beyond mine (this is only my second foray in Linux, and my first into Command Line Linux, add to that I've forgotten pretty much everything I knew from back in the DOS days, not that DOS ever had to handle the internet in my house.)

Is anyone able to give me a set of step by step instructions, along the lines of those above, to install (or compile and install as I understand might be a better term) the latest JGRPP please?

Thanks in advance.
ma43k
Engineer
Engineer
Posts: 1
Joined: 07 Apr 2025 11:42

Re: Chromebook Linux JGRPP Install

Post by ma43k »

To get JGR Patch Pack running on your Chromebook via the Linux VM, you’ll need to compile it from source. Here’s a step-by-step recipe, just like you asked: # 1. Install required tools and libraries
sudo apt update
sudo apt install build-essential git cmake pkg-config libsdl2-dev \
libfreetype6-dev libfontconfig1-dev libicu-dev liblzo2-dev \
libpng-dev zlib1g-dev liblzma-dev libcurl4-openssl-dev

# 2. Clone the JGRPP repo
git clone https://github.com/JGRennison/OpenTTD-patches.git jgrpp
cd jgrpp

# 3. Make a build directory
mkdir build
cd build

# 4. Compile the game
cmake ..
make -j$(nproc)

# 5. Run the game
./openttd

That’s it! It won’t show up in your launcher, but you can run it from the terminal or make a script to launch it easier.

You're definitely not alone – Linux on Chromebook can be a pain, but once you do this once, you’ll feel like Neo from The Matrix. 😄 Let me know if you want help making a launcher or importing your PC savegames.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 14 guests