Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/pmret/papermario/llms.txt

Use this file to discover all available pages before exploring further.

This page walks you through cloning the papermario repository and installing all dependencies needed to build the project. Choose the tab below that matches your operating system.
If you run into problems at any point, the project Discord at discord.gg/PgcMpQTzh5 is the best place to ask for help.

Clone the repository

Start by cloning the repository. This step applies to all platforms except Nix, which has its own clone step below.
git clone https://github.com/pmret/papermario
cd papermario

Platform setup

1

Install build dependencies

Run the dependency installation script. It detects your Linux distribution (Debian/Ubuntu, Arch, Fedora, openSUSE, Alpine) or macOS and installs the required packages automatically.
./install_deps.sh
On macOS, if you see an error about md5sha1sum conflicting with coreutils, open install_deps.sh in a text editor, remove md5sha1sum from the brew install line, rerun the script, then restore the file (do not commit the change).
2

Install the original compilers

Download and install the original IDO compilers used to build Paper Mario:
./install_compilers.sh
3

Install pigment64

pigment64 is the project’s image-processing tool. Install it using Rust’s package manager:
curl https://sh.rustup.rs -sSf | sh
cargo install pigment64
Make sure ~/.cargo/bin is on your PATH so that pigment64 is accessible from the shell.
4

Continue to building

Your environment is ready. Head to the building guide to place your base ROM and compile the game.

Build docs developers (and LLMs) love