Audited public source snapshot for Bloodborne Archipelago. Game patches use player-owned local data.
  • Python 85.3%
  • C# 9.4%
  • HTML 3.4%
  • PowerShell 1.6%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-23 08:24:38 -04:00
.github Pin reattach-capable client and sign tracker layers 2026-10-21 20:52:31 -04:00
bb_launcher Fix launcher patch handoff and pin travel-safe DeathLink client 2026-10-23 08:00:12 -04:00
BBLauncher Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
bblauncher_fork Publish reviewed Bloodborne source snapshot ef63030 for October releases 2026-10-15 13:18:50 -04:00
docs Record exact 1.0.1.10 artifacts and stable release metadata 2026-10-23 08:24:38 -04:00
examples Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
licenses Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
packaging Record reviewed patch-fix Qt source archive in distribution audit 2026-10-23 08:11:16 -04:00
release Record exact 1.0.1.10 artifacts and stable release metadata 2026-10-23 08:24:38 -04:00
research Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
site Publish 1.0.1.3 overlay migration and Workshop fixes 2026-10-18 15:00:32 -04:00
tables Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
tests Fix launcher patch handoff and pin travel-safe DeathLink client 2026-10-23 08:00:12 -04:00
tools Suspend Living Failures donors in player boss pools 2026-10-22 14:46:20 -04:00
worlds/bloodborne Release 1.0.1.7 pickup access and BBPort activation fixes 2026-10-21 07:17:30 -04:00
.ap-version Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
.gitattributes Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
.gitignore Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
AGENTS.md Publish reviewed Bloodborne source snapshot ef63030 for October releases 2026-10-15 13:18:50 -04:00
BUILD-INSTRUCTIONS.txt Publish 1.0.1.6 BBPort mods and client lifecycle repair 2026-10-19 14:56:01 -04:00
build.ps1 Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
CHANGELOG.md Fix launcher patch handoff and pin travel-safe DeathLink client 2026-10-23 08:00:12 -04:00
CONTRIBUTING.md Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
LICENSE Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
LICENSING.md Publish reviewed Bloodborne source snapshot ef63030 for October releases 2026-10-15 13:18:50 -04:00
README.md Publish reviewed Bloodborne 1.0.1.1 source snapshot 30541f6 2026-10-16 14:58:39 -04:00
RELEASE-SOURCE.json Publish 1.0.1.6 BBPort mods and client lifecycle repair 2026-10-19 14:56:01 -04:00
SECURITY.md Prepare Bloodborne public source candidate with private inputs externalized 2026-10-10 12:12:55 -04:00

bb-archipelago

Bloodborne's Archipelago integration and standalone randomizer, including the apworld, seed generation, launcher and native check/item delivery integration.

See the support matrix, also published on Peliarch, for current downloads, platforms, runtime forks and validation limits. Both products accept CUSA03173 and CUSA00900, AppVer 01.09; CUSA00900 generation support is distinct from gameplay acceptance. Released AP downloads use Windows and shadPS4 0.18.0. The source BBPort AP integration is experimental and has not been promoted to released support.

Original project code and documentation are MIT-licensed. See licensing scope for third-party dependencies and game material.

This project does not reuse or adapt the existing Bloodborne randomizer. Its code, binaries, extracted datasets, address tables, and patches are out of scope. See docs/RESEARCH-BASELINE.md for the evidence boundary and the labelling discipline every address claim is held to. See CONTRIBUTING.md for the repo-only contributor path, claiming protocol, and the evidence and validation requirements used in review. Player-visible changes and known release limitations are recorded in CHANGELOG.md.

Layout

Path What
worlds/bloodborne/ The apworld. data.py is design, runtime_bindings.py is runtime IDs, and the two must not mix.
bb_launcher/ Hash-addressed seed cache, transactional shadPS4 overlay activation/recovery, vanilla bypass, and coordinated launch core.
docs/ Research baseline, logic model, progression DAG, event-flag lanes, enemizer, vertical slice.
research/ Mined and joined game data plus the catalogs the enemizer and validation run against.
tools/ Python miners and planners; msbb_miner and bb_enemizer_writer are C# over BBFormats (tools/bb_formats).
tables/ Cheat Engine tables, including the validated native item-grant harness.
tests/ python -m unittest discover -s tests.

Not in the repo

Archipelago/ (pin upstream instead of vendoring), research/mined/ (raw extractions from your own game files — regenerate with tools/msbb_miner and tools/mine_*.py), build outputs, and anything under work/, saves/, or the game dump itself.

The first product-launcher slice is documented in docs/LAUNCHER.md. Its headless core refuses unowned mods, never mutates base/update trees, and can be exercised with python -m bb_launcher --help.

The desktop surface is available with python -m bb_launcher ui. Its Randomize Enemies option runs the deterministic planner and guarded MSBB writer, includes the verified map outputs in the seed cache, activates the overlay, and starts the configured shadPS4/client/bridge processes.

Generate

python Generate.py --player_files_path Players --outputpath out --spoiler 3

Verified against Archipelago 0.6.7 on Python 3.11. The world writes the usual multidata plus *.bbenemizer.json; both carry the same enemizer_seed. Feed that file to the planner:

python -m tools.bb_enemizer.cli --ap-request <request> --output work/enemizer/ap-plan.json

then apply it with the guarded writer as documented in docs/ENEMIZER.md.

For the reproducible varied-grant playtest, copy examples/central-yharnam-variety.yaml into Archipelago's player directory and generate with seed 52100005. See docs/HANDOFF.md for the complete two-repo build and live-test procedure.

Current boundary

Generation emits the complete base-game scope plus the optional Old Hunters route through Fishing Hamlet: Central Yharnam, Cathedral Ward, Old Yharnam, Hemwick, Cainhurst, Forbidden Woods, Iosefka's Clinic, Byrgenwerth, Yahar'gul, both Lecture Building floors, Nightmare of Mensis, and Nightmare Frontier. Set include_dlc: true in the player YAML to add all seven DLC regions, their progression items, bosses, and checks; it defaults off. There are 501 base-game locations and 652 with DLC enabled. The goal YAML option follows Bloodborne's three endings: submit_to_gehrman completes after Mergo's Wet Nurse, refuse_gehrman requires Gehrman, and the default moon_presence requires Gehrman plus any three of the four shuffled Third Umbilical Cords. Set alternate_hypogean_gaol_routes: true to add Darkbeast Paarl and its alternate progression graph. It defaults off because the late Blood Moon path can bypass the expected Blood-starved Beast route into Old Yharnam. Early abduction still requires Blood-starved Beast, and enemy randomization preserves an authored Cathedral Ward Snatcher so access never depends on a lucky roll. Set hemwick_access_gate: true to close the Cathedral Ward-Hemwick boundary fog until the shuffled Hemwick Access item is received, putting Hemwick and the Cainhurst checks beyond it behind an explicit progression item. It defaults off, and with it off the road to Hemwick opens as it does in the vanilla game and no access item is placed. The static mapping, the flag, and the evidence boundary are in docs/HEMWICK-ACCESS-GATE.md. Set one_time_enemy_checks: true to add the reviewed non-respawning hunter and unique-enemy checks. It defaults off; the initial conservative tranche contains Yurie at Byrgenwerth, whose dedicated persistent death-event flag is independent of her drop. The evidence census and explicit exclusions are in docs/ONE-TIME-ENEMY-CHECKS.md. Set consumable_quantity_bonus: X (0 by default, maximum 20) to add a flat +X copies to every consumable item the seed delivers: at 2, a Blood Vial arrives as three and Quicksilver Bullets x3 arrive as five. Only reviewed spendable consumables are eligible, item names keep their authored base quantity, a bonused stack is capped by the good's own held-stack limit, and the per-check pickup-sustain one-Vial/one-Bullet award is unaffected. The eligibility classification is CONSUMABLE_ITEM_KEYS in worlds/bloodborne/data.py. Set randomize_shops: true to shuffle which of the ten hunter badges unlocks each ordinary Blood Echo Bath Messenger stock group. It defaults off and does not alter prices, stock contents, Insight shops, or Chalice shops. The fixed-pickup manifest is regenerated from the canonical map catalog, and the two boss flags (12411700, 12411800) come from Central Yharnam EMEVD; the Blood-starved Beast (12301800) and Vicar Amelia (12401800) flags come from the committed m23_00_00_00 / m24_00_00_00 EMEVD decompiles and have not been seen fire.

The complete suppression plan rewrites the full base-game slice with zero refusals, including Saw Spear, Torch, the Hunter Set award group, and the category-8 blood-gem pickup. Its slice-1 predecessor (54 edits) was installed and playtested on shadPS4 0.18.0: a suppressed pickup awarded the one-Vial placeholder, retained its acquisition flag, and remained collected after restart. Slice 3 changed the plan digest, so that binder no longer satisfies a current seed -- rebuild and reinstall it. Seeds require the matching installed-binder hash witness before the native client arms.

The apworld's Python client remains a manual-check fallback. The native client in from-software-archipelago-clients consumes every runtime flag binding the seed sends, debounces true reads three times, delivers the Saw Spear and category-4 goods through the durable r7 grant bridge, and sends Archipelago goal status for the seed's goal_location. The client resolves fresh shadPS4 character-save writes, requires three stable gameplay-ready observations, and durably binds the first verified character slot before checks or delivery can arm. Later character switches are refused.