Files
port-um local 2d1a3ec6b7 Benchmark routes: VICTORY_BENCH_ROUTE=downtown|drive
Two fixed, reproducible routes built into the layer, so every machine
benchmarks the same places the same way without mods (game 1.0.2.1).

- victory-loader bench_route: a minimal script-native caller. Handlers
  are found by their 1.0.2.1 offsets and each checked by the id its cold
  block writes; PLAYER_PED_ID's handler is hooked for a per-frame tick in
  one elected game script thread (the approach of ViceHook, MIT). Every
  call goes through an SEH-guarded stub: a fault stops the route, not the
  game. Nothing is hooked without the variable.
- downtown: a noclip flight over a 2400 m square at (-2600, -1000), 30 m/s,
  40 m over the smoothed ground, camera sweeping, in a Blista: the city's
  densest blocks (found by a frame-rate scout over the map).
- drive: the game's AI drives a Blista around a loop on the roads in the
  hills from (-2556, 6948), with traffic (about 3.5 min a lap).
- Both set 12:00 (clock paused), held sunny weather and no wanted level.
- With VICTORY_BENCH, the run is timed from the route's start (nothing
  skipped) and bench_stats.txt names the route; run.sh does not carry
  the route over into the restart after a benchmark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 14:13:21 -06:00
..
2026-11-27 23:41:58 -03:00
2026-11-27 23:41:58 -03:00