Byrgenwerth
Bloodborne
Paleblood is a decompilation of Bloodborne with its own runtime, one verified function at a time
We are born of the blood, made men by the blood, undone by the blood. Our eyes are yet to open… Fear the old blood.Master Willem / The Blood Minister
Paleblood rewrites Bloodborne (PS4, CUSA03173, version 1.09) function by function as readable C++ that does exactly what the original did, and builds a runtime of its own for that code to run on.
Where the hunt stands
The game doesn't run on Paleblood yet: 18,304 of 157,757 functions are verified (11.60%), counting function family members. On our own runtime the executable's boot gets as far as the run's time limit, still running (no call stopped it), with 686 of 686 system imports provided.
Generated from Paleblood main at 5fba104352d8, committed 2026-11-17 10:44:30 UTC. The system pages are checked against Paleblood's copy at 5acd23d5c3ba, which matches their export from this data.
System imports provided
686 of 686 imports the boot needs are provided.
219 come from the game's own modules and 467 from the runtime.
Boot milestone: first flip (8 of 8).
Start here
A place to learn
No console, dump or game files are needed to learn here: every page explains how the game's code works in our own words and our own code.
More about the project
Why we do this, and the goal
Because we love this game. Yharnam deserves to outlive the hardware it was made for, and to be understood as well as it is loved: every function of the original, read, named, rewritten and proved to behave exactly as it did, so that one day it runs natively, at any frame rate, for as long as there are hunters to play it.
The goal is a complete source port of Bloodborne for the PC. When the hunt is over, every function of the game's 1.09 executable will have been rewritten as readable C++ and proved to behave exactly like the original, and the game will run natively on Paleblood's own runtime: no PS4, no emulator, no original executable, only the game's data from your own copy. Because it will be source, the game can be read, understood, preserved, fixed and modded like any other program, at any frame rate and resolution.
Two tracks get there, side by side:
- Decompilation: functions rewritten as readable C++ and proved against the original in the verification harness, on inputs recorded earlier and on generated edge cases. Tiny functions the compiler emitted many times over share one replacement per function family, which moves the function count far more than the byte count: since 12 November over 18,000 family members are verified by byte-exact matching (#688, #691, #703, #725), and from 14 to 16 November contributor @FFwLo grouped thousands more copies into new families, including families of functions that differ only in the addresses they reach (#1099; Function families). Paleblood's progress page and this wiki's Progress give the current numbers.
- Runtime: our own loader (done), input capture (a game run can now record a function's inputs by tracing the original), kernel, threads and memory, files, input, audio, video out, and the graphics, rebuilt at the engine's own level rather than by emulating the PS4's GPU (Runtime).
The game does not run on Paleblood until the runtime is far enough along that road. Today
merged main boots through all eight milestones to first flip (8 of 8): the game starts
its threads, reads its files, sets up input, starts its sound system, opens its display and
hands its first frame to the screen (4 November 2026). Since 6 November no system call stops
the boot any more: it keeps running until the harness's time limit (#408, #443, #536, #571, #656).
Since then too, in the maintainer's
local runs with the display on, Paleblood's own renderer draws the studio logos and the title
screen (#441, #442), and with scripted input (#447) it gets past the title: the game creates its save data, shows its main menu, New Game reaches the first-run Brightness and Controls screens, and on 10 November the opening cinematic plays in 3D and the game reaches character creation, whose 3D preview of the hunter draws lit and in the right colours on 11 November (#607, Milestones). By 12 November that screen runs at about 29 frames a second in local runs, from about 9 (#615 to #651), the contract is named and finalised (#619), and from the game's own save a boot continues into Iosefka's Clinic (#641). On 12 and 13 November the clinic itself drew in local runs, through the game's own post-processing and at the brightness of a reference capture (#761, #765, #771, #807), and on 14 November, from a save at the clinic's start with a scripted controller, the clinic's first encounter ran with no stop: the hunter walks up to the first beast, the beast attacks, the hunter dies, and wakes and walks in the Hunter's Dream (#1000 to #1066, #1082; The Clinic Beast). The clinic runs at about 11 frames a second in local runs, from about 6 on 13 November, against the game's 30 (#971; Runtime). The playable game has not run yet. The runtime checklist is done: every system import the boot reaches is answered, and the last three of the executable's, by contributor @EzequielRindello, merged on 11 November (#555), followed the same day by the bundled C library's last call (#561), which closed the last of the eight runtime issues (Runtime). The runtime also plays the game's movies and sound and reads a keyboard or gamepad (#419, #398, #406, #431). Full game runs still use an external host scaffold while the project-owned
runtime is completed; the Runtime page shows how far a boot gets.
How a function becomes verified
- Analyze. Ghidra with the GhidraOrbis loader finds the function in your own dump; its callers, callees and the memory it touches are read from the disassembly, not only the decompiler.
- Name. It gets a name and a system in the shared function table, so every contributor's Ghidra shows the same names.
- Rewrite. A readable C++ version: named structures instead of raw offsets, named calls instead of addresses, named constants, faithful to what the original does.
- Verify. The harness runs the original and the replacement on equivalent recorded and generated inputs, comparing ABI-selected results, preserved registers, declared memory state, and scripted library calls. Optional instruction tracing adds bounded access and control-flow observations; its limits are described in Architecture. Deliberately wrong versions must fail.
- Review. An independent reviewer checks the verification and the readability. A function whose code no recording reaches yet is edge-verified until one does.
Key documents
| Document | What it covers |
|---|---|
| Architecture | The two tracks, the verification harness, the frame pipeline |
| Runtime | Our own runtime: the roadmap and how far the game's executable boots on it |
| How the Frame Limiter Works | The first system replaced, step by step |
| Glossary | PS4 and project terms explained |
| Ghidra & PS4 Quirks | Traps in the tools and the ABI |
| Contributing | Joining, the first pull request, the rules |
The executable's code, slice by slice, is on the Address Map; every tracked function with its status is on its system page. The devlog tells the story as it happened, mistakes included.
Legal, and the target this project is built for
This project is not affiliated with or endorsed by Sony Interactive Entertainment or FromSoftware in any way.
Tools and source only: no game files, no extracted assets, no decompiler dumps. Everything starts from your own console and your own copy: to contribute or verify you need Bloodborne (CUSA03173, EU) with the 1.09 update, dumped from your own PS4. The project does not provide or point to game files, pkgs, firmware, keys or decryption tools.
Loaded image SHA-256 of the target executable: