feat(menu): an Uncapped choice for the Game frame rate cap #2122
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!2122
Loading…
Reference in a new issue
No description provided.
Delete branch "menu/fps-uncapped"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Game frame rate cap stops at 240, so a player with a fast PC, or one who wants the least delay, cannot let the game run free. This adds Uncapped as the row's last choice, with the game still at real speed.
frame_rate_cap=6. 0 to 5 mean what they did, and a value a build does not know (an older build reading 6) is 60.1 / max(240, cap): unchanged for every cap up to 240, a 1000th uncapped.HOS_FPS_MAXtakes 61 to 1000 now (it stopped at 240).HOS_FPS_MAX, and notes thatHOS_FPS_LOGlogs the game clock's speed.Tested
Linux, RTX 3090:
hookshot_vk.so, its exported-symbol check clean.python -I -B tests/run_all.py: 340 passed, 13 skipped. The three failures (nx2/test_nup_read_name,tests/test_builder_log_read_only,tests/test_wayland_libdecor_hint) also fail onmainon this machine.tests/test_frame_rate_cap_step.pycompiles the realfps_maxandrealtime_stepand checks:frame_rate_cap=6) and fromHOS_FPS_MAX=1000: the limiter at 1000, and frames 500 a second apart stepping a 500th each, which is real time.frame_rate_capread as 60.HOS_FPS_LOG=1):vi: frame rate uncapped, and the game clock ran at 1.000 of wall time (0.998 to 1.001, ten readings over a minute and a half).Not tested
HOS_FPS_LOG=1, should show the fps past 240 at a speed of 1.000.github-sync referenced this pull request2026-11-12 06:22:54 +00:00