The Questionable Level Design Contest ends in…
Views: 912,884,822
19 users online:  Anorakun, Azula16,  bebn legg, CircleFriendo, dacin, DDCecil, heatedgiraffe79, Infinity, Jeanyer, Magmatic,  MarioFanGamer, Masked Man, Mediocre Espurr, OnlySpaghettiCode, OrangeBronzeDaisy, Retro Master HD, ScatmanJones49, Spads, TheJank - Guests: 73 - Bots: 90 Users: 51,126 (2,208 active)
Latest: heatedgiraffe79
Tip: Make sure your overworld's aesthetic, and the levels within, are coherent.
Not logged in.
Details for Tolerance Timer (aka "Screw Input Lag")
SMW Patches - Tolerance Timer (aka "Screw Input Lag") Link - Show random
File Name: Tolerance Timer (aka "Screw Input Lag")
Authors: RPG Hacker
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch aims at making the game's controls more responsive while also lessening the impact of input lag (such as in BSNES or Higan).

So far, two different tricks are supported in the patch and both of them are based on simple timers that add some kind of tolerance window to the game.

The first trick allows Mario to perform late jumps. This means that if Mario is about to fall down a platform, as long as a certain amount of time hasn't passed yet, Mario can still perform a jump.

The second trick basically does the exact opposite to this, as it allows Mario to perform early jumps. This means that if Mario is currently still in the air and pressing a jump button, if he lands on a platform within the next few frames, he will immediately jump off that platform, as if the jump button was pressed the exact moment he landed on it.

By default, both hacks are set to use a frame count of 3 frames (which is equal to about 50 ms of time), but this can be adjusted in the patch. I personally think that 3 frames is a great starting point, but depending on your hack's design, other settings might work even better for you. You can also activate and deactivate both hacks independently from each other. Just take a look at ttconfig.cfg for details on each setting.

Please play around with the patch for yourself to see how much of a difference it makes, espcially in hacks with tight and precise (single block to single block) jumps.

Requires up to 5 bytes of free RAM, depending on which features you enable (3 for late jumps and 2 for early jumps).

Feel free to contribute to this and other patches via my GitHub repository.
Tags: bsnes, delay, early, early jump, early jumps, emulator, enhancement, gameplay, higan, input delay, input lag, input latency, jump, lag, late, late jump, late jumps, latency, lorom, needs remoderation, physics, sa-1, timer, tolerance
Download: Download - 4.95 KiB
RPG Hacker
The version of this patch and shared library on the GitHub repository might work. Haven't checked this yet. If I don't forget it and this actually works, I will submit and update later.
Posted by:  RPG Hacker - | Link
This breaks on the latest asar, due to the shared library using some really ugly and fragile hacks.
for example: function greater_or_equal_to_zero(value) = 1-(value>>31)
Posted by: randomdude999 - | Link
RPG Hacker
As I just learned, what I call "early jumps" here is also called "input buffering" by some game developers, and what I call "late jumps" is called "coyote time" by some.
Posted by:  RPG Hacker - | Link
RPG Hacker
Glad to know you enjoy my patch! :)
In my opinion, it's these little details that make the difference between an "A" hack and an "A+" hack.
Posted by:  RPG Hacker - | Link
This is an awesome patch. It makes gameplay so much easier & smoother. I apply this patch every time I find a new hack to play. Amazing.
Posted by: EddyCartoon - | Link
Originally posted by RPG Hacker
(I'm really missing the Recent Comments sections, I never see comments on my submissions until days later)

Since the page is still accessable you can add it yourself with some extension or w/e (I edited smwc+ for that)
Posted by: TheBiob - | Link
RPG Hacker
Thanks for the kind words! :)
(I'm really missing the Recent Comments sections, I never see comments on my submissions until days later)
Posted by:  RPG Hacker - | Link
tbh feature this it's cool
Posted by: leod - | Link
Vitor Vilela
I prefer tag spam over not tagging at all. There is lot of stuff with single or even not any tag at all and our moderators approves without commenting anything at all.
Posted by:  Vitor Vilela - | Link
RPG Hacker
Haha, sorry on the tags. :D
I haven't uploaded a patch in years and wasn't sure how SMW Central handles the tags, so I just applied my YouTube strategy of adding as many tags as possible. Will try to stick to just the most important tags next time.
Posted by:  RPG Hacker - | Link
Von Fahrenheit
Moderator's note: AKA welcome to this thing has too many tags. It's pretty good. It's super easy to use and slightly improved game feel. I personally think the default 3 frames of leniency is too much and recommend setting it to 2, but that also highlights the best part of the patch; it's also super easy to customize! Just open ttconfig and set the variables as you see fit.
Posted by: Von Fahrenheit - | Link
RPG Hacker
Yeah, ZSNES and ZMZ also have input lag, but from my personal experience and from some independent test I've read, they're the SNES emulators with the smallest latency. The only environment with "no" input latency would indeed be real hardware in combination with a CRT TV, but only few people have the means to actually test their hacks in such an environment. Even in such an environment, this patch should have a positive effect, though.
Posted by:  RPG Hacker - | Link
@RPG Hacker
But I seem to get input lag on ZSNES/ZMZ as well. 2-3 frames. It doesn't happen on real hardware.
Posted by: MarkVD100 - | Link
RPG Hacker
Sorry, got a little carried away. Compressed it to (what I think) is the bare minimum now. Hope this is tolerable now.
Posted by:  RPG Hacker - | Link
Green Jerry
The description is too large.
Posted by: Green Jerry - | Link
That is the largest description I've ever saw.,
Posted by: HammerBrother - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks