SF6 Training Tools v2.4
What's New
Memory Optimization
- Fixed continuous memory growth caused by per-frame closure allocations in Lua hooks
- SharedHooks:
pl_input_subhook now caches player addresses (refreshed every ~1s instead of every call), eliminating ~120 closure allocations/second - SharedHooks:
UpdateGameInfohook rewritten to avoid wrapping entire body inpcall(function()...end) - SheldonsBoxes: all 5
pcall(function()...end)patterns replaced withpcall(func, args)— no closures created per frame
Affected Areas
- Hitbox viewer (draw_boxes:
get_IsR0Die,get_IsTeam1P) - Vital ruler (
vr_get_vital_max) - Web bridge JSON read/write
- Player detection in input hooks
Installation
Extract the zip into your Street Fighter 6 game directory.