- Rust 99.4%
- Dockerfile 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitea | ||
| crates | ||
| deploy | ||
| docs | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.en.md | ||
| README.md | ||
| rust-toolchain.toml | ||
Português · English
VitoriaServerBR
Authoritative multiplayer for GTA VI running under VitoriaBR: the FiveM experience, with the hook in the emulator's HLE instead of a patch on the executable.
Status: F1.
vsbr-proto,vsbr-sim,vsbr-serverandvsbr-botrun end to end: 32 bots, 20 Hz, 79 kbit/s per client, a 3.3 ms p99 tick on a Celeron N4120 (budget: 5 ms) and 0.8 MiB RSS.Contract in
docs/multiplayer.md; emulator integration, with the exactnet.rsandxnetworking.rstouch points, indocs/vitoriabr.md; deployment indeploy/— docs in Portuguese.
Why the HLE
FiveM patches GTA V on PC. Here the title runs inside VitoriaBR, so the session
can be answered at the HLE (xnetworking, xgameruntime): the game joins a
session of ours without a single patch to RAGE. It is the Xenia netplay model.
The bridge has two levels, and the order matters:
- Netplay. The HLE answers session and transport; the game does the rest. Cheap, delivers "play with a friend", allows no game mode.
- Our own replication. The server needs the world (position, vehicle, health), which means reading RAGE's entity manager. That is what turns netplay into FiveM, and the project's biggest unknown.
What lives here, and what lives there
| here | in VitoriaBR |
|---|---|
vsbr-proto, vsbr-sim, vsbr-server, vsbr-runtime |
vitoriabr-mp, the bridge |
| world, protocol, Lua resources | xnetworking stops denying the network |
vsbr-proto and vsbr-sim do not know the emulator: they run with headless
bots, which is F1. The only piece that imports VitoriaBR is the bridge.
Next milestone
F1 — headless core with 32 bots. Acceptance: tick p99 ≤ 5 ms, RSS ≤ 200 MiB, bandwidth within the §6 budget, zero allocation on the hot path. No GTA VI and no GPU required.
Licence
To be decided.