Current source: additional module folders and Rosetta output

Reviewed October 17, 2026 against upstream main 5f61879a9 ↗. These notes describe this source snapshot; release-file instructions are maintained separately and identify their own tag.

The current source guide includes --module-dir <path> for an additional guest-module directory; it can be repeated for separate directories. Additional paths are under the module parent; outputs retain their relative layout. This differs from --sce-module-path, which selects the parent of the standard sce_module, sce_modules or prx folders. Check the exact revision’s help before using a current-source option with an older downloaded release.

The Furi source report uses extra module directories for Media/Modules and Media/Plugins. A library loaded later at runtime can fail even after the main executable converts. This is a title-specific layout, not a new standard folder structure for every game.

For Apple Silicon, current usage distinguishes --macos (x86-64 Mach-O output) from --to-rosetta (additional instruction lowering, implying --to-intel). They are separate choices; the Rosetta switch conflicts with Windows output. Read the Mac conversion and runtime notes before interpreting that format as native ARM64 game support. Pinned current-source options ↗.

Command shape

relinker [options] <input.elf> <output>

Linux ELF is the default. --windows selects PE output. Merely naming a file .exe changes neither the format nor host libraries.

The preparation options

  • --to-intel: converts supported AMD-only instructions found in the input; runtime-generated instructions remain a separate limitation.
  • --registry: emits import registries for a later audit.
  • --windows-diagnostics: adds Windows dependency diagnostics; requires Windows output.
  • --sce-module-path: selects the parent of module directories. Relative paths resolve from the process working directory.

Use an import audit before launch

Pass the generated registries and matching built library/module directories to upstream tools/import_audit.py. It distinguishes implemented, stub, absent and module imports. Keep companion files beside registries. Read the complete upstream example before assembling paths.

Keep debugging flags out of normal setup

Upstream marks several skip/lazy-binding options deprecated and unsuitable for general use. This builder omits them. Use game-specific patches only when the original test documents them; a generic checkbox cannot reproduce an integration branch.

Sources

Prepare your next step.

Use the local tools alongside the upstream documentation.

Open tools ↗