Brave Fencer Musashi Decompilation
Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported.
Original game imageAbout
BFM-decomp is a matching decompilation of Brave Fencer Musashi, the PlayStation USA release (SLUS-00726) from Square, 1998. The README says its C source, built with the game's own 1990s toolchain, rebuilds all 218 shipped code binaries byte for byte, checked against a redump image of the original disc. It is described as the first public decompilation of this game.
How it differs from the original
The README says some code is deliberately not the project's C: 1,256 functions of Sony's PsyQ library are linked from SDK objects or carried as assembly, and hand-written assembly routines are kept as verbatim assembly bodies.
Getting started
The repository contains no game data, so you build it from your own dump of the USA disc. The README gives a Linux build flow (WSL2 Ubuntu 24.04 is what the project uses): run the bootstrap target, copy your disc image into a disks folder, extract the disc, then build and run the check-all target, which should report 218 passed.
History
The README says the project was carried out end to end by an AI coding agent, Claude Code, under a written governance framework with two human gates per phase. The development history was rewritten before publication to remove game-derived files.
What you need to run it
Licensing & legal
- Tools and docs are AGPL-3.0; the src folder is stated to carry no asserted license.
Credits & contributing
- No ROM-derived content may enter the repo; the matching frontier is empty, so help is wanted on readability, tooling and documentation.
Additional notes
- Readability
- The README says most functions still carry generated names and many register hints, and that making the code more readable is the next stage.
FAQ
- What is Brave Fencer Musashi Decompilation?
- Brave Fencer Musashi Decompilation is an open-source decompilation of Brave Fencer Musashi. Source code reconstructed from the original game's compiled binary, so the game can be understood, rebuilt and ported. The original game ran on PlayStation.
- Do I need the original game files to run Brave Fencer Musashi Decompilation?
- Yes. The project does not include the original game's assets, so you need your own copy.
- How is Brave Fencer Musashi Decompilation licensed?
- project: AGPL-3.0 (tools/ and docs/ (the project's own work)); project: no license is asserted (src/); project: their own licenses (Third-party components). The repository itself is the authoritative source.

