Pause Buffering
Вставка
- Опубліковано 10 лип 2016
- I explain the usefulness of pause buffering. There are two primary purposes: to pause buffer inputs and to pause buffer the global timer.
Pause Buffering Inputs: Normally, if we input a button (such as A or B) on two consecutive in-game frames, then it won't count as two presses. Instead, it will only count as one press, held for two frames. However, if we use pausing to separate those two in-game frames, then it is possible to press the same button on two consecutive in-game frames.
Pause Buffering the Global Timer: The global timer is a variable that starts at 0 when the game is turned on and increments once on every frame, including paused frames. Some phenomena in the game rely on the global timer, and expect it to increment normally. However, by pausing strategically, we can control exactly what values the global timer has during the in-game frames. This can lead to some rather strange things happening.
Thanks to Peter Fedak for telling me the specific details of how the snufit and swooper variables are calculated:
(1) snufitHeight = 8 * cos(4000 * globalTimer) + startingHeight
(2) swooperRoll = swooperRoll + 1000 * cos(20000 * globalTimer)
(3) swooperYaw = 1200 towards 3000 * cos(4000 * globalTimer) + targetYaw
Note that concerning (2), Peter said that the roll also takes a step of 500 towards another number he hasn't yet determined.
Additional Notes
(1) Objects in 3D space have 3 angles: yaw, pitch, and roll. Here's a diagram for reference: i.imgur.com/E05roYE.png.
(2) There are some other events in the game that utilize the global timer that I missed in this video, which can be found here: • More Global Timer Depe... - Ігри
now to make that pause buffering noise into most irritating ringtone
with a cut off Mario jump sound it it
You could also make it into a alarm for an alarm clock.
I would wake up in milliseconds to that
That alarm would wake me up in 4 frames
I would say
If 30 FPS wasn't slow enough for you, now you can run it at 7.5 FPS!
0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 fps
No, you can't. Blinking still happens during pauses.
Mario 64 at 240fps
MOM ITS NOT WHAT IT LOOKS LIKE Mmh pls yes
Purple Shell - MKWii, Some other things. 75hz better
1:31 ''how can we maximize the number of A presses'
S-s-sorry, how can we do WHAT? Is this even legal?!
степан казанин I will make it legal.
Dang beaten to the prequel meme.
14 A Presses
seems legal to me
By pressing "A" more times.. th- that's how.. you idiot
Documenter without any original content He’s referencing the A Button Challenge.
"If we strategically pause, we can keep the drawbridge up or down"
*just spams the pause button
Sam Labbato
_laugh track_
it's strategic spamming
obviously
Frame perfect spamming
'A press'
*has war flashbacks*
Raffy Tabingo Dude. Literally all I did was reference the meme. Where the fuck did I say that was all he was about?
Hey kid, raging is not good for your life. getdafukout
J0yb0y
*response in other comment replied to*
"For example, consider the A button. On every frame there can be an A input or no A input"
Really made me think......
Mainly no a input.
Because he pressed A?
@@martinv1995 ...So... I *am* a person without glasses! Wow...
Drinking game: take a shot every time Pannenkeok pauses the game.
no
Emergency room
YOU'RE ON!
*Edit:* Was a fun game, I died a couple times though
How would you even drink that fast?
So 0, since he wasn't actually pressing it, he had a program doing it for him?
If only the RNG advanced during pauses and not only the global timer, the strat in TTC would be doable :(
yup :/
+pannenkeok2012 It's ok, you'll beat TTC one day
@@Svenir won’t it still save one a press in stomp on the thwomp
PAL
@@XenoZane boy do i have news for you
'A' button...
A?
'A' BUTTON?
THE 'A' BUTTON?
PRESSING THE 'A' BUTTON?
WHAT ARE YOU DOING!!???
Gotta crack a few eggs to make an omelet
+pannenkeok2012 That's a really smart way to say it. You're a genius, plain and simple. (Actually, intricate and complicated.) :P
The Wild Jamie That was a fairly common figure of speech
+pannenkeok2012 yeah like getting on top of the Thwomp in Tick Tock Clock
UncommentatedPannen Why make an omelet, when you can make a pancake? I mean, it's in your name!
Y'know what they say: "When life gives you eggs, make pannenkoeken!"
So what you're saying is that Mario can basically erase time.
Mario Zeppeli and his Stand, King Crimson
+Calvin Anderson IT. JUST. WORKS.
And warp through different, invisible dimensions at near-light speeds...
hyperx72
After building up speed for 12 hours
But only once.
When you hear the file select music, you know stuff is 'bout to go down.
thank you for teaching me how to pause
I know what your profile picture is from.
+smloader We all do bud.
Not I. Is it a flash or comic?
+Calvin Anderson Comic.Want to lnow which one?
victini pokeparkroad Just do it, I need to question life.
Sheldon, what are you doing?
I'm trying to pause buffer on a very poorly coded n64 emulator.
*laugh track*
Actually, most Nintendo 64 emulators are just half emulators.
but an emulator is an emulator
you can't say it's only a half
Hear me out, waffle "doctor" 87, the nintendo 64 code processing is actually composed by two processing units, the main processor and the DSP coprocessor.
The main processor is a well known and documented processor, but the coprocessor is a very powerful,complex,barely documented and hard to program chip that in theory only have around 10 programs available for it, and all games use one of those programs.
So, what the emulators do is instead of trying to emulate the whole system, is that they emulate the easy to emulate CPU, and "pretend" to be the one of the programs running on the coprocessor, thus being able to in theory execute the coprocessor program instructions and render it its own (imprecise way).
The coprocessor is used to perform operations like transforming X,Y,Z world coordinates into 2D screen coordinates, rotation, scale, animation and is also used to mix the audio, and its the one that controls the triangle drawing hardware.
sixtynga
*laugh trakkk*
I'm gonna shoot everyone in the thread. Let me just pull out my...
*BAZOOKA*
I love the fact that I got the "Can we do better?" bit before it was shown. You have corrupted me with your SM64 magic. And I love it.
You look like you're saluting pannenkoek.
Timestoppa Fun fact: pannenkoek in German is Pfannkuchen.
its actually dutch German is slightly different: Pfannkuchen
To think, all they had to do to stop your progress was to pause the global timer too.
The global timer is actually used during pauses to dictate what phase of the spin the red coins are at (you know, the red coins that appear on the bottom right to indicate that you collected them).
+pannenkeok2012 then couldn't they use a different timer while paused? since they have less ram needed elsewhere?
Here's what you need to know about the SM64 programmers: they were lazy
UncommentatedPannen
But what if it was space limitations?
@@want-diversecontent3887 I'm sure they had 4 bytes to spare
the pause buffering sound is just the funniest thing to me now
2:27 this is how to build speed for less than 12 hours
Jordan Botelho Requires pressing the A button, though.
Whenever I read this yellow text I always “hear” your voice for it now in my head... thanks for that, it’s good narration
So when can I expect a crossover video with Stryder7x?
When he runs out of Paper Mario games.
Or when Pannen runs out of glitches for SM64. Which is like, probably 15 years from now or something.
Nixel
No 12 years, he just needs to build up enough speed
Justin Mann b dum tsss
Also, when Paper Mario stop crashing
“In fact, I’ve done this before. Without doing it.”
- pannenkoek2012
Great video as always! Just a head's up, miiiight need to put a seizure/epilepsy warning
Rated PU for parallel universes
Caio Ribeiro no
It has a warning, but only avaible for computers
5:27 My new Ringtone
I was wondering the Pause Buffer BLJs forever ago and like 4+ years later I finally find out the answer lmao good job man
Thanks for making this video. I knew that pausing for consecutive inputs was possible but I didn't know what that exactly was useful for aside from the BLJ trick. Using it in To the Top of the Fortress was the coolest thing ever.
Thank you for sharing your findings Panenkoek! You're keeping people everywhere fascinated with this game!
So the swooper can do a barrel roll, but you can't press Z twice on consecutive frames without pause buffering.
Blame Star Fox.
Do a barrel roll!
[Z or R twice!]
Um... how do I press Z on two frames?
I don't know why I find these videos so fascinating- but I'm binge-watching them all
Thank you so much for these videos! I watch every single one and I love them all. Keep it up man :)
Well that certainly was interesting. Love your videos!
So cool! I didn't know most stuff about the global timer. And gotta love pause buffering in SM64, everytime I watch a pause blj my heart pumps with the sound of the pauses, I don't know why.
That flange effect when you pause a ton in Peach's Castle is weirdly soothing???
Wow. This video was really informative!
I saw some youtuber entering parallel universes in paper mario 64. please do not do that.
Parallel universes were found in this game far before Paper Mario.
+RegenerateLPs He is obviously trolling...
Maybe you're from a parallel universe where pannenkoek2012 hasn't figured out how to get to PUs.
Hi Miyamoto
Tyler Kehne is the one who figured out how PUs worked, and Plush named them. I had no part in that
My little brother liked this video so much he’s rolling around on the floor! Thanks Pannen :)
0:42
Proof that an A press is an A press.
Pedro Lippi "an A press actually has three states"
Change your last name to Spot.
Do it.
Do it.
Do it.
And, you can't say it's only a half. Now leave Henry and Pannen be, Henry withdrew his argument after an explanation and Pannen went through extreme mental suffering to make a commentated video.
Okay dude, this is a 4 years old comment.
0:44 "For example, consider the A button."
The what button?
challenge: count how many times he pauses
794
RIP epileptics we still love you
Pannenkoek- nah fuck 'em
Man, these complicated things... i love it
Just what I needed!
2:32 mario is so fast that his voice is pitched down lmao
Pannen, nothing else matters in my life now besides the ecstasy I find myself in when I experience your hand-crafted diagrams accompanied by the file select music
This is interesting. I always assumed Mario 64 TASers used pauses to savestate, due to timing being TOO precise or something. This makes a lot more sense
Do amps also change height based on the global timer, in the same fashion as snufits? If so then maybe pause buffering could save time in the BitDW ABC strat.
here's a game...
take a shot of an alcoholic beverage every time the game pauses
Hello 911 me has alcohol poisoning.
Talos supporter of true sons of skyrim
This may or may not be a Jacksfilms quote given that it's 5 days ago
But even trump wouldn’t be able to afford that
no
that swooper doing a roll made me really happy
Wow, thank you for explaining me the laws of Physics in the game that God has created.
Damn, you're the real MVP!
I like your SM 64 "physics", but this one inflicted me with dizziness for a short time. XD Good video, interesting!
I had no idea how dependent things were on the global timer until now!
Kudos to you man. I could never play mario 64 this much lol
this must be how my dad blj'd out of my life
Is Borp the legendary no tech skill melee player and spot dodge master really your brother????
yup
I like you even more now :O
This is news.
Christmas came early, and so did I
I've never watched competitive Smash Bros...
I. Am. Jealous. :)
It's times like these when I wonder how many of these quirks were carried over into the DS version.
None
@@sunk6478 Well, there is still Backwards Shell Hyperspeed which is basically the same but that's about it
it was at a certain time of pause buffering that i could hear a beat coming from the sound.
I find this sound really satisfying. Idk why other people are annoyed by it
Now I understand the pause button bashing in speed runs.
I think it would be interesting if you started doing this sort of dissection and glitch finding in sm64ds too
awh yiss. late night pannenkeok vid
Love dat background music!
It's just SM64 file select music
what's next, the strange technique of crawling to save 5 A presses?
I wouldn't be opposed to that tho :p
nah dude it's all about the new tech called "walking" and i heard it saves half an A press
Tried to up video volume faster by pause buffering and it worked. Thanks pannenkoek!
Wait, wtf is happening at 3:51?!
He dives, and then uses a pause buffer to dive recover on the next frame. Without the pause he would need to wait a frame to press b again and slide on the ground for 1 frame which loses speed.
No, i mean texture change of Mario
*****
Darn, it looks like a glitch i saw in other games, where you take skybox texture(of a sky and buildings afar) and apply it to a model with lots of polygons. lol
Thanks for these explanation videos! I do have a question though, in TTC you only use the instant release method to place a bomb out of bounds. Can't you also do a pause-buffered hitstun, grab the bomb and drop it to place it out of bounds? I also wonder if you can use a flame from a fire-spitter to do a pause-buffered hitstun instead of an explosion, which would save a bomb's coin.
Fire doesn't cause Mario to blink, so we can't use that
For some reason I thought he did, I looked at a couple of vids and quickly realized I was wrong, but what about my first point? Could pause-buffered hitstuns make raising bob-ombs in TTC a possibility if you drop them?
"Hey, you should commentate this video!"
Look at the channel name.
I’m going to get this game on virtual console for the Wii U. BLJing looks fun.
Does this affect the hitbox of the swooper?
Are any of these affects more than just cosmetic?
The swooper one was just cosmetic, but the snufit one was actual change in position
Isn't it a snifit not a snufit?
www.mariowiki.com/Snufit
pannenkeok2012
Right...
Ya gotta get cultured, pal.
so fricking cool
0:12 *GMM intro plays*
(it says let's talk about that at the bottom)
great video! I always find myself learning more whenever you post a video like this. I was wondering if there are any exploits that could be done if the game was left on long enough for the global timer to stop working incorrectly?
stop working correctly*
Hey it's Q
nice vsc at the end of that comment
I bet the game just cycles the global timer back to zero when it overflows.
It could possible if timer was floating point number and I don't think it is.
What is it that holds you in place, making it look like you're pushing against a wall, when your speed is absurdly high?
With that amount of speed, Mario's first quarter step is out of bounds. However, the game doesn't like moving Mario out of bounds, so it simply doesn't. This makes it look like Mario is pushing against the wall when in reality he's just BLJing in place.
+knavesmith Mario isn't BLJing anymore at this point, just pushing against a ridiculously far away wall because his speed would get him out of bounds in a quarter of a frame.
Qbe Root A frame is a frame. You can't say it's a quarter! _Memes_
Want Well, Want "Want" Want, a frame is actually comprised of...
great now ill hear the pause sound effect in my nightmares
Thanks :)
This remindme the double heart refresh Trick (DHR) in Castlevania Symphony of the Night
5:37 "It's for science!"
Determination is one hell of a drug.
By holding the Space button, you can pause buffer on UA-cam.
swooper did a barrel roll
Man, I recommend you to put an advice in the beginning of the video about sudden light changes
I think this is the only uncommentated video I can understand.
so this is where you've been uploading...
Uncommentedpannen correction:you don't need to pause buffer to avoid that dust frame because a frame perfect input between a dive and a DR will get the job done
0:50 Whu... what? There's some A presses in a pannenkoek video?!
So, an "A press" in the ABC means "a frame with A input, whose preceding frame was not a nonpause frame with A input?"
Because if it just meant "start of A input on the controller", you could just hold A and jump by pausing, beating the game in a single A press.
If you hold A, pause and unpause, you don't get jump
I think that you should make a whole video on speed and how to control it at high values, as well as a short coverage on BLJing.
Ew furry
how the FUCK do u press start so fast?!
TAS
Oh. Ok :3
A
He built up his button pressing speed for twelve hours.
You would be calling correctly, because that's basically what a TAS is, he's playing the game either slowly or frame by frame to press buttons precisely.
It also seems like some code isn't running while pausing. For example, you can hack your coins to 1000+ while the game is paused.
You won't be able to see it though, since the code which syncs the actual amount of coins and the interfaces coin counter doesn't run either.
The coins will vanish of course once you unpause.
Also, put a epilepsy warning in this video xD
Quick question: When using pause to speed up diving and crap, what frame should people pause on?
Fun fact: if you pause and unpause very quickly right after initiating a long jump, Mario's "Wahoo!" will be high pitched! :D
that sound is the equivalent of a 1am microwave finish.
It just works.
I wanna see a run where the TAS has to have like 5 things line up with the frame numbers, so it just waits on the pause menu for like a minute
Nice slideshow.
w0w. i love these videos..
Dude this video is blowing my fuckin mind
It just works
Wonder if the way fire cannons work could be affected by this.
Does a snufit's hitbox change depending on its height, or is it just a graphical effect? How about the swooper in relation to its roll?
Snufit is real displacement, swooper is just graphical
I was watching bathaniel nandy play sm64 chaos edition and he just goes along with it and sometimes this happens and I'm like if I'm gonna understand this... PANNEN! TEACH ME WEIRD PAUSING TAS THING!
I feel like I'm taking a college level course in mario 64 right now.
Hearing the file select music for longer than 10 seconds is kinda weird lmao, great vid tho