Repository navigation
Releases
v0.1.0-preview.2 — native renderer performance
This second preview adds seven native-renderer performance changes on top of
v0.1.0-preview.1.
It is still a source-only developer preview, not a claim of complete-game compatibility.
There is no prebuilt game executable. GitHub's Source code downloads contain
the repository's source and documentation. You need your own supported PAL game
extraction and the Windows development tools to build and run it. Game files,
generated game C++, captured/translated game shaders, binaries, saves and private
asset caches are not included.
What changed
- Early depth testing for native pixel shaders. Every generated pixel shader ended with an
alpha-test discard, which stops the GPU from rejecting hidden pixels before shading them.
When a draw's alpha test cannot discard, it now uses a copy of the shader without it
(nb_native_alpha_test_variant). - Hardware index buffers for eligible indexed triangle lists, so the GPU can reuse vertices
it already shaded (nb_native_hardware_indices, now enabled inconfig/nb.toml). - Render target claim fast path: per-draw ownership bookkeeping is skipped when nothing
changed (nb_rt_ownership_fastpath). - Empty constant layouts: shaders proven not to read the guest float constants no longer
upload them (nb_native_empty_constant_layout). - Texture descriptor memo and retained command storage are now enabled in
config/nb.toml
(nb_native_texture_descriptor_memo,nb_native_deferred_storage). - Per-draw diagnostic clocks are off by default (
nb_native_minimal_diagnostics,
nb_native_minimal_command_diagnostics). - The built-in benchmark records and can switch the new options, and geometry-cache benchmark
runs keep their detailed timings.
Measured
One launch in Showdown Town, 32:9 at render scale 4x2 (5120 x 1440 internal), stationary
view. The four switches nb_native_alpha_test_variant, nb_native_hardware_indices,
nb_native_empty_constant_layout and nb_rt_ownership_fastpath were turned on and off together
in 24 alternating windows of 240 frames each:
| Switches off | Switches on | |
|---|---|---|
| Frames per second | 53.4 | 55.9 |
| Frame time | 18.74 ms | 17.89 ms |
The switches-on windows were faster in all 12 adjacent pairs (exact sign-flip test p = 0.0005).
Draw counts matched within 0.1%. About 3,400 draws per frame used the early-depth shaders, with
no shaders still compiling during the measured windows.
The baseline already had the diagnostic clocks off and the descriptor memo and command storage
on, so this measures the other four changes together. The gain against preview.1's defaults may
be larger, but that was not measured. Other render scales, other GPUs and the split between the
four changes were not measured either.
Same-launch screenshots with the switches on, off and on again showed no visible difference.
The on/off differences matched the drift between two "on" captures taken a minute apart. Early
depth is not guaranteed to be bit-identical, because the shader compiler may reorder
floating-point math, and it was not checked with frame readbacks.
The test machine is the one in the
hardware details:
an Intel Core Ultra 9 285K and an NVIDIA GeForce RTX 5070 Ti at 5120 x 1440.
Updating from preview.1
-
Check out the tag (
git fetch --tagsthengit checkout v0.1.0-preview.2) and rebuild with
tools/build-local.ps1. -
Refresh the built application's settings, because the new defaults live in
config/nb.toml
and a rebuild that does not relinknb.exedoes not copy it. With the game closed, from the
repository root (this replaces settings you saved in the built copy):Copy-Item -LiteralPath '.\config\nb.toml' -Destination '.\out\build\win-amd64-release\nb.toml'
-
The first launch of a new build compiles its graphics pipelines. The window can freeze and
show "Not Responding" for up to about a minute. Do not close it; it continues on its own.
The early-depth shaders then compile in the background during the first few minutes of play,
so compare frame rates after that.
Turning a change off
Each change can be disabled with one line in the built application's nb.toml, or with
--<name>=false on the command line:
nb_native_alpha_test_variant = false
nb_native_hardware_indices = false
nb_rt_ownership_fastpath = false
nb_native_empty_constant_layout = false
nb_native_texture_descriptor_memo = false
nb_native_deferred_storage = falseIf something looks wrong with a change enabled and right with it disabled, please report it with
the playtest issue form, including the switch name.
Start here
git clone --branch v0.1.0-preview.2 --depth 1 https://github.com/djvb1234/BoltsRebuilt.git
cd BoltsRebuiltThen follow the
build guide for this version
and first-playtest steps.
Include v0.1.0-preview.2 and your commit when reporting results.
The supported inputs and known limits of
preview.1 still apply.
v0.1.0-preview.1 — source developer preview
This is the first tagged BoltsRebuilt preview: a fixed source version for people
who want to build locally and report results. It is an early testing release,
not a claim of complete-game compatibility.
There is no prebuilt game executable. GitHub's Source code downloads contain
the repository's source and documentation. You need your own supported PAL game
extraction and the Windows development tools to build and run it. Game files,
generated game C++, captured/translated game shaders, binaries, saves and private
asset caches are not included.
Included
- Windows host application on the pinned RexGlue v0.10.0 SDK, with seven local patches.
- Custom D3D12 renderer, local shader translation/preparation, and per-draw fallback.
- Ultrawide view and HUD support, with 21:9/32:9 options and configurable render scale.
- Local build/play helpers, issue forms, a first-playtest guide and troubleshooting.
- Six documented development screenshots, an architecture guide, hardware details
and a compatibility record. - Publication/Python checks and game-free Windows helper/ultrawide checks in CI.
Start here
git clone --branch v0.1.0-preview.1 --depth 1 https://github.com/djvb1234/BoltsRebuilt.git
cd BoltsRebuiltThen follow the
build guide for this version
and first-playtest steps.
The tag checkout is a fixed snapshot; include v0.1.0-preview.1 and your commit
when reporting results.
The target is Windows x64, an x86-64-v2 CPU and Direct3D 12. The tools require
PowerShell 7, Python 3.11+, Git, Visual Studio 2022 C++/Clang tools and a Windows SDK.
The accepted PAL executable SHA-1 is
5be7c41a37e3fa1e8fa05f4a0815c9b807dcae74. Title updates and other executable
versions are outside the supported inputs.
What has been checked
The public runtime built from a fresh pinned SDK and reached the title screen
in capture mode and native-enabled mode on the maintainer's machine. The native
launch used only three vertex and three pixel shader stages, with fallback for
other draws. The later documentation and CI additions do not extend those
gameplay claims. The Python suite has 55 tests; these are source/tool checks.
The test machine is an Intel Core Ultra 9 285K with an NVIDIA GeForce RTX 5070 Ti,
32 GB RAM, Windows 11 IoT Enterprise LTSC build 26100, NVIDIA driver 616.56 and an
MSI MPG 491C OLED at 5120 x 1440 / 144 Hz. These are observed specifications,
not minimum requirements or a measured game frame rate.
See the validation record
and hardware details.
Known limits
- Full-game progression, extended save/reload, other GPU vendors/models and other
driver combinations are not established by the published checks. - Native coverage depends on your local shader library and supported draw state.
Unsupported work retains fallback; native replacements require the SDK's
bindless path and Resource Binding Tier 2 or higher. - The high guest refresh default permits up to 240 FPS and can speed up
frame-counted behavior. The build guide explains the original 30 FPS setting. - Private development screenshots and performance observations are not benchmarks
or compatibility results for this source preview.
Compatibility details
and troubleshooting
cover these limits and setup messages.
Working reports are welcome alongside failures. Use
Issues for reproducible
results and Discussions for
questions and ideas. Include your release/commit, hardware, scene and settings;
do not upload game content, shaders, saves or memory dumps.