No description
  • Rust 99.4%
  • Dockerfile 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-05 06:49:27 -03:00
.gitea governanca: AGENTS.md, CODEOWNERS e vetores de ouro do fio 2026-12-04 22:51:08 -03:00
crates teto de jogadores: sessao cheia recusa Join, e o MTU deixa de sumir calado 2026-12-05 00:21:36 -03:00
deploy teto de jogadores: sessao cheia recusa Join, e o MTU deixa de sumir calado 2026-12-05 00:21:36 -03:00
docs doc: F3, ler o mundo com os sitios do trainer 2026-12-05 06:49:27 -03:00
.gitattributes desenho do VitoriaServerBR: tres camadas, protocolo, orcamento de banda e fases 2026-12-04 22:31:47 -03:00
.gitignore local/: notas de deploy ficam fora do repositorio 2026-12-04 22:41:20 -03:00
AGENTS.md governanca: AGENTS.md, CODEOWNERS e vetores de ouro do fio 2026-12-04 22:51:08 -03:00
Cargo.lock vsbr-server e vsbr-bot: handshake, sessoes, 20 Hz e frota headless 2026-12-04 23:40:25 -03:00
Cargo.toml vsbr-proto: bits, enquadramento e quantizacao (19 testes) 2026-12-04 22:47:55 -03:00
README.en.md medido no Debian: 79 kbit/s, p99 3,3 ms no Celeron (host) contra 4,3 (bridge) 2026-12-04 23:56:34 -03:00
README.md medido no Debian: 79 kbit/s, p99 3,3 ms no Celeron (host) contra 4,3 (bridge) 2026-12-04 23:56:34 -03:00
rust-toolchain.toml vsbr-proto: bits, enquadramento e quantizacao (19 testes) 2026-12-04 22:47:55 -03:00

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-server and vsbr-bot run 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 exact net.rs and xnetworking.rs touch points, in docs/vitoriabr.md; deployment in deploy/ — 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:

  1. Netplay. The HLE answers session and transport; the game does the rest. Cheap, delivers "play with a friend", allows no game mode.
  2. 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.