Overview
To build Pokémon Red and Blue from source, you need to install:- RGBDS 1.0.1 - The Game Boy assembler, linker, and graphics tools
- Build tools -
make,git, and a C compiler (gccorclang)
Windows 10 / Windows 11
The recommended method for Windows is to use Windows Subsystem for Linux (WSL), which provides a full Linux environment.Install WSL
Download and install Windows Subsystem for Linux. This will give you a Linux terminal environment within Windows.Open PowerShell as Administrator and run:
Update WSL Packages
Before continuing, update your distribution’s package manager. For Ubuntu/Debian (the default):
Navigate to Your Working Directory
WSL has its own file system, but Windows files are accessible from
/mnt/c/. It’s recommended to store your project in a Windows directory for easy access.For example, to work in your Windows Desktop folder:Replace
<username> with your actual Windows username. You’ll need to run this command every time you open WSL.Follow Linux Instructions
Now follow the Linux installation instructions below for your WSL distribution (usually Ubuntu).
Windows (Cygwin Alternative)
If you prefer not to use WSL, you can use Cygwin to get a Unix-like environment on Windows.Download Cygwin
Download the appropriate installer:
- setup-x86_64.exe for 64-bit Windows
- setup-x86.exe for 32-bit Windows
Install Required Packages
Run the setup and leave default settings. At the “Select Packages” step, install these packages from the “Devel” category:
makegitgcc-core
Install RGBDS 1.0.1
Follow the RGBDS installation instructions for Windows with Cygwin to install RGBDS 1.0.1.
macOS
Install Homebrew
Install Homebrew, the package manager for macOS. Open Terminal and run:Follow the on-screen instructions to complete installation.
Install RGBDS 1.0.1
Follow the RGBDS installation instructions for macOS to install RGBDS 1.0.1.Typically this involves:
Linux
Installation steps vary by distribution. Choose your distro below:Debian / Ubuntu
Build RGBDS from Source
OpenSUSE
Build RGBDS from Source
Follow the RGBDS instructions for building from source to build RGBDS 1.0.1.
Arch Linux
Install Packages
Arch Linux has RGBDS available in the official repositories:
If you prefer to compile RGBDS yourself or need version 1.0.1 specifically, follow the RGBDS build instructions.
Termux (Android)
Install RGBDS
Other Distributions
If your distribution isn’t listed, install these packages from your package manager:makegcc(orclang)gitrgbds
rgbds isn’t available in your repositories, follow the RGBDS instructions for building from source to build RGBDS 1.0.1.
Verifying Installation
After installing RGBDS and build tools, verify everything is working:If the commands aren’t found, make sure the installation completed successfully and that the tools are in your system’s PATH.
Advanced: Using a Local RGBDS Version
If you have multiple projects requiring different RGBDS versions, you can install RGBDS in a local directory instead of globally.Build RGBDS in Local Directory
Build or extract RGBDS 1.0.1 into a subdirectory like
pokered/rgbds-1.0.1/:Next Steps
Now that you have all the tools installed, you’re ready to build your first ROM!Quick Start Guide
Learn how to clone the repository, build ROMs, and verify your build