Manipulating a 1 in 46,000 Chance - When Luck Just Isn't Enough

  Рет қаралды 248,342

Malleo

Malleo

Күн бұрын

In this video, I cover the process behind reverse-engineering the Random Number Generator algorithm and guaranteeing a 1 in 50,000 event to occur by only wasting 0.2 SECONDS.
Please check out jdaster and trivial171:
trivial171: / @trivial1716
jdaster: / jdaster64
jdaster's gamefaqs post: gamefaqs.gamespot.com/gamecub...
jdaster's website: supermariofiles.wordpress.com...
Check out SGDQ2019! Watch at / gamesdonequick and view the schedule at gamesdonequick.com/schedule
Music Used:
Super Mario Galaxy - Honeyhive Galaxy
New Super Mario Bros Wii - Final Bowser Phase 2
Paper Mario: TTYD - Rogueport Sewers
Paper Mario: TTYD - Pirate's Grotto
Paper Mario: TTYD - Riddle Tower
Donkey Kong Country 2 - Crocodile Isle
Super Metroid - Brinstar Red Soil Area
LoZ Majora's Mask - Final Hours
Super Mario Galaxy - Bowser's Galaxy Generator
Paper Mario: TTYD - Farewell Rogueport
_____
Watch me live at / tasmalleo weekdays at 8pm EDT
Follow me on twitter: / tasmalleo

Пікірлер: 497
@Malleo
@Malleo 5 жыл бұрын
Hey everyone! I wanted to get this video out quickly so I could also make people aware of Summer Games Done Quick. As a result I missed an error in the video. At 22:57, RNG(3) should be a^2*b + ab + b, not a^2 + ab + b, and RNG(4) should be a^3b + a^2b + ab + b. Apologies for the error!
@HunnyDoo
@HunnyDoo 5 жыл бұрын
I KNEW something looked off about that equation *nods intelligently*
@hereil
@hereil 5 жыл бұрын
it's not like i understood anything anyway so we cool
@TetanusBooster
@TetanusBooster 5 жыл бұрын
Really, you could have got away without this message dude 😉
@InfoManiac742
@InfoManiac742 5 жыл бұрын
THAT EXPLAINS IT
@angeldude101
@angeldude101 5 жыл бұрын
That makes it _so_ much simpler, because now it's just b * Sum(a^x, x = 0 -> i) You don't even need to bother with coefficients anymore because you can just add b at the very end.
@imaginaryboy2000
@imaginaryboy2000 5 жыл бұрын
Imagine seeing a 30 second clip and being like "huh, that's some good RNG" But secretly it was a culmination of three people using their mathematics PhDs to calculate exactly how they needed to do things
@phungduyphong3457
@phungduyphong3457 5 жыл бұрын
I think the math all covered in bachelor degree major in engineering is enough for this
@147CT
@147CT 5 жыл бұрын
@@phungduyphong3457 The math isn't really that impressive-it's standard in a freshman-level course in discrete mathematics-what's impressive is seeing a problem and knowing how to apply that math, outside a math class, to solve the problem. It's pretty common for people to be in awe of math anywhere beyond the high-school level, especially if it's not part of the calculus sequence, but people should know that these problem solving skills transcend math classes. These are the skills that students outside of STEM take math courses to develop, and they are far too often neglected.
@SilverLining1
@SilverLining1 5 жыл бұрын
@@147CT beautiful comment
@MxPokirby
@MxPokirby 5 жыл бұрын
@@SilverLining1 And then someone somewhere just gets it by pure luck some day anyways?
@0ctopusComp1etely
@0ctopusComp1etely 5 жыл бұрын
@@MxPokirby Theoretically, yes. That's how probability works, after all. Even if the chance of the video's particular scenario is very low, that chance still exists.
@trainlong414
@trainlong414 5 жыл бұрын
When you make a Paper Mario video for your college thesis
@discountchocolate4577
@discountchocolate4577 5 жыл бұрын
This but unironically. This would make for an excellent undergrad thesis -and at least a decent master's thesis- . EDIT: See below response, I don't know what I'm talking about w.r.t. the latter.
@147CT
@147CT 5 жыл бұрын
This doesn't really have enough math for a mathematics thesis, but you could probably do a CS thesis on random number generation in video games. NOW. If you solve this whole process with machine learning, suddenly you've got a grant and a cadre of undergrad assistants.
@discountchocolate4577
@discountchocolate4577 5 жыл бұрын
@@147CT I only have a BS in math, so I should defer to someone with a stronger math/comp-sci background on this issue. I suspect it'd be a much stronger project in the computer science field than in pure math or even "applied math".
@Anonie324
@Anonie324 5 жыл бұрын
I... was not ready for number theory in a video game TAS.
@astracrits4633
@astracrits4633 5 жыл бұрын
Oh boy, you're gonna love parallel universes.
@oledakaajel
@oledakaajel 5 жыл бұрын
@@astracrits4633 those aren't this complex.
@berylliosis5250
@berylliosis5250 5 жыл бұрын
In terms of raw math, yeah. The constraints on some problems like keyless moat door at least seem more complicated
@astracrits4633
@astracrits4633 5 жыл бұрын
​@@oledakaajel 'Twas a jest, my dude. Yeah, this is more complex than PUs. (But IMO this isn't really *that* much more complex--they're both basically just really long versions of math you can learn in your precalc class. PU traveling can basically be understood as just being really big vectors plus some modulus operations, and this is essentially just probability (and the manipulation thereof.))
@imaginaryboy2000
@imaginaryboy2000 4 жыл бұрын
@@astracrits4633 PU's are just overflows. Collision is calculated as an integer while positio is calculated with a float. This means that you can go very far out, with your collision overflowing, meaning you can still interact with the map, but your position is outside of the map, so you don't interact with a lot of things. At least, that's how it works in SM64, the most popular PU's. In other games it's different (i.e. in PM64 both collision AND position are integers, so they both overflow, but graphics and animation don't render properly, causing some issues).
@Lugitaro
@Lugitaro 5 жыл бұрын
RNG is my favorite topic for TAS because of how you can use black magic to get things to be in your favor.
@JorgetePanete
@JorgetePanete 5 жыл бұрын
**throws an eye into the potion cauldron to advance the index 35 times**
@danieldunkum8394
@danieldunkum8394 5 жыл бұрын
@@JorgetePanete *sacrifices pet dog to the gaming gods to increase probability*
@dddmemaybe
@dddmemaybe 5 жыл бұрын
three steps to the left. a precise 47.25% angled hammer slam. now, hold it! jump 5 times quickly but not too quickly or you'll scare it. Now.. yess that's it... PRESS THE B BUTTON 2.5 PRESSES AND HOLD! OK, we now have 2 really good items :D.
@dddmemaybe
@dddmemaybe 5 жыл бұрын
ps this is how gorillas often will learn how to get fruit out of a tree or ect. if we were that much smarter maybe we could do this with only 2 inputs lol. but maybe that would take "4d" senses or some stupid shit lol.
@filiecs3
@filiecs3 4 жыл бұрын
Math and Science is the best form of black magic.
@mlfan5986
@mlfan5986 5 жыл бұрын
“We’re gonna manipulate this ring to get a 1/46,000 chance” Me: Okay, seems reasonable... “Wasting only 2/10ths of a second” O_O
@crownedginger4082
@crownedginger4082 5 жыл бұрын
Use luck its faster
@ethic1637
@ethic1637 4 жыл бұрын
JamesPlays Games lol
@ZaxorVonSkyler
@ZaxorVonSkyler 4 жыл бұрын
Isn't 2/10th the same as 1/5th?
@connorutz7197
@connorutz7197 4 жыл бұрын
Zaxor Von Skyler No, they’re different numbers 😤 duh
@ZaxorVonSkyler
@ZaxorVonSkyler 4 жыл бұрын
@@connorutz7197 Chill bro I'm not the best at math but I do remember how 2/4 cup is the same amount as 1/2 cup.
@ZaxorVonSkyler
@ZaxorVonSkyler 5 жыл бұрын
"No chance, no matter how small, is really impossible!"
@Lunascaped
@Lunascaped 4 жыл бұрын
Zaxor Von Skyler what about the chance today of me not being alone
@Lance0
@Lance0 4 жыл бұрын
How about 0? I know this is a joke don't woooosh me
@gamemeister27
@gamemeister27 4 жыл бұрын
@@Lance0 Technically you can construct a scenario where the odds of something happening is 0%, but it could happen. If you had a dartboard with an infinite number of points on it, the odds of hitting any given point is 0%, but each time you throw a dart, that 0% chance happens for one of the infinitely many points.
@Lance0
@Lance0 4 жыл бұрын
@@gamemeister27 well technically yes but like in a computer case there are only so many bits so I'm taking about cases where there are a finite states as 2^n is finite for all n finite
@Snipeandslice
@Snipeandslice 5 жыл бұрын
"I went forward in time to view alternate futures. To see all the possible outcomes of the coming mega rush drops." "How many did you see?" "46,000" "How many was possible?" "....One."
@LilacMonarch
@LilacMonarch 5 жыл бұрын
As it turns out the text boxes of that conversation advance the index the perfect amount to get the drops in optimal time
@Beateau
@Beateau 4 жыл бұрын
Underrated comment right here.
@Kitsune_Chara_CG
@Kitsune_Chara_CG 3 жыл бұрын
One Damn Time
@TJ-Henry-Yoshi
@TJ-Henry-Yoshi 5 жыл бұрын
Don't you love when wanting to complete a game as quickly as possible results in RNG manipulation that requires advanced calculus and coding skills?
@sashavaleria4287
@sashavaleria4287 5 жыл бұрын
Hey atleast it doesn't require a degree in quantum physics this time :P
@FrightNFight
@FrightNFight 5 жыл бұрын
the legend has arrived
@GalacticLightN
@GalacticLightN 5 жыл бұрын
Tj "Henry" Yoshj
@countbxrfromlxtwilight3689
@countbxrfromlxtwilight3689 5 жыл бұрын
📝👀
@PinClockFuntime
@PinClockFuntime 5 жыл бұрын
But first, we need to talk about RNG Calls
@mitchmanexe243
@mitchmanexe243 5 жыл бұрын
I learned more about probability in these 40 minutes than I did throughout my whole stats class.
@cyn7261
@cyn7261 5 жыл бұрын
Still not much though, I assume.
@SqueezeBakon
@SqueezeBakon 5 жыл бұрын
Probably because you were taking stats and not probability
@BeyondFables
@BeyondFables 5 жыл бұрын
SqueezeBakon Stats deals a lot with probability, so...
@harnarius
@harnarius 5 жыл бұрын
This is like catnip for computer engineering majors.
@Metaknightkirby2
@Metaknightkirby2 5 жыл бұрын
When stryder7x only uploads once every blue moon so you gotta get your paper mario fix somewhere else.
@emmec.4433
@emmec.4433 5 жыл бұрын
anyone got any recommendations? 🅱️lease, i’m starved for content
@Crafterofgenius
@Crafterofgenius 5 жыл бұрын
@@emmec.4433 Fatguy703 has entertaining videos in my opinion
@blackheartzerotheundergrou3225
@blackheartzerotheundergrou3225 3 жыл бұрын
_Paper Mario isn't gonna crash itself...!_
@p-rappatherappa6557
@p-rappatherappa6557 2 жыл бұрын
@@blackheartzerotheundergrou3225 Well...
@j.hawkins8779
@j.hawkins8779 6 ай бұрын
where is he, anyway?
@kepler6873
@kepler6873 5 жыл бұрын
I love how the music changes over the video as you guys got closer to the solution. Starting with creepy, archaic, and kinda hopeless (and puzzle-y from where in the game the music was from) to triumphant and victorious. 10/10 math and 10/10 music choice
@camwoodstock
@camwoodstock 5 жыл бұрын
I think I know why text calls RNG! It causes the slight changes of pitch in the text sound effects, hence why all the text scrolling sound marginally different and not the same sound directly repeated. Presumably it'll do this even if the sound is printed automatically, and more importantly, even if the scroll sound is set to be silent like it is in menus. That's why the pause ment shakes up RNG so much. It's pinging to play silent sounds of dozens of characters printing.
@romajimamulo
@romajimamulo 5 жыл бұрын
I was thinking, it could also have to do with shaky text. They need to call it to see what random offset the characters should be at, even if the text doesn't actually shake
@tomjackal5708
@tomjackal5708 5 жыл бұрын
doesn't it increment two times for each character? it might be calling once each to do both of those
@romajimamulo
@romajimamulo 5 жыл бұрын
@@tomjackal5708 Oh, interesting. I was thinking it was the two directions, but yeah
@tomjackal5708
@tomjackal5708 5 жыл бұрын
Also a possibility. Really there's a lot going on with the text in ttyd so it'd be hard to know for sure
@AzureLazuline
@AzureLazuline 5 жыл бұрын
​@@romajimamulo I'm almost certain it's because of the shaky text too, since it shakes in a square (not a circle) so the 2 calls are X and Y. The text is calling that RNG even if the shake distance is zero (default), since there's no real reason NOT to, it doesn't cause slowdown or anything. If it was for the sound effects, then that would only call RNG when the character first appears, not every frame.
@moth.monster
@moth.monster 5 жыл бұрын
"If you pause for just the right amount of time and jump three times"
@lokman842
@lokman842 5 жыл бұрын
those popoffs when you find time saves are heartwarming
@johannhowitzer
@johannhowitzer 5 жыл бұрын
Those moments are why speedrunners do what we do. It's amazing how much satisfaction you can get over even a small discovery. I remember when I found a way to control subpixels in Freedom Planet and use that to force a zip into the wall, the moment the zip worked, I was walking on air. Didn't even matter that it didn't save time since the manipulation took so long to perform. I discovered something.
@maiorano84
@maiorano84 5 жыл бұрын
At what point will there be college courses in Paper Mario?
@WannabeMarysue
@WannabeMarysue 5 жыл бұрын
When I first became a fan of TAS videos, it was the insane shit like this which got me hooked. I remember spending hours reading TAS submission notes, as TAS runs got more complicated over the years, and it was half the fun of a TAS for a fan like me. It's wild to see these explainations Pivot To Video, but I'm so glad they have. With the popularity of Very Specific Videos nowadays, I hope more people get sucked into these explainations. TTYD TAS hype.
@SuperM789
@SuperM789 3 жыл бұрын
eww go away commie
@emmbeesea
@emmbeesea 5 жыл бұрын
It turns out RNJesus is a reverse engineer. Amazing stuff Malleo! Looking forward to hearing you at SGDQ!
@Kitsune_Chara_CG
@Kitsune_Chara_CG 3 жыл бұрын
My Mom: Games Arent Technical * Me: *Shows her rhis vid*
@GreyRush
@GreyRush 5 жыл бұрын
I I think i'd like to go back my the diagnostics of an A press this seems too advanced for me
@Bad-Sir
@Bad-Sir 5 жыл бұрын
Brb, gonna go manipulate RNG to win the lottery
@vermont005050
@vermont005050 5 жыл бұрын
how's it going?
@orngjce223
@orngjce223 5 жыл бұрын
But Happy Lucky Lottery is a scam
@Kitsune_Chara_CG
@Kitsune_Chara_CG 3 жыл бұрын
Well by wastinf 1 Second i mainupalted the Rng algorithm and got 6 infinity stones
@Eragon812I
@Eragon812I 5 жыл бұрын
I'm getting "watch for rolling rocks in 0.5 A presses" flashbacks
@otesunki
@otesunki 5 жыл бұрын
*0.5
@TheArnoldification
@TheArnoldification 5 жыл бұрын
To this day I still don't understand scuttlebug transportation
@MrGOOMBAGUY
@MrGOOMBAGUY 5 жыл бұрын
Me: Expects a 10 minute video. Me: Sees that the video is 39 minutes. Me: A surprise to be sure, but a welcome one.
@BobberWCC
@BobberWCC 5 жыл бұрын
Wasn't expecting geometric series in a Paper Mario video
@jebronlames987
@jebronlames987 4 жыл бұрын
That ain’t what geometry is, chief.
@TCO118
@TCO118 5 жыл бұрын
Watching this video puts into perspective how much effort is put into a TAS, it's mind blowing. Great video and I hope you keep it up!
@sophiefilo16
@sophiefilo16 5 жыл бұрын
Yeah, it really blows a hole in the stereotype that people who play video games all the time aren't smart...
@sophiefilo16
@sophiefilo16 5 жыл бұрын
If only my Finite Mathematics class were about Paper Mario instead. Maybe then, I'd actually understand it...
@trumpeterjen
@trumpeterjen 5 жыл бұрын
"Is it easy to get into speedrunning?" "Well...depends. What did you major in?" "Math." "It's a start, I guess...read up on coding first."
@jwhite5008
@jwhite5008 5 жыл бұрын
Coding and math are two different things, and both are required for this. Software devs know a bit of math and most mathematicians nowadays probably know basic coding, but it often takes a collab to do things like this. And don't forget in-depth game knowledge which is also a valuable asset here.
@trumpeterjen
@trumpeterjen 5 жыл бұрын
@@jwhite5008 The joke __________________________ Your head
@dddmemaybe
@dddmemaybe 5 жыл бұрын
@@jwhite5008 bro he is making a scenario as a joke, also math and coding are extremely synergistic with each other for constructing and interpreting possibilities. It's like putting 5 ranks in bluff to get better at diplomacy in dnd.
@jwhite5008
@jwhite5008 5 жыл бұрын
@TrumpeterJen That looked much less of a joke than you being uneducated. I didn't want to say it that way and tried to explain instead. Sorry about that @dddmemaybe well, kind of like that but it depends (I'm a software dev)
@trumpeterjen
@trumpeterjen 5 жыл бұрын
@@jwhite5008 No worries. It's hard to tell on the internet.
@No-Me3
@No-Me3 5 жыл бұрын
Is it bad that I don't want to watch the progress streams because I enjoy being surprised by all the cool tricks when it's complete?
@notsogreatsword1607
@notsogreatsword1607 5 жыл бұрын
The progress streams have surprises of their own but i see what you mean
@JoNarDLoLz
@JoNarDLoLz 5 жыл бұрын
Being more involve and knowing what they're trying to do gives the progress streams more magic to it, especially when the streamer is interactive with chat and is takes idea from it. People brainstorming to achieve a certain goal is really a nice thing to watch (just like twitchplayspokemon lol)
@Anafyral666
@Anafyral666 5 жыл бұрын
Watch VODs if they exist
@orngjce223
@orngjce223 5 жыл бұрын
I know a married couple. One is a huge fan of TTYD, and knows some rudiments of practical coding. The other is a huge fan of the number theory/conceptual/algorithmic sort of coding. So I sent them this, and they had a great time watching it together.
@PointsofData
@PointsofData 4 жыл бұрын
Can we give a quick round of applause for Nintendo's programmers? Imagine the work needed to make sure your game doesnt shit itself if someone figures out how to sequence break this hard. And all those percentages for one item. Jesus Christ. You did good too Mr. Mathematics, deconstructing and testing it. It just makes me realize how awful Nintendo games could be in lesser, more apathetic hands.
@luginess0
@luginess0 Жыл бұрын
Thanks Intelligent systems
@maskofthedragon
@maskofthedragon 5 жыл бұрын
First 2 Paper Mario games are the most BIG BRAIN games in existence
@SportsGaming-ll3ru
@SportsGaming-ll3ru 5 жыл бұрын
Can’t wait to hear from you at sgdq
@IAmGpro
@IAmGpro 5 жыл бұрын
People don't appreciate the nitty and gritty that gets put into the makings of TASes and speedrunning in general NEARLY as much as they should. This was an absolute miracle and I can't hide my admiration for the effort put into this. You guys are fucking legends
@silverboxxer
@silverboxxer 5 жыл бұрын
Thank you Malleo for this video. I really love this probability stuff, and all the other math is cool to see being used in the TAS. Great stuff! btw at 23:57 you say "All over 1 over a" but you meant "All over 1 minus a".
@millicentflusher
@millicentflusher 5 жыл бұрын
i think this is a subtle reminder for me to keep learning math cuz i only got this by a small margin lol
@wompastompa3692
@wompastompa3692 5 жыл бұрын
23:32 I use exactly that to tell me how many cookies I'll need to buy n buildings in Cookie Clicker.
@sheauwn6974
@sheauwn6974 5 жыл бұрын
Is it considered cheating if I throw my Gamecube against the wall, causing a RNG bit to flip in my favor?
@renakunisaki
@renakunisaki 5 жыл бұрын
That's hardware manipulation, though if you can control it that precisely, I'd be very impressed!
@geotalemobile2157
@geotalemobile2157 5 жыл бұрын
Yes. This is completely speedrun allowed. Just make sure that you reset the game when starting the run XD
@Abdega
@Abdega 5 жыл бұрын
Completely valid and expected behavior
@PointsofData
@PointsofData 4 жыл бұрын
I mean, I wouldn't call it a viable strat, but if it works more power to you.
@romajimamulo
@romajimamulo 4 жыл бұрын
That seems like it ... Wouldn't work
@worldsboss
@worldsboss 5 жыл бұрын
This is nothing short of amazing. The TAS community is lucky to have you, and I cannot wait to see your MKWii commentary at SGDQ 😁
@TheOobo
@TheOobo 5 жыл бұрын
You and stryder make some of the best glitch explanations on the internet, keep it up!
@LiEnby
@LiEnby 4 жыл бұрын
next video: "How i used RNG Manipulation on the lottery to win every time"
@BBSplat
@BBSplat 5 жыл бұрын
jdaster is a cool dude. Go play the TTYD Shufflizer mod he made, it's a total blast
@EmmyEntropy2000
@EmmyEntropy2000 5 жыл бұрын
I love Jdaster. Do you watch koop or fatguy as well?
@chesphendshil8270
@chesphendshil8270 5 жыл бұрын
the `NO U` badge as ur pfp lol
@TmsFin
@TmsFin 4 жыл бұрын
I'm supposed to be sleeping and getting up in 4 hours to go to work, instead I watched this whole thing. Understood nothing but the amount of dedication you fellows have is out of this world.
@Lunascaped
@Lunascaped 4 жыл бұрын
2:38 "I must go, my people need me"
@Shadowgenisis
@Shadowgenisis 5 жыл бұрын
I wholly appreciate how much effort went into not only this video, but the RNG reverse-engineering overall for the sake of simply going fast. Massive props to everyone involved, and an additional thank you to you for making this video and bringing to light the complexity of TAS work :)
@s.e.e.smembermakoto805
@s.e.e.smembermakoto805 4 жыл бұрын
Me, before watching this video: I wish my RNG would improve, this boss is tough. Me after: *This is big brain time*
@lemon3389
@lemon3389 5 жыл бұрын
TASers, speedrunners and the entire community behind it are the most loyal fans there is for a game. Change my mind
@zememerr2329
@zememerr2329 5 жыл бұрын
tank mykonian there’s always the Lore masters
@LilacMonarch
@LilacMonarch 5 жыл бұрын
They are the most familiar with the design of the game, to be sure. But other aspects such as the story and lore not so much
@RichConnerGMN
@RichConnerGMN 5 жыл бұрын
@@LilacMonarch i """speedrun""" undertale and i watched game theory one time, so i win
@connorolding9870
@connorolding9870 5 жыл бұрын
nice! I definitely learned a thing or two, and the work that goes into TASes is just as cool as the runs themselves. okay, trivia time: Ocarina of Time and Majora's Mask both use an LCG (the a*x+b equation) as an RNG as well, so after adjusting the constants (a=1664525, b=1013904223), those scripts should also be applicable to these games, and surely others (Animal Crossing?). however, every time a new scene is loaded (Link goes through an entrance), these games directly set the RNG seed to the cycle counter of the main processor, so this form of RNG manipulation is limited to within scenes.
@F_L_U_X
@F_L_U_X 5 жыл бұрын
I apprecite you and your buddies' work and thank you for the entertainment!
@KratosAurionPlays
@KratosAurionPlays 5 жыл бұрын
The things people do to shave off a few seconds/minutes in a speed run. It's really neat you can manipulate something like this honestly XD
@mintyfresh1322
@mintyfresh1322 5 жыл бұрын
Can’t wait for this tas. Really is incredible how much work you guys put into it, I’m glad that I can see the result and some of the process.
@retenh3932
@retenh3932 4 жыл бұрын
Jesus Christ, this video is awesome. Love this channel, your style of making content is amazing, and you’ve done many great things for this community. Keep up the good work!
@SnowflakeVee
@SnowflakeVee 5 жыл бұрын
I've never even played this game and have no idea why this was even recommended to me but damn this is actually insane props to you three for getting this figured :)
@aliaspseudonym525
@aliaspseudonym525 5 жыл бұрын
I didn't understand half the maths in this, but I think I understood enough. I love long, in-depth videos like this! Thanks so much for uploading! Also, now that you can track & manage RNG, will there be more consequences to TTYD beyond 2 Mega Rushes?
@tomjackal5708
@tomjackal5708 5 жыл бұрын
I'm in love with all this crazy number theory, rng investigation, and coding to save five seconds in a ttyd tas (yes i know the route as a whole is like half a minute faster but this is still really amazing and i love it)
@Yamayamauchiman
@Yamayamauchiman 5 жыл бұрын
The probability of me understanding this is about 0.
@icelingbolt
@icelingbolt 4 жыл бұрын
0 out of what 0%? 0 out of >0? Probability of a number is meaningless without something to compare it to, even if its 0
@animowany111
@animowany111 4 жыл бұрын
@Iceling bolt - You're actually wrong here, probability is defined as a value in the range between 0 and 1, and even then, regardless of what potential unit we would use 'about 0' is the same anyway.
@pokejacob123
@pokejacob123 5 жыл бұрын
I didn't understand most of this, but it was still really interesting! Keep up these cool videos bro!
@hobbyboundcat6713
@hobbyboundcat6713 5 жыл бұрын
so not RTA viable i assume?
@julymorris6367
@julymorris6367 5 жыл бұрын
I mean, TECHNICALLY it's possible if you have frame perfect inputs in a god run but idk
@discountchocolate4577
@discountchocolate4577 5 жыл бұрын
If it's early enough in the run, a RTA-viable setup might be discovered eventually. It's been done in other RPG speedgames like Pokemon, Earthbound, and Dragon Quest.
@imaginaryboy2000
@imaginaryboy2000 4 жыл бұрын
@@discountchocolate4577 All games with simple and predictable RNG. RNG that usually doesn't change that much per frame if at all. The problem with using RNG manipulation for 3D games is that 3D games use RNG way more, making it impossible to manipulate properly without identical frame-perfect, pixel-perfect and angle-perfect movement for an extended period of time.
@discountchocolate4577
@discountchocolate4577 4 жыл бұрын
@@imaginaryboy2000 Thanks for bringing this to my attention. The recent history of speed tech has made me a bit too optimistic about what's possible.
@thealientree3821
@thealientree3821 5 жыл бұрын
Manipulating luck crashes Paper Mario: The Thousand Year Door.
@TOSkwar22
@TOSkwar22 5 жыл бұрын
Holy crap man. This is a fantastic video, I gotta say, if for no other reason than it shows how much effort can go into the most easily missed moments in a TAS. I love the concept of a TAS- pushing the game in ways that, no matter how lucky or skilled you are, no human runner could realistically be expected to pull off. But beyond that, as I see more and more often, it's also a championing of human effort. First, there's you, the guy who puts together the TAS. Then, there's the dozens of people who discovered every glitch you use to skip chapters and such. There's the guys who made the programs letting you manipulate the game with such fine controls. There's the guys who made the scripting engines that let you make quick codes to do brute-force testing. There's the guys who you chatted with in the making of this video to put together this thing here, that thing there, the value of this, the value of that, and eventually put it ALL together into one monumental run where everything falls away and there's just this perfect, impossible run. Days, weeks, or months of work can go into three seconds of gameplay. It's beyond astounding, and I love every bit of it.
@InvalidOS
@InvalidOS 5 жыл бұрын
This is incredible. Can’t wait to see the complete TAS.
@masonwells990
@masonwells990 5 жыл бұрын
I was there for most of the farm! That was such a hype moment and one I saw live which is rare, thanks for the huge opportunity
@Zm4rf
@Zm4rf 5 жыл бұрын
Holy crap you weren't kidding when you said this video was taking a lot of time 40 minutes!!! Also explains why I didn't understand wtf was going on in the moment
@Zm4rf
@Zm4rf 5 жыл бұрын
wtf 2:50 you can jump into the background?!
@Monody512
@Monody512 5 жыл бұрын
I wonder if displaying text calls RNG every frame because of jiggle… Some text in Paper Mario jiggles around randomly, so normal non-jiggling text might just have a jiggle scale of 0.
@romajimamulo
@romajimamulo 4 жыл бұрын
That's something I mentioned in the reply to the comment on it possibly being text sound that plays randomly pitched audio
@versutus2699
@versutus2699 5 жыл бұрын
Your video reminded me that math is actually something I can look forward to learning about. Amazing stuff as always Malleo
@LegendBegins
@LegendBegins 5 жыл бұрын
Top notch. These kinds of finds are incredible.
@ocarinaot452
@ocarinaot452 5 жыл бұрын
I now have mad respect for game programmers and tas runners for being gods of the computer
@Beateau
@Beateau 4 жыл бұрын
It's amazing how excited you get over shaving seconds off a tasrun, and I absolutely love it.
@shnoop6
@shnoop6 5 жыл бұрын
bruh my brain is not big enough for this you guys are sick though thanks for the entertainment
@TimepieceMaster
@TimepieceMaster Жыл бұрын
Something to note about text calling RNG. Everyone seems to be operating under the assumption that it must be because text the text rendering function requires some random element, but another thing it could also be is simply to keep things even more random. With a linear congruential generator, one of the things you have to be careful about is that when using one, the gambler's fallacy is true since all possible RNG values you can get are on a cycle that starts at the initial RNG seed. Suppose you want a particular RNG value that is on the cycle. If the LCG is good enough, it's not easy for a casual observer (e.g. a casual player) to know where in the cycle that RNG value will be. However, what is true is that as you progress along the cycle not getting the RNG value you want, you know that your chance of getting the desired RNG value sometime soon increases, since you cannot get the same RNG value twice until you've looped around in the cycle. You're getting new RNG values each time and so by process of elimination eventually the desired RNG value will be the only one that can be picked as the next RNG value. However, this flaw is really only useful if RNG advances in a reliable and predictable way to the casual observer. To avoid this flaw, you want the calling of the RNG function to be highly erratic. That is, you want when it is called and how often it is called to be very hard to manipulate. And what happens to be true about text in this game? How many text characters are on screen in any given frame can vary quite a bit, and how many frames you keep text on screen is something that's virtually impossible for a human player to control reliably. This will also help to prevent human-possible RNG manipulation in general, not just the gambler's fallacy issue. While it is possible that some aspects of text rendering, such as certain text effects, really do require randomness, it would not surprise me at all if making RNG hard to manipulate was also a motivating factor, especially in instances where there is obviously no random element to the text, such as when it is displayed in menus.
@jessicak2451
@jessicak2451 5 жыл бұрын
My name is Jeff crashes Paper Mario: The Thousand Year Door
@MarshMarlowXD
@MarshMarlowXD 5 жыл бұрын
Didn't think this was going to be how I was spending my night, but holy am I glad I sat down and watched this.
@smushycows2334
@smushycows2334 5 жыл бұрын
You guys are amazing. Not only with the math but also with the coding. Very nice work
@TheRadFire
@TheRadFire 5 жыл бұрын
Really liked the selection of music you used
@golderzoa
@golderzoa 5 жыл бұрын
this whole class sounded like RAW anime w/o subs i'm so confused i can't understand anything that all those numbers and letters said but whatever it means i'm glad it worked out.
@LucianDevine
@LucianDevine 3 жыл бұрын
When you understand how the RNG works in a game, and have a reliable means to manipulate it, the sky is the limits, especially for a TAS run where human error is not a factor.
@virtualchimera
@virtualchimera 5 жыл бұрын
Awesome teamwork to make this happen!
@matthewbolan8154
@matthewbolan8154 5 жыл бұрын
Heh, the minecraft community has been doing stuff similar to this for a while now. (Our RNG is a 48 bit linear congruential generator). I don't have time to watch your entire video atm, so sorry if I am telling you what you already know, but was curious if you guys noticed the applications lattice reduction algorithms have to the reversal process. (in brief, about 10 months ago I noticed, after moving a point to the origin, the vectors ,,,..., form a basis for a lattice containing all n-tuples of possible consecutive seeds. After applying your favorite lattice reduction algorithm, simply iterating over integer linear combinations of these vectors near the region where your seed tuple must lie is often sufficient.) In minecraft, we have used this to find rare seeds (1/trillion in some cases), and more recently obtain a bedrock item by manipulating a certain 1/3000 chance in a process virtually identical to what you do here. Of course, since your LCG is only 32 bits, this might be overkill.
@rocketrelm1125
@rocketrelm1125 5 жыл бұрын
I don't know any of the people involved, but from the sounds of what you say it might have *been* one of the Minecraft people with those kinds of calculations that he talked to this about and got the formula from to apply to TTYD.
@coldcoffeegaming2798
@coldcoffeegaming2798 4 жыл бұрын
Jesse what the fuck are you saying?
@deviousdiesel8231
@deviousdiesel8231 3 жыл бұрын
Bro did you just minecraft-highroad a TTYD TASer?
@matthewbolan8154
@matthewbolan8154 3 жыл бұрын
@@deviousdiesel8231 I mean the math is math regardless of the game it's being done for.
@arcanus7324
@arcanus7324 5 жыл бұрын
This is amazingly cool that the rng was reverse engineered like this and I remember watching the stream back when you were brute forcing rng for fence skip and wondering whether something like this would be at all possible for this game or if the rng system was just too complex. That leads me to wonder, is it possible to use this reverse engineering method of finding the right rng at other points in the run where brute force and test methods were used in order to possibly waste less frames getting the desired rng or to get slightly more optimal rng than was achieved? Not that you will go back and do that in this TAS but maybe in the next TTYD TAS if/when that ever occurs.
@WhiteBasilisk22
@WhiteBasilisk22 4 жыл бұрын
13:23 "Oh my God the video is not even half way over yet! Guess I'll order some takeout."
@Veginite
@Veginite 5 жыл бұрын
Unbelievable work, nothing else can be said. Hats off to you all.
@tlozfreak888
@tlozfreak888 5 жыл бұрын
And i thought i'd never see derivations again after school... Really makes me wonder if i ever asked my teacher "am i ever gonna use this in real life?"
@Hectorlph
@Hectorlph 5 жыл бұрын
What an awesome story and collaborative effort! Can't wait until there is a non-tas strategy for manipulating RNG next, ha ha.
@saiucrozier
@saiucrozier 5 жыл бұрын
This is awesome! I'm so hype for this tas
@ItsZorroDood
@ItsZorroDood 5 жыл бұрын
"I didn't feel happy." -> freaks out on cam
@StepBaum
@StepBaum 3 жыл бұрын
To be honest,because of my lack in knowledge of calculus i didnt understand the whole thing but like 95% of it which is pretty good. this seems crazy hard to me. Awesome job!
@Jorge-bt9ez
@Jorge-bt9ez 5 жыл бұрын
Can't wait to see this in the next WR
@hyper-thermal
@hyper-thermal 5 жыл бұрын
Godly video. Really makes me want to get around to making a TAS of a specific, obscure game. There’s Dreamcast emulators for that, right? Also, Infinity War jokes about the odds and Endgame jokes about JDAster holding up his finger
@Wolfphototech
@Wolfphototech 5 жыл бұрын
This is simply amazing . Tas speed runners are truly masters of the art of making playing a video game even a greater waste of time ( by oddly playing slower then faster ) .
@GrantDavis
@GrantDavis 5 жыл бұрын
Not gonna lie, getting some PTSD from Discrete Math class.
@Crowald
@Crowald 4 жыл бұрын
This makes me appreciate shit that happens by sheer unmanipulated chance much more, and stuff that occurs via manipulated chance WAY more.
@nrpgamer8784
@nrpgamer8784 5 жыл бұрын
Holy shit that's awesome o: Nice to see how so much goes into all of this ^^
@frostbreath1480
@frostbreath1480 5 жыл бұрын
Man, I thought learning about parallel universes was tough, but trying to understand this video really hurts my head.
@brownie3454
@brownie3454 5 жыл бұрын
it's all just probability dude
@jackgreen7342
@jackgreen7342 5 жыл бұрын
Hey malleo i really liked ur stream, and im really glad u answered some of my questions! :) can't wait for the new TAS TTYD! -tootiefruty
@worthplayingfor2197
@worthplayingfor2197 5 жыл бұрын
about to watch the video - i hope u mention HOW LONG we spent trying to get it before reverse engineering RNG.
@cachotognax3600
@cachotognax3600 5 жыл бұрын
This is why I love TAS'es, you can see it and it's pretty much spectacular yeah, but the story behind them can be insane
@buddyjjohnson9001
@buddyjjohnson9001 5 жыл бұрын
Weird way the world works, Fatguy and jdaster together, and malleo and jdaster together. Small world
@wizard1370
@wizard1370 4 жыл бұрын
Seriously incredible
@DoesMahBlockLookBig
@DoesMahBlockLookBig 4 жыл бұрын
Once I take number theory, i’ll be sure to use this video as study material
@Ender_Onryo
@Ender_Onryo 6 ай бұрын
Ngl I would love for 'When Luck Just Isn't Enough' to be a full series, going over the trails and tribulations speedrunners and tassers have to overcome in various games to get RNGsus to submit to their will.
@randomnumbers710
@randomnumbers710 5 жыл бұрын
What a video :O Thank you!
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 5 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН
How We Used a Credits Warp to Beat TTYD in 25 Minutes
43:03
(Proof of Concept) ACE in Paper Mario
16:56
Fray
Рет қаралды 6 М.
The Unused Content of Super Mario Bros 3
44:23
gmdblue
Рет қаралды 75 М.
World Record History of Paper Mario: TTYD any%
39:10
Malleo
Рет қаралды 761 М.
Enter the Secret Aquarium - 0x A Presses (Commentated)
26:13
bad_boot
Рет қаралды 319 М.
The History of Teleporter Room Early
26:35
Malleo
Рет қаралды 43 М.
The 95% Rule - Mario Kart Wii's Hidden Fail-Safe
16:24
Malleo
Рет қаралды 844 М.
Obscure Mechanics in Thousand Year Door
21:00
Bringle
Рет қаралды 237 М.
Level End Glitches in Super Mario World
24:06
Retro Game Mechanics Explained
Рет қаралды 734 М.
Я прожил 100 Дней ЗА ГЛАДИАТОРА в Майнкрафт…
37:07
TumkaGames / Тумка :3
Рет қаралды 735 М.
skibidi toilet multiverse Special Episode 03
4:03
DOM Studio
Рет қаралды 4,2 МЛН
ПАУ КЕК ҚАЙТАРМАҚШЫ
12:59
Armani -KazakhHL-
Рет қаралды 77 М.
skibidi toilet 75
3:52
DaFuq!?Boom!
Рет қаралды 18 МЛН