Neurohack minigame runs at fps rather than being related to tick rate

giantcabbage 27 Jul 2025:

We can modify the OnDisplayInit block to only execute every other frame. This will halve the mini game speed so it is back to normal when running at 60 fps. However, it will also halve the speed at 30 fps...

Limiting the minigame speed to the tick rate would introduce other issues as the rate is 7.5 tick/sec in dockscreens.

  • Would need to modify code to expect 7.5 fps updates instead of 30fps
  • Game might feel even more unresponsive / difficult to control

Clean fix would likely require rewriting neurohack game, work on events to allow events based on game time (for standard behavior) and events based on real time (for use in dockscreen / minigames e.g. if OnDisplayInit passed (real) time since last update)

Possible hack fixes:

  • Only call OnDisplayInit at 30 fps
  • Add TLisp function to get "use60fps" setting