[TAS] NES Super Mario Bros. "arbitrary code execution" by OnehundredthCoin in

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • This is a tool-assisted speedrun. For more information, see tasvideos.org/...
    TAS originally published on 2024-06-22
    The current Super Mario Bros. speed record ( tasvideos.org/... ) executes precise movements for a highly technical title.
    This movie by OnehundredthCoin ( tasvideos.org/... ) achieves total control by setting up modified RAM within Super Mario Bros. 3 ( tasvideos.org/... ) in less than a second, switches carts around and proceeds to play a normal run of Super Mario Bros. at least on the surface. For a more technical explanation please read the submission comments ( tasvideos.org/... ) or watch the author's explanation on TH-cam ( • How Bad Apple was play... ). For more runs that involve arbitrary code execution, see our published list of movies which execute arbitrary code ( tasvideos.org/... ) as well as discussion in our forum ( tasvideos.org/... ).
    --------
    This video includes the song "Bad Apple!!" from Touhou Gensoukyou ~ Lotus Land Story (東方幻想郷 ~ Lotus Land Story). The song was originally composed by ZUN then arranged by Masayoshi Minoshima (Alstroemeria Records). It was sung by nomico with lyrics from Haruka.
    The music video shown was created by あにら (Anira).
    If you've enjoyed what you've watched, you can view the original music video on TH-cam ( • [Alstroemeria Records]... ) and purchase the 10th Anniversary Album from Alstroemeria Records vendors ( alst.net/arcd0... ).
    --------
    You can watch this movie played back on real hardware here ( • TAS - Super Mario Bros... ) or watch back a live hardware capture here ( • SMB Bad Apple live rec... ).
    #tas #tasvideos #toolassisted #toolassistedspeedrun #speedrun

ความคิดเห็น • 394

  • @cheesewizard3965
    @cheesewizard3965 3 หลายเดือนก่อน +1095

    Every visual interface eventually runs Bad Apple and every control interface eventually runs Doom

    • @finalman9930
      @finalman9930 3 หลายเดือนก่อน +155

      If it runs, it runs Doom.
      If it renders, it renders Bad Apple.
      If it produces audio, it produces Through The Fire And Flames.
      That's the golden media rule.

    • @dylanzlol7293
      @dylanzlol7293 3 หลายเดือนก่อน +40

      If it can render two colours, it can play bad apple.

    • @TrollingDemon
      @TrollingDemon 3 หลายเดือนก่อน +13

      ​@@finalman9930if it exist, it can be recreated in geometry dash

    • @EMLtheViewer
      @EMLtheViewer 3 หลายเดือนก่อน +13

      @@finalman9930I thought it was Megalovania for audio

    • @kritzmaker
      @kritzmaker 3 หลายเดือนก่อน +4

      ​@@EMLtheViewer a mix of both, perhaps?

  • @0rangepel378
    @0rangepel378 3 หลายเดือนก่อน +521

    Those speedrunners weren't lying, that arbitrary code can execute

  • @100thCoin
    @100thCoin 3 หลายเดือนก่อน +1384

    If you wish to run this category yourself RTA, all you need to do is memorize the 5.8 million inputs, and press the buttons at a rate around 25 kilohertz.

    • @ssg-eggunner
      @ssg-eggunner 3 หลายเดือนก่อน +72

      Unrelated, I absolutely need full documentation on how audio works on this
      I refuse to believe that a 1.79mhz 6502 without an advanced mapper is capable of running this kind of audio, heck not even mmc5 could do it

    • @samkostka126
      @samkostka126 3 หลายเดือนก่อน +144

      @@ssg-eggunner The NES is capable of playing 7-bit PCM samples but it's almost never used because you need to constantly feed it data, it takes up almost all of the CPU time

    • @DavidKingNT
      @DavidKingNT 3 หลายเดือนก่อน +17

      Sethbling: challenge accepted!

    • @Blankult
      @Blankult 3 หลายเดือนก่อน +44

      ​​​@@ssg-eggunnerThe guy that made the tas has a video explaining how he did it (didn't realise the comment was from "the guy" lmao)

    • @ssg-eggunner
      @ssg-eggunner 3 หลายเดือนก่อน +26

      @@samkostka126 and yeah that's the thing
      It eats up too many cpu cycles and yet it still manages to run alongside the smooth animation
      It's still unbeliavable since all this has is controller inputs and a 1.79mhz 6502 to run it

  • @smob0
    @smob0 3 หลายเดือนก่อน +628

    You might have missed it, but he's actually playing mario bros 3 for the first tiny bit of the tas.

    • @兔小翔
      @兔小翔 3 หลายเดือนก่อน +74

      It's for entering the world N

    • @mjdxp5688
      @mjdxp5688 3 หลายเดือนก่อน +93

      The original creator did a video about it explaining how SMB3 cart swap ACE works.

    • @MrCheeze
      @MrCheeze 3 หลายเดือนก่อน +35

      I'm just confused how he got a movie file that is able to swap between two different ROMs.

    • @ЕленаЗахматова-ц1з
      @ЕленаЗахматова-ц1з 3 หลายเดือนก่อน +32

      @@MrCheeze He made a modified build of Bizhawk to do that in the middle of making TAS

    • @wolfetteplays8894
      @wolfetteplays8894 หลายเดือนก่อน

      @@ЕленаЗахматова-ц1зmakes me wonder when they will add that to the stable version.

  • @JoSephGD
    @JoSephGD 3 หลายเดือนก่อน +314

    The speedrun clocking in at 4:52 is just the icing on the cake for an incredible ACE showcase.

    • @100thCoin
      @100thCoin 3 หลายเดือนก่อน +27

      Mario actually hits the axe at 4:53, though I guess the timing here ended at final input.

    • @DissociatedWomenIncorporated
      @DissociatedWomenIncorporated 3 หลายเดือนก่อน +4

      Kosmic’s gonna be so maaaaaaad!

  • @ChoboUnjeon
    @ChoboUnjeon 3 หลายเดือนก่อน +633

    The idea that it's possible to turn one game into something wholly different just by hitting specific button combinations at an inhuman rate baffles me

    • @iSys31
      @iSys31 3 หลายเดือนก่อน +45

      You might enjoy the pokemon yellow pijack version then

  • @tarekcat1
    @tarekcat1 3 หลายเดือนก่อน +97

    -start
    -collect a mushroom then a fire flower
    -hop all your way through everything, enemies and obstacles
    -reach to the castle
    -run towards Bowser and take damage
    -everything turns dark for a second
    -badapple.mp4
    -everything returns to normal
    -cut the bridge and defeat bowser
    -walk slowly towards the pricess
    -refuse to elaburate any further

    • @michaelgoff4504
      @michaelgoff4504 3 หลายเดือนก่อน

      "Everything returns to normal"
      Relatively speaking.

    • @tuff_lover
      @tuff_lover 2 หลายเดือนก่อน +2

      @@michaelgoff4504 he doesn't know about hard mode.

  • @indask8
    @indask8 3 หลายเดือนก่อน +524

    Bad Mushroom

    • @sylabulus
      @sylabulus 3 หลายเดือนก่อน +10

      Very bad one 😮

    • @lurkathon
      @lurkathon 3 หลายเดือนก่อน +11

      Also known as Poison Mushroom

  • @Patralgan
    @Patralgan 3 หลายเดือนก่อน +342

    Peach: "Mario, what the heck was that?"

    • @masonasaro2118
      @masonasaro2118 3 หลายเดือนก่อน +48

      “abeepadabopatabopataboodu!” (bljs into the sky with the princess in tow)

    • @renakunisaki
      @renakunisaki 3 หลายเดือนก่อน +19

      That was the effect of eating a bad apple.

    • @astro837
      @astro837 3 หลายเดือนก่อน +3

      Well excuse-me princess

  • @LynxFTG
    @LynxFTG 3 หลายเดือนก่อน +71

    I would've laughed a lot harder if Bad Apple wasn't the thumbnail. I love unexpected Touhou hijack moments.

  • @SonNeoKaku
    @SonNeoKaku 3 หลายเดือนก่อน +236

    Arbitrary code TASes never cease to amaze me. Extra hilarious how it returns to the game as normal afterwards 🤣🤣

  • @Qwertyexists
    @Qwertyexists 3 หลายเดือนก่อน +80

    The fact that N-2 was just 8-4 without the loop and then cutting to Bad Apple got me good.

  • @Baximus
    @Baximus 3 หลายเดือนก่อน +162

    You've gotta be KIDDING ME.

    • @CronoTrapTV
      @CronoTrapTV 3 หลายเดือนก่อน +28

      "A game for kids and grow-ups"

    • @BlankedOutAce
      @BlankedOutAce 3 หลายเดือนก่อน +22

      ​@@CronoTrapTV *"Nobody said you can't join us Arthur."*

    • @thecatacombhimself
      @thecatacombhimself 3 หลายเดือนก่อน +5

      The references in this reply section

  • @gusdotd894
    @gusdotd894 3 หลายเดือนก่อน +99

    Is this using the Nes's 7-bit audio? If so, then that's pretty impressive.

    • @ecernosoft3096
      @ecernosoft3096 3 หลายเดือนก่อน +16

      I’d assume so

    • @alynnzz0491
      @alynnzz0491 3 หลายเดือนก่อน +9

      Yes it is!

    • @inconspicuoususername
      @inconspicuoususername 3 หลายเดือนก่อน +33

      Indeed it is! The creator has a TH-cam channel called 100th Coin where they uploaded an explanation video, and I could be misremembering but they might be preparing to make another video going more in-depth on the audio? In short, they're streaming data one bit at a time to the DPCM channel from the controllers.

    • @cerulity32k
      @cerulity32k 3 หลายเดือนก่อน +19

      I assume it uses the controllers as input, which doesn't require a *massive* memory bank in the NES, instead coming from whatever inputs the TAS has stored, which is much more reasonable.
      What an odd data transfer protocol.

  • @ACrossingSage24
    @ACrossingSage24 3 หลายเดือนก่อน +224

    The last version of Bad Apple on NES I've seen used a soundchip appropriate remix, but wow, the audio is so clean here!

    • @nmac101
      @nmac101 3 หลายเดือนก่อน +40

      the audio isn't from the nes, it was edited in. if the audio came from the nes it would take hours or even days to run the arbitrary code

    • @keiyakins
      @keiyakins 3 หลายเดือนก่อน +122

      ​@@nmac101 no, it's coming from the nes. the hardware can play samples, it just takes absurd storage and lots of processor time. of course when the processor is doing nothing but reading the controller as fast as it can and shoving data into the ppu and audio subsystem, it's a lot more possible.

    • @BetterCallBigShotAutos
      @BetterCallBigShotAutos 3 หลายเดือนก่อน +19

      ​@@keiyakinsSo you're telling me we can make a music player within the confines of Super Mario Bros. 3?

    • @marioisawesome8218
      @marioisawesome8218 3 หลายเดือนก่อน +45

      ​@BetterCallBigShotAutos its more like mario 3 is the needle to a record player and you're actively scrarching in the audio (and video) right behind the needle. the only actual storage on the NES is the RAM because that's the only thing to read and write to.

    • @CH11LER.
      @CH11LER. 3 หลายเดือนก่อน

      That wasn't even a nes. Just an edit.

  • @jeffmaesar
    @jeffmaesar 3 หลายเดือนก่อน +47

    The result is a throwback to the demo scene :-) excellent !

  • @SakhotGamer
    @SakhotGamer 3 หลายเดือนก่อน +38

    It took me longer than it should to realize that it's using sprites and letters to approximate the curved areas of each frame that can't be represented with just the fully white and fully black squares

    • @Kass686
      @Kass686 3 หลายเดือนก่อน

      Same, it’s so much more impressive once you do!

  • @edward9487
    @edward9487 3 หลายเดือนก่อน +58

    The Bad Apple!! Meme has been getting stronger as of late. From DOOM to Bad Apple!!, we are getting the full course of "but can it run this?"

    • @nataliexists
      @nataliexists 3 หลายเดือนก่อน +7

      can doom run bad apple

    • @trantuyen1102
      @trantuyen1102 3 หลายเดือนก่อน +5

      can bad apple run doom

  • @tekimen
    @tekimen 3 หลายเดือนก่อน +81

    任意コード実行でPCMまで再生するのすごいですね
    聖なるうんこ

    • @kakapo-n2f
      @kakapo-n2f 3 หลายเดือนก่อน +4

      取ってつけたようなホーリーシッ好き

    • @kata_aki
      @kata_aki 2 หลายเดือนก่อน

      聖なるうん子で草

    • @wolfetteplays8894
      @wolfetteplays8894 หลายเดือนก่อน

      そうですわ。このファミコムの音楽はコンプレーショーンなしで聴くます。時々ファミコムの音楽はローファイ的ですが、それがかっこよくてカセット的よね。

  • @Glitcher2000
    @Glitcher2000 2 หลายเดือนก่อน +25

    I'm amazed that Miyamoto managed to keep this whole sequence hidden in the game for nearly forty years. Excellent find!

  • @KmF0X
    @KmF0X 3 หลายเดือนก่อน +67

    I love how it is allowed to change cartridges, that's galaxy brain type of moves

  • @KimeramonRocks
    @KimeramonRocks 3 หลายเดือนก่อน +127

    didnt know the NEW was capable of this sound quality. must be really quick to switch game carts (from a hacked smb3 to smb1) in less than a second IRL

    • @sleepyren_
      @sleepyren_ 3 หลายเดือนก่อน +41

      it is indeed, however as you might imagine it is EXTREMELY power intensive

    • @ssg-eggunner
      @ssg-eggunner 3 หลายเดือนก่อน +56

      It is capable
      The thing is, its very CPU intensive
      So it boggles my mind that with a 1.79mhz 6502 & 2kb of RAM, this kind of audio could be done

    • @izagen_
      @izagen_ 3 หลายเดือนก่อน +5

      *the NES

    • @williefleete
      @williefleete 3 หลายเดือนก่อน +42

      IIRC there is a video of behind the scenes. The Wave samples are streamed via the controller inputs in addition to the sprite ID’s used for the graphics

    • @EmptyZoo393
      @EmptyZoo393 3 หลายเดือนก่อน +4

      @@ssg-eggunner Bit depth vs sample rate. I kind of understood that sample rate tends to be more important, but this really blows it out of the water.

  • @vaclavtrpisovsky
    @vaclavtrpisovsky 3 หลายเดือนก่อน +26

    This is an amazing achievement. If you want to support the author, he also made a game that deserves some extra visibility. _Fantastic Fist_ was made over 8 years and it's a unique-mechanic pixel platformer like _Celeste._

  • @Akakunchannel
    @Akakunchannel 3 หลายเดือนก่อน +30

    Starts as Super Mario Moonwalker, then turns into Bad Koopa.

  • @sdgdhpmbp
    @sdgdhpmbp 3 หลายเดือนก่อน +27

    You know, this doesn't look like the copy I had for Super Mario Bros.

    • @Alexs23743
      @Alexs23743 3 หลายเดือนก่อน +5

      Every copy is personalized! ^^

    • @RadeonVega64
      @RadeonVega64 3 หลายเดือนก่อน

      @@Alexs23743 yep

  • @dylanzlol7293
    @dylanzlol7293 3 หลายเดือนก่อน +34

    Imagine a kid playing smb1 on 1985 and they suddenly see bad apple play on-screen

    • @fry_fr
      @fry_fr 3 หลายเดือนก่อน +23

      while they accidentally precisely input button presses at an inhuman rate

    • @thecatacombhimself
      @thecatacombhimself 3 หลายเดือนก่อน +10

      @@fry_fr the child is from one of those "my 2 year old child just said" twitter posts

    • @fry_fr
      @fry_fr 3 หลายเดือนก่อน

      @@thecatacombhimself lmfao

  • @Nr_Symphony
    @Nr_Symphony 3 หลายเดือนก่อน +14

    This is at the same level as the Pokemom Yellow TAS made by MrWint
    Awesome

  • @cordellcox6126
    @cordellcox6126 3 หลายเดือนก่อน +17

    Was that SMB3 at around 0:02?

  • @thejackal007
    @thejackal007 3 หลายเดือนก่อน +10

    I've seen arbitrary code executions before but this one somehow seems a cut above.

  • @Spikechive
    @Spikechive 3 หลายเดือนก่อน +62

    🍎

  • @Avriel_Mimiga
    @Avriel_Mimiga 3 หลายเดือนก่อน +10

    imagine pulling off ACE in a modern game like Pokemon Sw/Sh or Odyssey

    • @tarekcat1
      @tarekcat1 3 หลายเดือนก่อน +1

      The switch is gonna blow that's for sure

    • @makonede
      @makonede 2 หลายเดือนก่อน +1

      sadly not possible due to hardware restrictions, but you could theoretically find a way to execute pre-existing code snippets (also known as "gadgets") by jumping to them in a way that allows something useful to happen

    • @CassiusStelar
      @CassiusStelar 2 หลายเดือนก่อน

      Hey i know you!

  • @ImSquiggs
    @ImSquiggs 3 หลายเดือนก่อน +19

    When Bad Apple shows up, I show up hahah. God tier TAS.

  • @TechnoCookieNG
    @TechnoCookieNG 3 หลายเดือนก่อน +35

    TAS, Mario and Touhou
    Three of my huge hyper fixations in one!

  • @TheTedder
    @TheTedder 3 หลายเดือนก่อน +13

    Starting from a completely different game is no different from starting from SRAM tbh.

    • @parzivalwolfram7084
      @parzivalwolfram7084 3 หลายเดือนก่อน +13

      To be fair, SMB3 doesn't have SRAM, and the bootstrapping game still needs to be played from power-on as well. iirc cartswaps were allowed in some categories since Pokemon Gen 1 started to be used for cartswap exploits on the Game Boy. You don't even need to hurry with the swap on that console, you leave a payload in RAM that waits a while for you to do the swap. The NES CIC will reset the console if a cart isn't present for around half a second, which is why those are almost required to be TASed.

    • @samkostka126
      @samkostka126 3 หลายเดือนก่อน +15

      @@parzivalwolfram7084 Resetting doesn't clear RAM though I don't think, it's up to the game to do it. There's a human-viable cart swap going from Tennis to SMB1 to start at an arbitrary world number

    • @100thCoin
      @100thCoin 3 หลายเดือนก่อน +13

      For a bit of extra context, this TAS was originally submitted as "starting with SRAM" since the current build of bizhawk doesn't natively support cartridge swapping.
      Super Mario bros. still runs the routine that clears RAM, it just missed a few spots. The payload is written entirely in uninitialized RAM.

    • @parzivalwolfram7084
      @parzivalwolfram7084 3 หลายเดือนก่อน

      @@samkostka126 It doesn't reset it all at once, true, but the CIC reset period is plenty long enough for some bits to decay, which ones and how many is down to individual consoles.

  • @chickensandwich9977
    @chickensandwich9977 3 หลายเดือนก่อน +12

    ...I don't know what to believe anymore

  • @The666cuervo
    @The666cuervo 3 หลายเดือนก่อน +24

    bad apple censored edition

    • @alexstar7191
      @alexstar7191 3 หลายเดือนก่อน +2

      heeeeeeeeeeEEEEEEEEEEeeeeeeeeel naw

  • @awesomeguy3728
    @awesomeguy3728 3 หลายเดือนก่อน +13

    1:17 - 4:52 Audio Is Played On PCM

  • @Just_an_random_who_likes_stuff
    @Just_an_random_who_likes_stuff 3 หลายเดือนก่อน +19

    Bad Apple in SMB1

  • @typhoonthunder
    @typhoonthunder 3 หลายเดือนก่อน +56

    But can it run Doom though?

    • @HXSKlmfao
      @HXSKlmfao 3 หลายเดือนก่อน +32

      it can play a video of doom

    • @DogsRNice
      @DogsRNice 3 หลายเดือนก่อน +12

      Someone needs to figure out how to escape the emulator sandbox from super Mario bros and pass controller inputs into an actual copy of doom

    • @fluoriteByte
      @fluoriteByte 3 หลายเดือนก่อน +2

      ​@@DogsRNice
      Id imagine the cve like this:
      CVE-N3SD00M3D-2024
      Emulator Virtual Machine escape exploit that can be used to load a program (doom used in example) using Ricoh 2A03 Bytecode and interact with the outside OS

    • @Sauraen
      @Sauraen 3 หลายเดือนก่อน

      @@fluoriteByte For NES, that happened in 2016, look up "[0day] [exploit] Compromising a Linux desktop using... 6502 processor opcodes on the NES?!" by Chris Evans. For N64, a similar exploit was unveiled in multiple popular N64 emulators this year, as an April Fool's Day TASVideos submission of a TAS of Paper Mario which escapes the emulator and blue-screens the Windows PC.

    • @kiwibro6454
      @kiwibro6454 3 หลายเดือนก่อน +1

      Funny enough I've never seen anyone attempt to make an nes version of doom, I guess the hardware is just incapable of running a ray casting engine?? However there is doom on zx spectrum

  • @morrowlterraslove
    @morrowlterraslove 3 หลายเดือนก่อน +6

    Ok this is the funniest shit I’ve seen the video is being played inside of a actual game and you can see the video if you take a look at it is using the tile sprites to render the whole video

  • @DJ4x
    @DJ4x 3 หลายเดือนก่อน +7

    Saw that thumbnail, immediately clicked. Had to see that in SMB.

  • @Finity_twenty_ten
    @Finity_twenty_ten 3 หลายเดือนก่อน +5

    That's another Bad Apple engine checked off!

  • @Zaddahar
    @Zaddahar 2 หลายเดือนก่อน +2

    The fact that its is theoretically possible to do this shit is fucking hilarious to me. Beautiful TAS

  • @prosewolf
    @prosewolf 3 หลายเดือนก่อน +8

    That ending made me laugh hard. Superb!

  • @BLGHA
    @BLGHA 2 หลายเดือนก่อน +2

    We got Bad Apple in Super Mario Bros before GTA 6

  • @chackbro1
    @chackbro1 3 หลายเดือนก่อน +50

    Anime jumpscare

    • @Just_an_random_who_likes_stuff
      @Just_an_random_who_likes_stuff 3 หลายเดือนก่อน +9

      Touhou is not an anime

    • @okuu_utsuho
      @okuu_utsuho 3 หลายเดือนก่อน +2

      Did you just called Touhou “anime?”

    • @chackbro1
      @chackbro1 3 หลายเดือนก่อน +2

      @@okuu_utsuho yes

    • @blocks4857
      @blocks4857 3 หลายเดือนก่อน +1

      ​@@Just_an_random_who_likes_stuff I don't watch touhou I just like the cute fumoa

    • @trentthen642
      @trentthen642 3 หลายเดือนก่อน

      @@Just_an_random_who_likes_stuffok but the art style is anime

  • @novarender_
    @novarender_ 3 หลายเดือนก่อน +4

    This is the most technically impressive run I have ever seen, holy

  • @RugTAPgy_YT
    @RugTAPgy_YT 3 หลายเดือนก่อน +4

    We have now smb1, smb2, smb3, smw, smw2:yi, sms. Next is Super Mario 64!!!

    • @QueenofTNT
      @QueenofTNT 3 หลายเดือนก่อน

      I can't wait to see speedrunners play Bad Apple in OoT using SRM, that'll be fun

  • @nathanisbored
    @nathanisbored 3 หลายเดือนก่อน +8

    Yea this happened to me once when I was fighting bowser

    • @SighFi
      @SighFi 3 หลายเดือนก่อน +3

      this happened to my buddy eric

  • @Ispeedrunmariogames
    @Ispeedrunmariogames 3 หลายเดือนก่อน +3

    dude, I almost knocked My chair over when I read "4:52" I thought it was a kind of wrong warp 💀

  • @scruffy_owl6013
    @scruffy_owl6013 3 หลายเดือนก่อน +4

    We're approaching levels of Mario not meant to be experienced by mortal man

  • @MicrosoftXbox360-jw6oo
    @MicrosoftXbox360-jw6oo 3 หลายเดือนก่อน +2

    People in the 80s seeing this be like: What the hell, I was trying to play Super Mario Bros. What is this

  • @酊
    @酊 3 หลายเดือนก่อน +5

    I love arbitrary code execution tas!

  • @thesuckysix4242
    @thesuckysix4242 2 หลายเดือนก่อน +1

    the end of the video is practically a punchline after the whole thing. Just, blipping right the fuck in to normal-ass SMB like none of that shit even happened. Hit me like a sack of bricks.

  • @RedstonekPL
    @RedstonekPL 3 หลายเดือนก่อน +6

    bad goomba

  • @TheDecentt
    @TheDecentt 3 หลายเดือนก่อน +3

    Now run Doom

    • @Bigtimersh5
      @Bigtimersh5 3 หลายเดือนก่อน

      Funny thing is that user “Coin 100th already done that before via. the demonstration video.

  • @dahlgaard2624
    @dahlgaard2624 3 หลายเดือนก่อน +13

    i refuse to believe the animation is running on this game...

    • @jeroenboth167
      @jeroenboth167 3 หลายเดือนก่อน +32

      I’m more surprised about the audio instead of the animation tbh

    • @ezgames6925
      @ezgames6925 3 หลายเดือนก่อน +27

      There’s a console verification link in the description to prove that it’s possible on console

    • @ImSquiggs
      @ImSquiggs 3 หลายเดือนก่อน +4

      @@jeroenboth167 Same here, is that audio actually coming from the NES? I can't imagine the little 2A03 chip is doing all that work. It's gotta be constant DPCM samples or something for the video to be able to play over it at all, but even then, I'd expect the quality to suck.
      It's so cool for that music to be playing on a NES that I'm not sure if it's actually happening or not, haha.

    • @Vexxter
      @Vexxter 3 หลายเดือนก่อน +16

      @@ImSquiggs The audio is indeed coming from the NES, the author made a TH-cam video explaining how it all works if you're interested

    • @ImSquiggs
      @ImSquiggs 3 หลายเดือนก่อน +3

      @@Vexxter I am very interested and will be hunting that down right now, great shoutout, thanks friend!

  • @Nerdesquisito64
    @Nerdesquisito64 3 หลายเดือนก่อน +2

    Eu estava esperando de tudo menos bad apple

  • @ricky2k3_
    @ricky2k3_ 3 หลายเดือนก่อน +3

    HOW the audio is THIS CLEAN???

    • @100thCoin
      @100thCoin 3 หลายเดือนก่อน +4

      A lot of effort went into the audio for this TAS, specifically finding ways to continuously play audio while updating the graphics in order to avoid clicks. The bulk of the audio playing code happens in a 25 Kilohertz loop, which explains most of why the audio is as good as it is. 25 Khz audio is pretty good coming out of the NES.

  • @bigbang9729
    @bigbang9729 3 หลายเดือนก่อน +2

    How is it possible to store the video on a NES? I think that the tas injects inputs during the video playing to transfer the frames.

    • @mariorockysonicmegasochjag
      @mariorockysonicmegasochjag 3 หลายเดือนก่อน +5

      Yes, Exactly.

    • @maxtes252
      @maxtes252 2 หลายเดือนก่อน +1

      Not just the frames. It's inputting the audio too.

  • @tuxedothemagnificent6738
    @tuxedothemagnificent6738 3 หลายเดือนก่อน +2

    I'll ask a very simple question. How does a vanilla copy of SMB3 and SMB1 play that video? Stuff like this is what made me believe the Triforce % in OoT was fake because in credits it had the names of the people who made those outfits & the Twitch chat thing.
    In short, what i'm saying is.. imagine the Bad Apple YT video didn't exist yet and Twitch didn't exist also. Are you saying that these are still possible, in vanilla software and games?

    • @100thCoin
      @100thCoin 3 หลายเดือนก่อน +17

      Simple questions can sometimes have unfortunately complex answers.
      To make a long story short, yes this is possible with an unmodified cartridge of Super Mario Bros.
      "How does a vanilla copy of SMB3 and SMB1 play that video?"
      The biggest point of confusion here is "where is the music video coming from?" Obviously the original cartridge doesn't have that video there, and the video is way too large to fit into the NES's 2 Kib RAM.
      You probably noticed this run was in World 'N'. When you defeat bowser with fireballs, he gets replaced with a different object depending on what world you are in. In the case of world 'N', bowser's object is replaced with an "invalid object ID", but the game still tries to execute whatever code that object would execute. This ends up executing RAM as code. The specific bytes that get executes are never written to inside SMB1, so if I use another game to manipulate those bytes (in this case, I used Super Mario Bros. 3) I could write anything there and execute it.
      The code that I write while running SMB3, and execute after defeating bowser is a loop that reads data from the controller ports, and stores it at a target location in RAM. After defeating bowser, this allows me to completely overwrite everything in RAM with my own custom code. I write code for reading the controller some more and interpreting the button presses as graphical and audio data. I actually have a video on my youtube channel breaking down how this run works, and specifically how I'm interpreting button presses as graphical and audio data if you're interested.
      Keep in mind, the NES controller can be read way more than just once per frame. During the music video, I think I read the controller on average 500 times per frame. About 100 of those are graphical data, and the remaining 400 would be audio. In order to play the entire music video, I read the controller around 5.8 million times.
      In summary, any exploit allowing a loop of controller data to be stored at a target address can allow for pretty much anything to happen as long as it's within the hardware restrictions of the console. Triforce% works in pretty much the same way. There's a great explanation of that run by Retro Game Mechanics Explained that talks about how they got twitch chat to be streamed through the controller ports. In fact, the Games Done Quick TASBlock has streamed data from twich chat through the controller ports on several occasions.

    • @tuxedothemagnificent6738
      @tuxedothemagnificent6738 3 หลายเดือนก่อน +1

      @@100thCoin Thank you for the explanation!

  • @scrunkykat
    @scrunkykat 3 หลายเดือนก่อน +3

    this is unreal to see on an NES

  • @Nehemiah05
    @Nehemiah05 16 วันที่ผ่านมา +1

    YESS!!! WE TECHNICALLY BEAT THE WR!!!!!!!

  • @NEICHEL-Sound-Room
    @NEICHEL-Sound-Room 3 หลายเดือนก่อน +4

    now this is peak content

  • @soundbreaker8174
    @soundbreaker8174 3 หลายเดือนก่อน +1

    mfs in 2050 when their heart monitors play bad apple

  • @adenatorgoodguy
    @adenatorgoodguy 3 หลายเดือนก่อน +3

    This looks like something from a dream lmao

  • @masterretro
    @masterretro 3 หลายเดือนก่อน +1

    Hay que hackear literalmente el juego para integrale el Bad Apple 😊

  • @michaelgoff4504
    @michaelgoff4504 หลายเดือนก่อน

    Bowser: that blasted plumber has foiled my plans for the last time! Now I know all his tricks and am prepared for anything.
    Bowser: ...

  • @Gamesmarts194
    @Gamesmarts194 3 หลายเดือนก่อน +1

    Don’t you just hate it when you’re at WR pace then suddenly Bad Apple plays right before you stop timer?

  • @Doge-zb7ku
    @Doge-zb7ku 3 หลายเดือนก่อน +2

    This is fucking amazing

  • @WindowsXP_YT
    @WindowsXP_YT 3 หลายเดือนก่อน +2

    1:15 how to defeat Bowser in World 23-2

  • @halloweencostumezombie
    @halloweencostumezombie 3 หลายเดือนก่อน +1

    So this is what mario sees when he eats a poison mushroom?

  • @ToyKeeper
    @ToyKeeper 3 หลายเดือนก่อน +2

    Wow, does this work on actual hardware on only in an emulator?

    • @Spikechive
      @Spikechive 3 หลายเดือนก่อน +6

      Check the description for a console playback.

    • @ToyKeeper
      @ToyKeeper 3 หลายเดือนก่อน +1

      @@Spikechive Thanks, I must be blind.

  • @banukaii
    @banukaii 3 หลายเดือนก่อน +1

    Of all of the Bad Apple!! videos I've seen and collected, this will go down as the pinnacle.

  • @lemonhead6129
    @lemonhead6129 3 หลายเดือนก่อน +1

    Does anybody know if the music was added in or somehow played?

  • @aluigiFromKart
    @aluigiFromKart 3 หลายเดือนก่อน +2

    dear god.

  • @Olflix
    @Olflix 3 หลายเดือนก่อน +5

    741 views in 1 hour? They cooked

  • @Koettnylle
    @Koettnylle 3 หลายเดือนก่อน +2

    Why is it called arbitrary code execution, when it's obviously thoroughly planned out?

    • @malomyostismon
      @malomyostismon 3 หลายเดือนก่อน +21

      The arbitraty part, from what i remember, refers to "things not originally programmed into the game" so pretty much anything different from what the game's supposed to do counts.

    • @jacquelineliu2641
      @jacquelineliu2641 3 หลายเดือนก่อน +5

      It can be thoroughly planned out *because* it's arbitrary. If it's not arbitrary, i.e. the code that can be executed is limited / predetermined, there would be nothing to plan out.

  • @RadioactiveBluePlatypus
    @RadioactiveBluePlatypus 3 หลายเดือนก่อน +1

    Since when does smb1 have ace??

    • @tarekcat1
      @tarekcat1 3 หลายเดือนก่อน +1

      Almost all Nes, snes and N64 have ace
      It's only a matter of time to discover them and pulling out the most unbelieveable sht ever

  • @seireiart
    @seireiart 3 หลายเดือนก่อน +4

    hell yeah

  • @LilyP-zw7go
    @LilyP-zw7go 2 วันที่ผ่านมา

    NOWS YOUR CHANCE TO BE A [[BAD APPLE]]

  • @Szylow
    @Szylow 3 หลายเดือนก่อน +9

    I never imagined that a speedrun would end up with this ending, basically this video invented the bad apple status in a game.

  • @VictorDanielSeniorCampos
    @VictorDanielSeniorCampos 3 หลายเดือนก่อน +1

    It started in World N instead of World 1. How? Why?

    • @100thCoin
      @100thCoin 3 หลายเดือนก่อน +14

      There's a very brief 47 frame TAS of Super Mario Bros. 3 that runs immediately before swapping cartridges to Super Mario Bros.
      The SMB3 TAS is used to manipulate RAM such that SMB1 can begin in world 'N', and and it's also used to store a payload in uninitialized RAM, which will execute after Bowser is defeated.

    • @AyoCrunchy
      @AyoCrunchy 2 หลายเดือนก่อน +2

      @@100thCoin I loved your video explaining the tas!!! Great work

  • @eba56
    @eba56 3 หลายเดือนก่อน +1

    Hey, i also just installed bad apple on my vita

  • @whitecreamsicle
    @whitecreamsicle หลายเดือนก่อน

    At this point Bad Apple better play on my goddamn tombstone

  • @RADish-official
    @RADish-official 3 หลายเดือนก่อน +2

    I see bad apple I click

  • @baltakatei
    @baltakatei 2 หลายเดือนก่อน

    The audio is okay, but sounds like it's being played by... Oh... Oh my God... 😮

  • @carlosalejandrosanchez4164
    @carlosalejandrosanchez4164 2 หลายเดือนก่อน

    Mario: I’m-a gonna throw this-a apple in the air in order to defeat-a Bowser.
    Peach: *WHAT THE HELL? IS THE BUTTERFLY EFFECT GONNA WORK NOW, MARIO? AN APPLE IS SIMPLY-*
    The apple:

  • @roxxie0
    @roxxie0 3 หลายเดือนก่อน +1

    wtf happend to my mario

  • @tabi420
    @tabi420 3 หลายเดือนก่อน +1

    what is happening

  • @six_buck_dlc
    @six_buck_dlc 3 หลายเดือนก่อน

    what the fuck, and you’re saying he did all this with the 8 buttons provided to you not even like hacking or sum

  • @sweetypuss
    @sweetypuss 3 หลายเดือนก่อน +1

    this is certainly one of the bad apples of all time

  • @raspberry1440kb
    @raspberry1440kb 3 หลายเดือนก่อน +1

    now execute the TAS on real hardware

    • @Spikechive
      @Spikechive 3 หลายเดือนก่อน +4

      Description. It's been done on real hardware.

  • @thiagopaiva5236
    @thiagopaiva5236 2 หลายเดือนก่อน

    He didn't wanted to Speedrun super Mario bros., he actually wanted to play a music video on it!

  • @ferando
    @ferando 3 หลายเดือนก่อน

    I swear that the day the community of the wonderful creative human minds that manipulate compuer hardware and code and execute arbitrary code within it in unconventional ways just for research and fun dies, is the day that te entire purpose of compuers dies.

  • @lolKbgTgm6621what
    @lolKbgTgm6621what หลายเดือนก่อน

    Was incredible up until the techno song became some anime weeaboo nonsense

    • @sweetypuss
      @sweetypuss 21 วันที่ผ่านมา

      wait until you learn that the techno song in question is also anime weeaboo nonsense

  • @Alexs23743
    @Alexs23743 3 หลายเดือนก่อน

    Who invited the Touhou Project into Super Mario Bros. 1, and is this how the video ultimately landed on my sidebar, even though I've also seen many non-TH arbitrary code videos before on this channel? xD
    And then, Mario has a score of 9,999,990 despite the lack of Cirno in the video. That's one weird way to flex on Bowser!

  • @GabrielJoJo2024
    @GabrielJoJo2024 3 หลายเดือนก่อน +1

    N of Netherrealm?

  • @silverflight01
    @silverflight01 2 หลายเดือนก่อน

    And so a new portal to Gensokyo was opened, by colliding with Bowser

  • @luisfernandomiguelpiris252
    @luisfernandomiguelpiris252 3 หลายเดือนก่อน +2

    Touhou X Mario