2 ms·
> work by modders to reduce the input lag introduced by the game engine itself Can you link something about this? are people rewriting the core engine of melee
by chizhik-pyzhik 4y ago
> work by modders to reduce the input lag introduced by the game engine itself
Can you link something about this? are people rewriting the core engine of melee?
- CarVac 4y agoThere's a phenomenon known as Polling Drift where the 2x-per-frame input polling at 120 Hz is mismatched with the NTSC framerate that's 0.1% slower, leading to a variable 0-0.5 frame input lag. This can be patched out. Additionally, they found that there is an extra frame of buffer hanging around that wasn't necessary so that can be removed. There might be something else too?
- robocat 4y agoAnother HN user mentioned a skipped frame every 20 seconds on a Dell monitor: https://news.ycombinator.com/item?id=32582085 https://news.ycombinator.com/item?id=32582085
- pezezin 4y agoThat sounds weird to me. Old game consoles with analog video output didn't generate perfect NTSC or PAL timings (for example, the Megadrive would actually run at 59.92274 Hz in NTSC, and 49.701459 Hz in PAL), but it didn't matter as the CRT TVs had some wiggle room and would synchronize to the video signal. There was no such thing as input and output running at different rates and desynchronizing.
- CarVac 4y agoThe problem isn't that the framerate isn't exactly the right frequency, it's that the controller polling frequency is not a whole multiple of the framerate. The game uses the last poll, but the last poll could be up to half a frame old.
- FumblingBear 4y agoA few projects that are pretty widely used in the Melee scene are 20XXTE [0] and Slippi [1]. As far as I know, neither rewrite the core engine of melee, but there are some key modifications like UCF (Universal Controller Fix) in 20XXTE that modifies the way the game interprets analog stick movement to help standardize the effectiveness of gamecube controllers. Without that fix, it's very hit or miss on whether or not certain movement tech would work consistently on a controller due to joystick drift / deadzones. [0] - https://github.com/dansalvato/20XXTE https://github.com/dansalvato/20XXTE [1] - https://github.com/project-slippi/project-slippi https://github.com/project-slippi/project-slippi