What you need to know
The relinker converts a clean ELF and its bundled modules into a host executable. Choose the output platform explicitly where required, preserve your inputs and prepare matching host libraries separately. Examples here follow the v0.1.3 usage documentation, not an assertion of game compatibility.
This guide summarizes upstream documentation. It does not claim that we tested your game or PC. Match instructions to your release, and use game files you are entitled to use.
1. Prepare the input and keep it separate from output
Start with a clean ELF and the title’s bundled modules. An encrypted container is not a ready input. Use your own authorized files and follow upstream’s input requirements. Never choose an output path that resolves to the input executable or a module, including through a hard link or symbolic link.
2. Select Windows or Linux output
These examples assume the relinker is in the current directory. PowerShell uses & to invoke a quoted executable path. On Linux, the default output is ELF; on Windows, --windows selects PE. An .exe filename alone does not select the Windows format. Replace the sample paths with your own.
# Windows PowerShell
& '.\relinker.exe' '--windows' 'source/input.elf' 'app.exe'Linux command example
# Linux shell
'./relinker' 'source/input.elf' 'app.elf'3. Point to the parent of the module directories
For source/sce_module/, use --sce-module-path source, not source/sce_module. Relative paths are resolved from the current working directory; the output location does not choose the module parent. Keep bundled game modules distinct from AnyPS5 host libraries.
The documentation also provides --module-dir for additional module directories. Standard module-directory checks still apply when no explicit additional directory is selected. Use the title’s report and the printed converter paths instead of guessing a directory layout.
# Linux shell
'./relinker' '--sce-module-path' 'source' 'source/input.elf' 'app.elf'4. Understand options before adding them
Use --help to inspect your installed relinker. --to-intel rewrites supported AMD-specific instructions in existing code; it does not fix every CPU limitation or translate instructions generated at runtime. --windows-diagnostics adds Windows dependency diagnostics and requires --windows.
If you override --rpath, quote the literal $ORIGIN so the shell does not expand it. Keep deprecated skip and lazy-binding options out of a normal setup; bypassing a check is not a compatibility fix. Check the versioned options reference before using flags from another report.
# Linux shell: preserve literal $ORIGIN
'./relinker' '--rpath' '$ORIGIN/libs' 'source/input.elf' 'app.elf'5. Conversion is not the launch step
Prepare libs/ with matching host libraries and app0/ with the title’s resources, following the platform guide. Launch from a terminal and save the first error. --autorun requires a compatible host and prepared runtime; it does not download libraries or make an unsupported game work.
Sources and review scope
These links support the distinctions in this guide. A review date means we checked the source; it does not mean we ran the game. Main-branch documentation can change after this review.
Versioned upstream usage documentationgithub.comVersioned upstream build documentationgithub.com