Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
8f54a92
performance patch: three NOPs over copies the world's view never make…
droogie Nov 12, 2026
1834a42
settings: Depth of field Off is YEBIS's own switch, so none of its pa…
droogie Nov 12, 2026
75c0729
plugins: on_view's comment names the switch it runs before - [r13+0x1…
droogie Nov 12, 2026
b49942f
plugins: API 29 - the world held still (world_pause, world_step), the…
droogie Nov 12, 2026
88a7b6d
plugins: API 29's hud_hide - the game's HUD left out of the picture w…
droogie Nov 12, 2026
f0f43d0
plugins: photo mode - a free camera over the world held still or runn…
droogie Nov 12, 2026
5be777b
graphics: the comment on the post-process block's +0x1ec says what it…
droogie Nov 12, 2026
69e2271
plugins: API 29's post_look - the picture's look over the area's own:…
droogie Nov 12, 2026
5692fd6
plugins: API 29's panel - a plugin's options as pages over the game, …
droogie Nov 12, 2026
697a3f6
plugins: photo mode's panel - six pages of its options over the game …
droogie Nov 12, 2026
b9cc78a
plugins: photo mode ships with the official plugins - packed and sign…
droogie Nov 12, 2026
8d8e045
options: the Debug camera is gone - it never worked in a release, and…
droogie Nov 12, 2026
2ccfdfa
plugins: API 29's controls are each plugin's own - pad_take and the n…
droogie Nov 12, 2026
ee0baac
plugins: a panel lets ImGui know of its own keys let go, and of nothi…
droogie Nov 12, 2026
2d36f24
plugins: Quake holds while another plugin holds the world - photo mod…
droogie Nov 12, 2026
91b1dae
plugins: photo mode starts and ends on L3 held half a second, and its…
droogie Nov 12, 2026
d474c60
plugins: hud_hide's copy of the picture is held only while the HUD is…
droogie Nov 12, 2026
fdbb1ef
tools: the API 29 probe sets the hunter's HP (hp <n>), so a check amo…
droogie Nov 12, 2026
0238771
graphics: a look's depth of field is the lens's in the areas too - th…
droogie Nov 12, 2026
08f8e2d
graphics: depth of field's far blur keeps its 1080-line look at every…
droogie Nov 12, 2026
9d760cb
pgo: the profile recorded at v0.2.35's code - twelve headless runs of…
droogie Nov 13, 2026
f770e6b
plugins: a plugin on by default never opens the setup window by itsel…
droogie Nov 13, 2026
e10e995
plugins: Nox-'s bbphoto is not loaded while photo mode is on, so the …
droogie Nov 13, 2026
90deb37
online: the connection test sends again for six seconds, and counts a…
droogie Nov 13, 2026
3ab84d1
setup: the Connection card tells no answer from blocked - what came b…
droogie Nov 13, 2026
c793c82
docs: photo mode credits Nox- by name and links bbphoto, the plugin i…
droogie Nov 13, 2026
ea81c02
gxvk-lists: a GPU-bound rest is judged by the frame - one that ran 8%…
droogie Nov 13, 2026
33cf3ef
list-resolve: a run's later draws take its publication and its vertex…
droogie Nov 13, 2026
adc0cce
gx: the block reclaim's and the discard rename's catch-ups wait for t…
droogie Nov 13, 2026
8429984
homes: a home's pending copies are an atomic the pool's draws read
droogie Nov 14, 2026
df7ae79
homes: the pool's threads read the index's published page lists, neve…
droogie Nov 14, 2026
50ec594
render: GX's tables ring waits for the GPU at a lap, and the pool pla…
droogie Nov 14, 2026
992f5bd
main: the self-tests write their log
droogie Nov 12, 2026
cae1f8f
gpu: a device loss names the op the GPU stopped in, not only the draw…
droogie Nov 12, 2026
f908cb7
render: the draw pool goes on committing with the GPU's progress mark…
droogie Nov 14, 2026
efcca6c
gpu: the progress markers are written while a loading screen is up, a…
droogie Nov 14, 2026
e74e3ce
net: P2P datagrams over 1,200 B leave as pieces of whole chunks again
droogie Nov 13, 2026
65001ec
setup: Discord and Website buttons over Play, on every page - the com…
droogie Nov 13, 2026
7e7572e
online: the account's relay switch - whoami's RelayDirect read, and /…
droogie Nov 13, 2026
ba4f57a
online: the connection test finds this PC's own address, and whether …
droogie Nov 13, 2026
f381a1a
setup: the Connection card in a player's words - one headline, what i…
droogie Nov 13, 2026
77e62eb
setup: a direct result says what happens - with the relay on, "Your n…
droogie Nov 13, 2026
c5dd510
plugins: photo mode's Field of view row acts over all of its -40 to +…
droogie Nov 13, 2026
80f3eca
graphics: a look's motion blur keeps to the 8 samples the game's blur…
droogie Nov 13, 2026
3771b78
world pause: each frame advance logs the updates it let run and the g…
droogie Nov 13, 2026
686fefd
plugins: photo mode's frame advance is one frame
droogie Nov 13, 2026
259141e
plugins: photo mode starts and ends on a press of L3, or on L3 held h…
droogie Nov 13, 2026
6b3e6aa
graphics: post_look can place a depth of field by distance - the game…
droogie Nov 13, 2026
39c2f4e
plugins: photo mode's depth of field is sharp between Sharp from and …
droogie Nov 13, 2026
b601fcb
plugins: photo mode's HUD row shows the HUD even with the player's ow…
droogie Nov 13, 2026
dc14c23
plugins: a plugin's panel keeps one size and looks like the game's ow…
droogie Nov 13, 2026
3f97e0c
plugins: a plugin's panel in the game's own menu letters, read from t…
droogie Nov 13, 2026
140239d
graphics: hud_hide's copy of the picture is made sampled as well, as …
droogie Nov 13, 2026
59c9533
plugins: photo mode's Sharp from and Sharp to stop where a step still…
droogie Nov 13, 2026
7f06862
host: the game's menu art read from the player's dump - its options d…
droogie Nov 14, 2026
d29f949
plugins: a plugin's panel drawn with the game's own menu art - the op…
droogie Nov 14, 2026
6e20f53
plugins: a plugin's panel plays the game's own menu sounds
droogie Nov 14, 2026
c35c767
plugins: a plugin's panel sets its help a line and the game's leading…
droogie Nov 14, 2026
474a5f8
plugins: BB_PANEL_CORNER asks for a plugin's panel at the bottom righ…
droogie Nov 14, 2026
0467644
plugins: in-game menus in the game's look - named menus from a plugin…
droogie Nov 14, 2026
3b541ef
plugins: a centred in-game menu keeps its cursor through a click outs…
droogie Nov 14, 2026
ba00a02
plugins: the game's own interruptions close a centred in-game menu
droogie Nov 14, 2026
276ec3d
plugins: a lit slider row in an in-game menu shows the game's arrows
droogie Nov 14, 2026
0dd83b6
window: a plugin's in-game menu is drawn when the picture is scaled u…
droogie Nov 14, 2026
d2bfbef
menu assets: the plugins' menu pages' sections and messages
droogie Nov 14, 2026
de0cd6a
plugins: in-game menus are pages of the game's own options dialog
droogie Nov 14, 2026
c1b8f7c
photo mode: helps and guide for the game's dialog's line help
droogie Nov 14, 2026
480eee1
pgo: the profile recorded again at v0.2.35's final code - twelve head…
droogie Nov 14, 2026
2f7d9f2
plugins: a corner page the game's menu flow takes comes back
droogie Nov 14, 2026
7e0b5e9
plugins: photo mode is carried on in Nox-'s own repository; bbhost ke…
droogie Nov 14, 2026
bc22775
resolution: with Upscaling Off a Resolution below the window draws on…
Nov 12, 2026
3508c7e
framegen: a frame whose HUD draws nothing takes its HUD-less picture …
Nov 12, 2026
7851530
plugins: Over the Shoulder (shoulder) - a close third-person camera o…
Nov 12, 2026
d5980b4
plugins: Over the Shoulder becomes Hunter Cam (hunter_cam), with firs…
Nov 12, 2026
c29c9a1
plugins: Hunter Cam 1.2 - first person with the arms drawn, the mouse…
Nov 12, 2026
94a3f10
plugins: Hunter Cam - no banner when first person is switched on or off.
Nov 12, 2026
5671183
plugins: Hunter Cam 1.3 - Head bob (the view on the head's eyes dummy…
Nov 12, 2026
78b56fd
plugins: Hunter Cam 1.3.1 - items take effect while facing the camera…
Nov 12, 2026
0966ca9
options: the Resolution lists show each size after its aspect ratio -…
Nov 13, 2026
1649ff5
setup: Game > Display has the Resolution row, under Effect timing - t…
Nov 13, 2026
6e3edaa
plugins: cutscenes are the game's again, Quake stops crashing at a lo…
Nov 13, 2026
6d3124d
launcher: the Game page's Display card counts its Resolution row (8 r…
Nov 13, 2026
e31b9d2
options: Text scale, a GRAPHICS setting from 50% to 100% in steps of …
Nov 13, 2026
b522826
graphics: Text scale changes while the game runs - a hook on Scalefor…
Nov 13, 2026
90e3c70
patches: the old 50% Text scale file is passed over, now that Text sc…
droogie Nov 14, 2026
3162d02
plugins: world_state's BB_WORLD_VIEW - another camera has the picture
droogie Nov 14, 2026
15087c7
plugins: Quake, Isometric and Hunter Cam need plugin API 29 with its …
droogie Nov 14, 2026
b43ff47
plugins: Hunter Cam gives the hunter back while another camera has th…
droogie Nov 14, 2026
a0778f8
plugins: Quake holds while another camera has the picture - a free ca…
droogie Nov 14, 2026
58bb88f
plugins: Hunter Cam warns beside Quake or Isometric, as those two war…
droogie Nov 14, 2026
111dfa8
render: YEBIS's linear stretch asks the render scale's flag first, so…
droogie Nov 14, 2026
c7bd664
plugins: Quake and Hunter Cam leave a character that a load freed alo…
droogie Nov 14, 2026
d9165a4
plugins: Hunter Cam's frame callback asks nothing of the game or the …
droogie Nov 14, 2026
d95ea34
plugins: Hunter Cam writes the sidestep's code before the jumps to it…
droogie Nov 14, 2026
25b9a2e
render: Upscaling Off at a Resolution below the window's gives the ga…
droogie Nov 14, 2026
bec451b
steamdeck: the 60 fps profile draws its 3D at 960x600 and keeps the H…
droogie Nov 14, 2026
8a941e3
graphics: Text scale changed while the game runs no longer crashes as…
droogie Nov 14, 2026
54a6ec2
saves: where two folders cannot be swapped, a commit moves the save's…
droogie Nov 14, 2026
d9dd60e
docs: running.md says what Upscaling Off below the window's size cost…
droogie Nov 15, 2026
54f2ac8
pgo: the profile recorded again at v0.2.35's final code, with #247 - …
droogie Nov 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
125 changes: 118 additions & 7 deletions CMakeLists.txt

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ game's code or data.
company logos); the shadPS4 patch list's patches - Kyo's graphics, physics
and gameplay patches and his The Old Hunters patch, johnnycoax's Auto-Refill,
Imedved's camera auto-rotation and Lance McDonald's region unlock (shipped as
patch files); and Kyo's 60 FPS++ timing list and yogesh1239's high-FPS fixes
(built into the frame-rate code).
patch files); Kyo's 60 FPS++ timing list and yogesh1239's high-FPS fixes
(built into the frame-rate code); and Nox-'s
[bbphoto](https://github.com/Noxde/bbhost-photo-mode-plugin), for which the
plugin API's camera, world, input and picture calls were made.
- [shadPS4](https://github.com/shadps4-emu/shadPS4), a reference for the PS4's
system behaviour and a working run to compare against.
- SDL3, Vulkan, FFmpeg, SPIRV-Tools, the DirectX Shader Compiler (DXC),
Expand Down
6 changes: 5 additions & 1 deletion bbhost.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ online_id = "Hunter"
# The server's two connection-test ports, at the STUN server's host (the
# setup window's Connection card). Default: the server's own, 3479 and 3480.
# nat_test_ports = "3479,3480"
# The UDP port other players reach this PC on (P2P): the port to forward on
# your router for direct connections (the setup window's Connection card sets
# it, 1024-65535). Two copies of bbhost on one PC need different ports.
# p2p_port = 9307
# true: the game is signed out until this PC is signed in on the F10
# screen (Account section), and the account's name is the online id. The
# live server plays only with signed-in players.
Expand Down Expand Up @@ -182,7 +186,7 @@ all_post_processors = false
# [patches]
# The patch manifests (patches/*.toml, a mod's <mods>/patches), by name: every
# shipped one is off until true puts it in. The setup window's Patches tab
# writes these; a manifest tied to a setting (skip-intro, debug-camera, ...)
# writes these; a manifest tied to a setting (skip-intro, performance-mode, ...)
# follows that setting instead.
# fov-uncap = true

Expand Down
4 changes: 2 additions & 2 deletions docs/area-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ a player has it: the swapchain, the window's size and the present's scaling.
`bbhost-options.toml`, as the in-game PC menus write it). Together they act out
a player's setup - for the render below the display that many players run, an
Xvfb at 2560x1440 with `resolution = "1920x1080"` and `window_mode =
"Borderless"`: the scene in a target of its own, FSR 1 bringing it up at the
present (with Upscaling TAA, the render-scale path). A private Xvfb has no
"Borderless"`: the game at the screen's size and its 3D at the Resolution (the
render-scale path, with Upscaling Off as with TAA). A private Xvfb has no
window manager to size a borderless or fullscreen window to the screen, so with
`--display` and such a `window_mode` the harness does it with `xdotool` the
moment the window is up (xdotool must be installed).
Expand Down
2 changes: 1 addition & 1 deletion docs/decomp.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ the game's code turning it by the same counts as ours.
| Function | Address | What it does | Checked |
|---|---|---|---|
| flush wait (`sub_15d7030`) | `0x15d7030` | the render thread's wait for the GPU to finish a flush | the same condition, yielding the core instead of spinning on it |
| GX table reclaim (`sub_2aaa860`) | `0x2aaa860` | frees the GX layer's blocks of draw resource tables once the GPU is done with them | the same walk as the game's, plus a wait when a pool runs empty (which used to fail an allocation and black out a frame) |
| GX table reclaim (`sub_2aaa860`) | `0x2aaa860` | frees the GX layer's blocks of draw resource tables once the GPU is done with them | the same walk as the game's, plus a wait when a pool runs empty (which used to fail an allocation and black out a frame); the wait for everything recorded is made outside the renderer's lock, so the command processor records on meanwhile (`BBHOST_GX_CATCH_UP=0`: under it, as a flush) |
| GX discard rename (`sub_2ad0d30`) | `0x2ad0d30` | hands a discard Map of a dynamic buffer a renamed copy from GX's upload heap | the game's own function, run again after the GPU catches up when it found no room (which used to fail the Map and light a frame with another frame's constants: the warm-light drop and effect pops under GPU load); `BBHOST_GX_RENAME_WAIT=0` keeps the failure |
| pipeline drain (`gx_command_buffer_wait_for_eop`) | `0x2ab09e0` | makes the GPU wait for the work before (a label, an end-of-pipe event and a wait) | written as a barrier token for the command processor instead, which orders its own writes behind it; the same command buffer read and refilled the same way as the game's version, beside it on test buffers (`decomp_gx_drain_token`) |
| occlusion query (`gnm_write_occlusion_query`) | `0x1477660` | an occlusion query's begin or end: the block reset, a wait, the counter dumps | written as one query token instead, taken as the renderer's own query; checked in the game by the queries it makes |
Expand Down
42 changes: 42 additions & 0 deletions docs/list-resolve.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,45 @@ hand-offs - every time another thread takes it while the command processor
works costs one wake either way - and the vblank's flip waiter, which takes
it some 2,000 times a second, would wait a run each time.

## The run's lookups (`BBHOST_RUN_LOOKUPS`)

Two lookups the command processor repeats for the in-order draws of a run give
the same answer through the run (`src/host/run_lookups.h`):

- **The run's publication.** With the pool's segments on, every batched
in-order draw asks `publish_run_targets_locked` to publish its run's targets
for the pool's draws: `names_of` builds a zeroed `GpuDrawInputs` from the
run's lookups, the names are hashed and the set's ways searched - and the way
already holds them. The run's answers (`RunTargets`) carry a version that
`run_targets` moves whenever it refills or drops them. While it stays, the
way the last call took keeps its sequence (only the command processor writes
a way, each write moving it, and one way of a set holds a run's names at
most), the erase generation is the one it was published or found at, and the
publication is no older than `kRtPubAge / 2` flips, the call returns at once:
the condition the full call checks, on the same values.
- **The GX buffer's extent.** Each vertex record whose extent decides something
(the buffer shadow, staging, the race census) asks `gx_buffer_end` for the
end of the GX buffer it starts in: the registry's lock, which every GX Map
takes, and its map walk. The answer is a function of the registry's shape -
its memory index, its holders, and each entry's memory, size, type and
liveness - and is the same over an interval of addresses. Each thread keeps
its last answer with that interval and the shape's generation, which the
registry moves under its lock right after each change of the shape, before
anything in the change that could release a lock or free memory (an erased
node is freed after the move). A thread that has synchronised with a change
reads the moved generation and looks up under the lock.

`BBHOST_RUN_LOOKUPS=0` looks both up every time; `=compare` looks every memo
answer up as before, returns that, and counts and logs the differences (the
exit report's `run-lookups:` lines). On an RTX 4070 (the 16 places uncapped,
and Old Yharnam, the Nightmare of Mensis, Central Yharnam and Cainhurst's
courtyard held to a 4 GB card's 2,950 MiB) the memo answered 50% of 40.9
million publications and 94% of 60.6 million extents. Compared there, on an
RTX 3070 Ti Laptop GPU under Windows (the homes on; then the run commit on,
its workers resolving 73% of the draws) and under lavapipe at the 12 places
(the homes off and on), none of 123 million memo answers differed. A Steam
Deck asks neither lookup (no pool, no buffer shadow, no staging).

## The draw's own context (`BBHOST_DRAW_CONTEXT`)

The first step of committing per run: what a draw allocates, taken through an
Expand Down Expand Up @@ -733,6 +772,9 @@ on the live save), 182.4 and 177.4 off against 182.0 and 184.5, and 200.9 on.
tracking (`list_resolve::run_serial`, which the per-run commit will start
from). On by default (since 2026-11-11; before, only with the run commit -
Windows' default - and the constant buffers' homes); `=0` off.
- `BBHOST_RUN_LOOKUPS=0|compare`: the run's lookups above - the publication and
the GX buffer's extent answered from the lookup before. On by default; `=0`
looks both up every time.
- `BBHOST_DRAW_CONTEXT=chunks|compare`: the draw's own context above, with its
census and checks. Off by default.
- `BBHOST_RUN_COMMIT=fork|on|compare` (`BBHOST_RUN_COMMIT_THREADS`,
Expand Down
11 changes: 10 additions & 1 deletion docs/modding.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,20 @@ the Intel SFX workaround, Disable HTTP Requests, Disable Facegen, Enable TAA,
Bookmark and Capture outputs, the low-res motion blur buffers). A player who
wants one keeps its file in their own patches folder.

The Performance patch (Kyo's Performance Patch v3, Velomap and Decals On) is
built in and always on (`performance = false` under `[patches]` leaves it
out, for a test). It writes the list's sites but five: its camera blur's
force and its Model detail force (the Motion blur and Model detail settings
decide those), and, since v0.2.35, the three that turned the scene
renderer's own depth and G-buffer copies into NOPs (`0x26a10c0`,
`0x26a2829`, `0x26a283f`): SSAO, the sun's shadows, the decals and depth of
field read what those copy, in the views drawn in the renderer's modes that
make them (the world's view fills the same targets with copies of its own).

| File | Patch |
|---|---|
| `disable-misc-renders.toml` | **Disable Misc. Renders**: Disable Misc. Renders - Kyo's patch: four of the scene's extra targets are not made, nor their passes drawn (off by default; at the next start) |
| `fxaa2-gs-dlaa-gs.toml` | **Better AA**: FXAA2_GS + DLAA_GS - Kyo's patch: both anti-aliasing filters (off by default) |
| `text-scale-50.toml` | **50% Text scale**: Smaller text, which looks good at higher resolutions. (off by default) |
| `ds1-physics.toml` | **DS1-like physics**: Corpses and objects can be flung around, as in Dark Souls. (off by default; one of object physics) |
| `lower-object-physics.toml` | **Lower object/corpse physics**: Corpses resist being moved by the player or anything else. (off by default; one of object physics) |
| `disable-camera-auto-rotation.toml` | **Disable Camera Auto Rotation via Movement**: The camera no longer turns by itself as the character moves; turning it by hand and lock-on still work. (off by default; at the next start) |
Expand Down
86 changes: 66 additions & 20 deletions docs/online.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,34 +59,80 @@ The setup window's Game page has a Connection card. **Test connection**
checks whether other players can reach this PC directly, or whether its
co-op and PvP go through the server's relay. It runs from the game's own P2P
port, so it needs the game closed (Play waits for it), and it takes a few
seconds.

- It sends STUN requests from the P2P port to the server's two test ports
(3479 and 3480 at the STUN server's host; `online.nat_test_ports` for a
server of your own) and reads the public address and port each one saw:
- **Direct connections: yes, your router keeps one port** - the same public
port at both: other players can connect to this PC directly.
- **You'll use the relay: your router changes ports per destination** - a
different port (or address) at each, as symmetric and many carrier-grade
NATs do: a direct connection fails, and the relay carries the session.
- **UDP is blocked on this network** - no answer at all: online play will
not work from this network (a firewall, a VPN, a school or work network).
seconds - up to about six when nothing comes back, sending again meanwhile
so that a security program holding the first packets while it asks about
bbhost.exe does not spoil the result.

The card says the result in one headline with its status (a check, a
warning or a problem), one sentence on what it means for co-op and PvP, and
the one thing to do when there is something:

| Headline | What it means | What to do |
|---|---|---|
| **Your network allows direct connections** | the same public port at both test ports, with the relay on (the default): co-op and PvP go through the relay all the same | to connect directly, turn the relay off (the switch under the result) - with incoming closed, after the steps to forward the port; signed out, sign in to play online |
| **Online play works directly** | the same, with the relay off (or on a server without the switch): other players connect to this PC without the relay | nothing; with incoming closed, the steps to forward the port (below) |
| **Online play works through the relay** | a different port (or address) at each, as symmetric and many carrier-grade NATs do: sessions go through the relay, with a little more delay | nothing (not signed in: sign in and test again, so the server knows to relay you) |
| **Something is blocking bbhost** | nothing came back: something on this PC (a firewall or antivirus) or the network stops bbhost's packets or the answers | sign in and test again to find out which - the server tells |
| **Online play is blocked** | signed in, the server saw none of bbhost's packets | allow bbhost.exe in the firewall or antivirus; if the website's test fails too, the network blocks online play (school and work networks can) |
| **Answers aren't reaching bbhost** | the server heard bbhost, but none of its answers came back - most likely a firewall or antivirus on this PC | allow bbhost.exe in the firewall or antivirus |
| **Something on this PC is blocking bbhost** | the system refused every packet bbhost tried to send (a permission error) | allow bbhost.exe in the firewall or antivirus |
| **This PC couldn't send anything** | the system refused every packet for another reason (no network) | check the internet connection, then the firewall |
| **A VPN or proxy may be in the way** | the test ports answered, but the server saw none of it from the address the sign-in came from (a VPN or a proxy for web traffic) | turn off the VPN or proxy |
| **The test was incomplete** | one test port answered: a lost packet, most likely | test again |
| **The game's port is in use** / **The test couldn't use UDP port ...** / **The test server wasn't found** | the test could not run | close the game, choose another P2P port, check the connection |

- **Incoming**, the port check: one more request asks the server to answer
from a third port, which the game never sent anything to. When that answer
arrives, the router and this PC's firewall let in a packet nobody asked for
(a forwarded port, or a router that does not filter by port), so even
players whose routers change ports can connect directly. Closed is common
and fine: those players reach you through the relay instead. A server
without the check says so.
players whose routers change ports can connect directly. Closed, those
players reach you through the relay instead, and the card gives the steps
that let them in: forward the UDP port to this PC in the router's settings
- with the PC's address on its network, the one the test's requests left
from - allow bbhost.exe in Windows Firewall (Private and Public), and test
again. Behind a router that changes ports, forwarding does not help and
the card leaves it out. A server without the check says so.
- **Details** opens the technical lines: the port the test ran from and the
public port the server saw, the port check, when, whether the result was
kept for your account (or is this PC's own reading), the server's verdict
beside this PC's when they differ, refused sends, and the PC's address on
its network.
- Signed in, the server classifies what it saw from your address and keeps
the result for your account, as the website's account page test does, and
a server that relays only the players who need it relays you when the
result says so. Not signed in, the card shows this PC's own reading, not
saved. The server takes 10 tests an hour per account.
- The card says what the result means, the port the test ran from, and when
your account's last test ran (also one taken on the website). F10's Game
page repeats the verdict when the setup window opened before the game. The
log has one line per test (`connection test: ...`), with no addresses.
saved. The server takes 10 tests an hour per account. Before a test runs
in this window, the card shows your account's last one (also one taken on
the website).
- F10's Game page repeats the card's headline, in its colour, when the setup
window opened before the game. The log has one line per test
(`connection test: ...`): the result, how many requests went out and how
many the system refused (with its first error), and no addresses.

### The P2P port

Under the result, **P2P port** (`online.p2p_port`, 9307 by default) is the
UDP port other players reach this PC on: the one to forward on the router.
It takes 1024 to 65535, not the server's test ports, and not a port another
program has (two copies of bbhost on one PC need different ports). The next
test runs from it at once; Save or Play keeps it, and the game opens it as it
starts, so a change made while the game runs applies from its next start.

### The relay switch

Signed in, **Relay** is your account's own setting, the same as the
website's account page has: **On** (the default) works on every network, as
co-op and PvP go through the server's relay; **Off** connects directly, which
needs your router to let other players in. Players who keep the relay still
reach you through it, and everyone who plays from your connection (your home
network) needs it off for it to apply. Turning it off after a test that
showed a direct result with incoming open takes one click; otherwise the
card says why it may not work and gives the port-forwarding steps, and asks
again (**Turn it off anyway**, or **Keep the relay**). Turning it back on is
one click. The change goes to the server at once, and the card reads it back
from the server. With the relay off while other players cannot get in, the
card's headline says so - **Other hunters may not reach you with the relay
off** - with the steps and the switch.

## Beyond the console

Expand Down
Loading
Loading