How Do We Compile Our Games for PortMaster?

Since PortMaster is platform-independent and delivers its own dependencies, we don't rely on the build mechanism of the CFWs out there. To compile games for the AARCH64 architecture, you can do so in various ways.

Methods for Compiling

1. AARCH64 chroot development VM by Christian

This is a Virtual Box VM with two chroot instances (AARCH64 & ARMHF).

For More Info: Forum Post

Getting Into Chroots:

Helpful Tools to Install:

apt -y install build-essential git wget libdrm-dev python3 python3-pip python3-setuptools python3-wheel ninja-build libopenal-dev premake4 autoconf libevdev-dev ffmpeg libsnappy-dev libboost-tools-dev magics++ libboost-thread-dev libboost-all-dev pkg-config zlib1g-dev libpng-dev libsdl2-dev clang cmake cmake-data libarchive13 libcurl4 libfreetype6-dev libjsoncpp1 librhash0 libuv1 mercurial mercurial-common libgbm-dev libsdl2-ttf-2.0-0 libsdl2-ttf-dev

2. WSL2 chroot

For more information, visit the GitHub Repository .

Build Environment

Instructions to set it up:

3. Use Docker

Multi Arch compilation with this Docker Guide

4. Create Your Own chroot

As per this guide .

5. Cross-Compiling Tools for AARCH64

With the arm64 SDL2 library, etc.