LoadBench is a desktop interior ballistics simulator and reloading calculation workbench built with React, TypeScript, and Tauri v2. It models chamber gas pressure, projectile bore acceleration, burn progression, barrel transit time, recoil, gyroscopic stability, and downrange trajectories locally on your machine.
Website and signed downloads: 2a.patchcraft.dev/#loadbench
- 4th-order Runge-Kutta (RK4) interior ballistics solver using the Noble-Abel equation of state, Vieille combustion law with propellant grain form functions, and Lagrange gas inertia scaling.
- Built-in reference catalogs covering 385 cartridges (SAAMI, CIP, and Wildcats), 181 smokeless propellants, 1,120 projectiles across 27 manufacturers, and 109 centerfire primers across 15 manufacturers.
- Exterior ballistics calculator integrating BRL G1 and G7 Mach-vs-Cd drag tables with iterative zero-angle convergence and atmospheric density scaling.
- Load development tools: Safe Working Range and Charge Solver, Chris Long Optimal Barrel Time (OBT) harmonic nodes, incremental charge ladders, propellant ranking, chronograph Ba truing, barrel cut-down velocity stepping, thermal stability drift, CBTO/jump geometry, VMD powder measure sizing, free recoil dynamics, batch cost analysis, printable monochrome range cards, and QR ammo box labels.
- File interchange for
.loadbench/.ldbrecipes, Wildcat Studio.wildcat/.wcs/.qdfcartridge definitions, and quote-aware.vol/.pro/.bulCSV files.
- Frontend & physics core: React 19, TypeScript, Vite 8, CSS, Lucide icons, and double-precision IEEE-754 ballistics solvers in
src/utils/. - Desktop runtime: Rust and Tauri v2 (
src-tauri/) providing native windowing, macOS/Windows/Linux file associations, least-privilege ACL capabilities, strict CSP, and optional non-forced updates from GitHub Releases.
Prerequisites: Node.js 22+ and Rust stable toolchain.
# Install frontend dependencies
npm ci
# Run unit tests
npm test
# Typecheck and build production bundle
npm run typecheck
npm run build
# Run local desktop app in development
npm run tauri dev
# Run full local verification suite (TS, Vitest, Vite, Rust fmt/clippy/test)
npm run verifyGitHub Actions (.github/workflows/release.yml) signs macOS builds with Apple Developer ID code signing (plus optional notarization), signs Linux packages and SHA256SUMS.txt with GPG, and signs Tauri auto-updater payloads with Minisign. Configure the following repository secrets before tagging a release:
- macOS code signing:
APPLE_CERTIFICATEandAPPLE_CERTIFICATE_PASSWORD(orCSC_LINKandCSC_KEY_PASSWORD), plus optionalAPPLE_SIGNING_IDENTITY. - macOS notarization (optional): either App Store Connect API credentials (
APPLE_API_KEY,APPLE_API_ISSUER,APPLE_API_KEY_P8) or Apple ID credentials (APPLE_ID,APPLE_PASSWORDorAPPLE_APP_SPECIFIC_PASSWORD,APPLE_TEAM_ID). - Linux GPG signing:
GPG_PRIVATE_KEY(orLAUNCHPAD_GPG_KEY), plus optionalGPG_PASSPHRASE(orLAUNCHPAD_GPG_PASSPHRASE) andGPG_KEY_ID. - Tauri updater signing:
TAURI_SIGNING_PRIVATE_KEYand optionalTAURI_SIGNING_PRIVATE_KEY_PASSWORD.
See SECURITY.md for artifact verification commands.
- PatchCraft 2A & Ballistics Suite — Documentation and release index for ArmoryVault, LoadBench, and Wildcat Studio.
- LoadBench Releases & Issue Tracker
- Wildcat Studio (GitHub) — 2D/3D cartridge geometry, reamer modeling, and case capacity calculation.
- ArmoryVault (GitHub) — Local-first encrypted firearm, ammunition, and compliance vault.
All pressure, velocity, and trajectory values are mathematical approximations. Always consult published reloading manuals from component manufacturers, start at least 10% below maximum charges, and read docs/DISCLAIMER.md before assembling ammunition.
LoadBench is open-source software licensed under the BSD 3-Clause License.