Skip to content

Instantly share code, notes, and snippets.

@mZake
mZake / cfru_with_newer_devkitarm.md
Last active October 5, 2025 14:17
How to build CFRU with newer devkitARM versions.

How to Build CFRU with Newer devkitARM Versions

If you’ve ever tried to build CFRU, chances are the first time you installed devkitPro, it didn’t work properly — and you had to replace it with an older version that did.

That happens because CFRU’s build system only supports devkitARM r47, while the latest version of devkitPro ships with devkitARM r66. If you try to compile CFRU with devkitARM r66, you’ll get tons of warnings and likely experience bugs when running the game.

Fortunately, it’s possible to modify CFRU’s build setup so it works correctly with newer devkitARM versions. That’s exactly what this tutorial will show you.

Step 1 – Update the Compiler and Linker Flags

1) Open the file:

@mZake
mZake / zym.py
Created October 3, 2025 22:30
Command-line utility written in Python that automatically generates ready-to-use linker scripts from .sym files.
import logging
import sys
from argparse import ArgumentParser
from enum import IntEnum
from pathlib import Path
from typing import List, Optional, Union
NAME_CHAR_SET = set("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789._")
HEX_DIGIT_SET = set("0123456789ABCDEF")