Files
foxhound/crates/victory-loader
readmet3xt-lab 18336b12f7 Game speed at low frame rates: the longest timer step from the title profile
A program that takes each timer step as at most 1/15 s runs slower than
real time below 15 frames a second (at 12, at 80 % of its speed). With
frame generation, a base rate under 15 is common under heavy load, and
everything timed slowed down with it.

A title profile's new max_step group gives the program a longest step of
the engine's choosing: VICTORY_MAX_STEP_MS, from 67 to 1000 ms, 250 by
default (full speed down to 4 fps); off keeps the program's own. The
engine fills in the new template value max_step (f32, seconds); the sites
and their stock bytes live in the profile and are checked before anything
is written. Frames longer than the limit, such as loading hitches, still
slow the program down rather than jump it ahead. An engine without the
value refuses only that group. The run prints the step and the lowest
frame rate that still runs at full speed. The launcher leaves the switch
out of the shader stamp.

After PR #319 by Kajcsi, ported from VIctory-NVIDIA (GPL-3.0).

Co-Authored-By: Kajcsi <64730213+Kajcsi@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 04:26:04 +05:30
..
2026-11-28 01:20:32 +05:30