- Game: Shadowman
- Platform: n64
- Compiler: sn-n64-281
- Progress: 1820 matching function(s), 824 best attempt(s)
- Completion: 1,820 / 2,602 functions (69.9%). 66 set aside, excluded from completion.
Green: matched. Gold: attempted. Grey: open. Red: set aside.
A native build of the game (Windows, Linux, macOS) needs these steps. The game's own data is never in this repository: each person's port is built from their own copy.
| Step | Status | Detail |
|---|---|---|
| The game's code in C | ⬜ in progress | 1,820 of 2,668 functions in C |
| Compiles for a PC | ⬜ in progress | not checked yet |
| Links for a PC | ⬜ in progress | not checked yet |
| Assets extracted | ⬜ in progress | 45 resources mapped |
Runtimes: WebAssembly: ready to play; libultraship: needs the game's code in c, compiles for a pc, links for a pc; N64ModernRuntime: needs the game's code in c, compiles for a pc, links for a pc
A matching decompilation of Shadowman for the Nintendo 64, started with decompdecomp.
593 of 2817 functions are C that compiles to exactly the original code; the rest are still assembly.
build.py rebuilds the game from this tree and checks it against your original, byte for byte.
Want to start your own decompilation? Follow RetroReversing's AI-assisted N64 decompilation guide.
- Put your own copy of the game here as
baserom.z64(it is in.gitignore; never commit it). python3 build.py(it uses decompdecomp's period compiler and assembler, so decompdecomp must be installed).
| Path | What it is |
|---|---|
src/<segment>/<function>.c |
Decompiled functions, one per file, each matching the original. |
asm/nonmatchings/ |
Assembly of every function (the target for the decompiled ones). |
asm/data/, asm/*.s, assets/ |
Data, start-up code and binary parts, still as assembly or binary. |
include/common.h |
Types, structs and prototypes worked out so far. |
game.ld |
Places every function and data block at its original address. |
build.json, build.py |
How each file is built, and the build. |
objdiff.json |
Per-function units for objdiff (python3 build.py targets makes their targets). |
Keep going with any tool: write a function in C under src/, add it to build.json (see the existing entries),
run build.py. When it says identical, the function matches. This is the base for ports and mods: once
everything is C, the game can be rebuilt, changed and moved to other platforms.
The game's code and data belong to their rights holder: keep this tree to yourself unless you have the right to share it.
func_80119FE4: kept as assembly, its C also defines other functions; split their bodies into separate source files
Open this repository with New project → Open a saved project and supply your own game copy. The progress/ folder retains matches, drafts, names, notes, headers and compiler settings. Build files and sources live at the repository root; ROMs and extracted files are excluded by .gitignore.