Dumping the ROM of a GBA game by crashing it

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 962

  • @ManIkWeet
    @ManIkWeet 11 місяців тому +1413

    You "cheated" but I wonder: is it possible to get the correct offset given enough recordings?
    Or is the playback speed not a constant rate?

    • @TheZZAZZGlitch
      @TheZZAZZGlitch  11 місяців тому +641

      It is constant rate - but due to imprecisions and the desynchronization between the console's and the recording's sample rates, each byte might take a slightly different number of samples every once in a while (say 9 instead of 10).
      Usually this is not a problem, since it's possible to find boundaries between different bytes by seeing the changes in audio level. Even if there's a streak of several identical bytes, it's still possible to get correct answers quite reliably just by rounding (if there's a segment of 48 identical samples, it's fine to reason that it corresponds to 5 identical bytes).
      However, if the streak is thousands of bytes long, the errors add up to the point where simple rounding cannot give a correct result, and it becomes close to impossible to know how many errors occurred. The only real solution would be to increase the sample rate to make the errors even less significant - but we quickly get to the point where we pretty much need a data-logging oscilloscope, and I wanted to stick to simple hardware.

    • @pablo5425
      @pablo5425 11 місяців тому +19

      ​@@TheZZAZZGlitchassuming there are slight differences on each generated rom, why dont you make the program repeat several times to enhance accuracy? make 5-6 roms and keep the closest one

    • @underrated1524
      @underrated1524 11 місяців тому +165

      @@pablo5425 That's... kind of what he did? Repeat the process a few times to iron out the errors?

    • @mechabubba
      @mechabubba 11 місяців тому +16

      @@TheZZAZZGlitch thanks for your answer, this was something i was wondering as well. the fact that a byte can be represented with a varying number of samples helps this make a lot more sense.

    • @nyanpasu64
      @nyanpasu64 11 місяців тому +22

      Can you use the "average" samples per 100k bytes during periods of activity, to produce a high-precision estimate of the byte rate to bridge long gaps of silence, or does the playback and recording rate drift enough to break that?
      Also how did you avoid least significant bit errors?

  • @SanJo2MD
    @SanJo2MD 11 місяців тому +2083

    Hearing the in-game musicians tune their instruments by crashing the game is unbelievable but also really cool

    • @cirkulx
      @cirkulx 11 місяців тому +106

      i crashed my gba and at 1 hour and 17 minutes i started hearing all the sfx and its hilarious

    • @closedthedor8400
      @closedthedor8400 11 місяців тому +74

      When it's 6 A.M in a animatronic restaurant 1:11

    • @K9V1
      @K9V1 11 місяців тому +28

      I'm wondering what the hell the sound at 1:02 was from. Don't think I have ever heard it in-game and it doesn't really sound like it even belongs in a Pokémon game.

    • @sarougeau
      @sarougeau 11 місяців тому +38

      @@K9V1I'm guessing that they may have had a library of sounds they were working with and not all of them were used.

    • @K9V1
      @K9V1 11 місяців тому +10

      @@sarougeau That would actually make a great deal of sense. Very interesting sound bit nevertheless!

  • @KonaKonaKaabisteru
    @KonaKonaKaabisteru 11 місяців тому +1643

    This whole thing feels like watching someone reproduce an almost perfect replica of the food they ate via throwing up violently. Incredible work ZZaZZ.

  • @VinsCool
    @VinsCool 11 місяців тому +1293

    While this is already a very impressive feat, I'm even more impressed by the fact that the Chinese bootleg cart had been designed with actual efforts in order to make the game function as good as it possibly could without the RTC battery or the dedicated SRAM chip.
    I wonder why they bothered to replace the battery message, at this point they could have made the code to just bypass that screen entirely just to make it look genuine from the get go.

    • @tr7zw
      @tr7zw 11 місяців тому +79

      Thats exactly what I was wondering too. Why change the message, and not just nuke the check?

    • @underrated1524
      @underrated1524 11 місяців тому +270

      My guess is that the bootleggers were under deadline pressure - nuking the check would have taken longer to implement and debug than simply changing the message to something innocuous.

    • @LupisLight
      @LupisLight 11 місяців тому +10

      I don't really understand why anyone would have gone to all that extra trouble to make a replica cart to begin with?

    • @underrated1524
      @underrated1524 11 місяців тому +205

      @@LupisLight So they can mass-produce it and sell the carts for cheaper than the price of a real cart, of course.

    • @stgigamovement
      @stgigamovement 11 місяців тому +41

      Keep in mind that there's a decompilation of Emerald out there so technically they may actually have more control. The question is whether or not this repro supports the link cable and the GBA-GC cable, plus GBA-to-DS migration of Pokemon.

  • @osek7
    @osek7 11 місяців тому +383

    I'm old enough to remember time when radio stations sometimes played video games. You could record it and played it on Commodore 64.

    • @mindwarp42
      @mindwarp42 11 місяців тому +63

      Or write a program and save it on a cassette using a tape recorder peripheral. Thanks, Texas Instruments, for letting me save TI Basic that way and use it to play music otherwise!

    • @MarkyVigoroth
      @MarkyVigoroth 11 місяців тому +9

      I was thinking of the ZX Spectrum.

    • @gabrielv.4358
      @gabrielv.4358 11 місяців тому +5

      what???????????/

    • @serraramayfield9230
      @serraramayfield9230 11 місяців тому +31

      @@gabrielv.4358The C64 and other computers of the time had analog input/output, along with built-in software to save data as audio and vice-versa.
      Given that most computers of the time used cassettes, this was required to make full use out of them.

    • @laudennn
      @laudennn 11 місяців тому +2

      you aren't though

  • @Cametek.CamelliaOfficial
    @Cametek.CamelliaOfficial 11 місяців тому +48

    0:35 BANGER

    • @CovenantAgentLazarus
      @CovenantAgentLazarus 10 місяців тому

      You're not black

    • @-w-.
      @-w-. 10 місяців тому +1

      Holy moly, it's Camellia 👋
      (Please do not add that to your latest tracks, our ears will bleed)

    • @MailMainbutnot
      @MailMainbutnot 10 місяців тому +3

      camellia don't listen to -w- it would be so funny if you put the gba crash sound in a song

    • @ronaid-with-an-i
      @ronaid-with-an-i 8 місяців тому +2

      Hello 2025 leak

    • @turkey_sandwhich
      @turkey_sandwhich 7 місяців тому

      gba crash remix

  • @louierichardson8832
    @louierichardson8832 11 місяців тому +457

    I grew up with a chinese bootleg of each gen 3 game, and that "The save file will be loaded." message was always so confusing to me, since I didn't realise they were fake at the time. Other quirks of the bootlegs were that if booted up in a DS rather than a GBA, the save file would be wiped, and for Emerald specifically beating the elite 4 would also wipe the save file. I know bootlegs can differ from each slightly, so I'd love to what weird changes they made to the ROM for those very annoying problems to happen.

    • @lpfan4491
      @lpfan4491 11 місяців тому +66

      If I think of the correct bootlegs, then they patched the games to store the savefile within the same internal area where the rom is. Yes, they *write* to the *read only memory* , which is illegal.(And this is legit, patches to replicate these roms actually exist publically. Probably useful for physical repros of Gen1/2 games too because those guys normally require battery and die when it does) Idk if they also did other modifications, but nonsense like this is probably why the slightest variance in functionality from the DS makes the game cr*p itself and panicwipe the savedata.
      As for the elite 4-wipe in emerald, they probably just screwed up the savewrite there considering getting into the hall of fame alters specific values in your savefile that otherwise aren't touched. Either that or the way it resets the game does something to the game that this specific bootleg does not like.

    • @GreenBeanSilly
      @GreenBeanSilly 11 місяців тому +83

      It because there's actually extra space in the savefile for the hall of fame data, and writing the first hall of fame to your savefile is usually when the flag gets checked that you beaten the game and can trade pokemon outside of the regional dex. However, most bootlegs don't bother taking this into account and what ends up happening is your save will get overwritten with the hall of fame information and corrupts the save. The gen 3 games also holds two copies of your save (128k), but the bootlegs only holds one copy (64k)

    • @DennisTheZZZ
      @DennisTheZZZ 11 місяців тому +19

      Same for me, but with a bootleg version of Sapphire and Leafgreen.
      Sometimes, with the latter, the save file would be wiped for no reason when booting up, so in order to play through the game, I had to keep the power on my GBA. Those bootleg versions don‘t work if you use Pal Park in the Gen 4 games.
      Luckily, the Pokémon can be traded to a legit copy, in my case, Emerald, and get them to the most recent games.

    • @louierichardson8832
      @louierichardson8832 11 місяців тому +9

      thats actually what i did years later when i finally got legit copies. managed to transfer up a few things to gen 4, but most of the bootlegs had already wiped themselves by then anyway (or the cartridge wouldnt read at all)@@DennisTheZZZ

    • @fgfhjfhjfbhfghf5771
      @fgfhjfhjfbhfghf5771 11 місяців тому +9

      I had a bootleg leafgreen that worked in my DS but if I played a DS Pokemon game with it plugged in the save corrupted. Apparently that's a common issue with fakes

  • @TheZZAZZGlitch
    @TheZZAZZGlitch  11 місяців тому +754

    Note: the magic UA-cam algorithm seems to be recommending this video to people without context - if you're curious about why crashing GBA games play their entire memory as sound in the first place, check out my previous video from 6:00 onward - ua-cam.com/video/wSWNkpqjtQY/v-deo.html

    • @Hi-ix5bb
      @Hi-ix5bb 11 місяців тому +6

      fact

    • @cattenchaostherandomperson
      @cattenchaostherandomperson 11 місяців тому +15

      listen to some master boot record and report back to me
      (this comment used to say something different)

    • @Tomw1983theidiot
      @Tomw1983theidiot 11 місяців тому

      Yea

    • @chamber_hiro256
      @chamber_hiro256 11 місяців тому +2

      Crazy thing is, I got this video recommended a few minutes later after I watched the interesting things 4 video.
      Your a mad man is all I can say.

    • @eatmyfrigginshorts
      @eatmyfrigginshorts 11 місяців тому

      A link got posted on twitter a few hours ago as well

  • @clementpruvost8670
    @clementpruvost8670 11 місяців тому +475

    ZZAZZ is the only guy who wants to dump a ROM by destroying his ears. Mad props to him.

  • @verve1858
    @verve1858 11 місяців тому +217

    This is an incredible engineering feat so congratulations. It's like loading a game off of casettes back in the Commodore days. I can't wait for the day pirate radio stations start broadcasting this type of data lol.

    • @underrated1524
      @underrated1524 11 місяців тому

      The data is just a little too fragile to be sent in audio form over radio. Distortions from static will probably corrupt too much of the ROM to boot it, let alone play it. But if you're interested in the general concept of smuggling information by sending it in a nonstandard format, search up "illegal numbers" on Wikipedia, you might find it a fun read.

    • @Chengeist
      @Chengeist 11 місяців тому +22

      Some pirates on shortwave kinda do, in various digital modes, mostly sstv pictures.

    • @dafoex
      @dafoex 11 місяців тому +15

      I've been looking to get my radio ham licence, but given that it isn't music I think I could get away with sending this sort of data over the radio, so long as I also send my callsign every now and then. It'd be fun to try, just stick a Spectrum into the radio and see how wrong it gets the data.

    • @WildCharger
      @WildCharger 10 місяців тому

      jet set radio:

  • @diaz35scrodrigo
    @diaz35scrodrigo 11 місяців тому +259

    This channel is reaching reaching a very professional level, I honestly cannot express how much I appreciate the existing of it, keep going ZZAZZ, and thanks for giving me the passion of glitching (lol)

    • @kab43
      @kab43 11 місяців тому +12

      fyi he works at microsoft iirc so hes pretty professional

    • @serraramayfield9230
      @serraramayfield9230 11 місяців тому +5

      @@kab43proof?

    • @kab43
      @kab43 11 місяців тому

      it's in one of his april fools videos i think, he talks about being busy cause of the job iirc@@serraramayfield9230

    • @JetFalcon710
      @JetFalcon710 6 днів тому

      @@kab43 Wait, really? I've never heard about that before

    • @kab43
      @kab43 5 днів тому +1

      @@serraramayfield9230 he mentioned it once in a video regarding his inactivity

  • @sylverrez
    @sylverrez 11 місяців тому +109

    This is interesting stuff, didn't know the corrupted noises are actually ROM data loaded into RAM. Makes for a good project if you don't have a dumper on hand.

  • @Chauckles
    @Chauckles 11 місяців тому +79

    The scuffed-ass DS is a sign of true love.

  • @fgfhjfhjfbhfghf5771
    @fgfhjfhjfbhfghf5771 11 місяців тому +111

    The real hardware method could actually be a game changer for unlicensed game preservation. Many unlicensed games have their own unique protection to stop them from being dumped and this could get around it entirely. Also yes i'd love to see a video on the bootleg ROM differences

  • @mistashadow
    @mistashadow 11 місяців тому +124

    so... this is the evolution method of GBA Crash Sound?
    ...and it evolves into a whole game? Amazing.

  • @wolfcl0ck
    @wolfcl0ck 11 місяців тому +91

    The very notion of this is so overwhelmingly absurd... I wanna see more stuff like this.

    • @derpboxstudios
      @derpboxstudios 6 місяців тому

      i'm willing to forgive... around half of what you've done for being a ZZAZZ fan

  • @ranpatoamami7048
    @ranpatoamami7048 11 місяців тому +30

    3:05 looks like if the copyrights were scribbled out with a marker, could be an aesthetic for a pirate ROM or something

  • @tigaliyt
    @tigaliyt 11 місяців тому +248

    Oh, my... Being able to "read" by EAR an entire game's code is... amazing, and incredibly poetic. It's such a fun idea, too. Are you gonna drop the full EP now or what? xD

    • @BrunodeSouzaLino
      @BrunodeSouzaLino 11 місяців тому +17

      It's not a new idea though. That was how games and software were recorded on cassette tapes back in the day.

    • @dafoex
      @dafoex 11 місяців тому +18

      @BrunodeSouzaLino
      Type `load ""` and hit play, go and make a cuppa, come back 5 or 10 minutes later and find it errored out and you have to adjust the azimuth of your tape player again. Given how finicky the GBA software is here about timing, its a wonder tape loading even worked at all with the wow and flutter. I suppose the answer is a lot of error correction, but it was never perfect even with that.

    • @Mizu2023
      @Mizu2023 11 місяців тому

      You can also just import the ROM into Audacity as Signed 8-Bit Audio and a sample rate of somewhere around 10kHz to 16kHz

    • @Schnort
      @Schnort 2 місяці тому

      Would uploading the sound of an entire rom technically be piracy and illegal distribution?

  • @gretarreynisson3280
    @gretarreynisson3280 11 місяців тому +129

    This reminds me of that Retro Game Mechanics Explained video where he tries to reverse engineer the code of Yar’s Revenge by looking at the neutral zone’s pixels

    • @Hijiri_MIRACHION
      @Hijiri_MIRACHION 11 місяців тому +26

      This ended up producing an actual game at the end though. Due to the way the Neutral Zone was made, I remember that making a ROM from that became extremely difficult after a certain point.

    • @Yingxera
      @Yingxera 11 місяців тому +16

      @@Hijiri_MIRACHION Yeah, the values used for the zone was only part of the game's memory, with 1/8 bits missing and iirc only half the entries, so essentially only half the game was to be found there, and even then that was incomplete and required a lot of guesswork to make sense of. It's a bit unfortunate, because it was really interesting

    • @MasDouc
      @MasDouc 11 місяців тому +1

      I was thinking the same exact thing

    • @Mizu2023
      @Mizu2023 11 місяців тому +7

      I'm pretty sure the guy who coded that thing into Yar's Revenge said "It's pretty ironic that the code for drawing the neutral zone *is* the graphics of the neutral zone" lol

    • @serraramayfield9230
      @serraramayfield9230 11 місяців тому

      @@Mizu2023he has a pinned comment in that same video

  • @maplemabel
    @maplemabel 11 місяців тому +33

    replacing the famous error screen with "the save file will be loaded." is such a flex

  • @DelayRGC
    @DelayRGC 11 місяців тому +33

    1:33 is just the life of a programmer.
    Also - Kitchen floor, table and ancient laptop reveal! And a cursed bit of soldering we shall not talk about ever again!

    • @stevegamer68
      @stevegamer68 2 місяці тому +1

      You're also in luck; he's now done a voice reveal as well :)

  • @macyler
    @macyler 11 місяців тому +21

    Awesome video!
    The long string of similar bytes is a very real problem in EE in general. For example, the USB protocol requires a state change (called "bit stuffing") every 6 bits if one hasn't happened to prevent the loss of timing like you experienced.
    Regarding the 0x00s at the end, it may be the cartridge, or it might be the sound card. Realtek especially, but other ones as well, often have DC blocking, so after a while of the same non-zero data, the actual output/recording goes back to 0.
    Finally, the crosstalk you noticed may have actually been caused by the cable you used, a shorter cable, or better shielded one may yield better stereo results.

  • @atc_wro
    @atc_wro 11 місяців тому +23

    such a cool idea, the quality of the videos have never been this good. Actually inspired me to try glitchhunting myself.

  • @lior_haddad
    @lior_haddad 11 місяців тому +173

    I'm more shocked that the chinese clone has a modified rom than I am surprised about you dumping the rom with audio.

    • @MasDouc
      @MasDouc 11 місяців тому

      Why is that so interesting

    • @pacomatic9833
      @pacomatic9833 11 місяців тому +20

      @@MasDouc These things are made for a quick buck, so to see the bootleggers put in all that effort is interesting.

  • @quonit37
    @quonit37 11 місяців тому +63

    That's so interesting :O The crash noises playing all the SFX then eventually the ROM??? It makes me so curious about why those crash noises even happen, that's so cool

    • @ritabennett
      @ritabennett 11 місяців тому +19

      If you haven't seen it, he goes over /why/ the noise happens in his previous video (Interesting observations #4). It's apparently different for every game, too, the same video has a sample of Mystery Dungeon crash sound in the section about its glitch dungeons. Super cool stuff.

    • @BrunodeSouzaLino
      @BrunodeSouzaLino 11 місяців тому +12

      In modern computing, there's no difference between software and data. The different sounds you hear are data being interpreted as audio and playing as such.

    • @heliusuniverse7460
      @heliusuniverse7460 11 місяців тому +9

      the audio chip plays samples from a pointer to a memory location that gets incremented automatically. To loop the sample you just set the pointer back to the beginning, but if the game crashes, the pointer will keep incrementing, playing every byte of memory as if it was sample data.

  • @Trianull
    @Trianull 11 місяців тому +6

    0:44 Oh wow, this makes ripping GBA samples incredibly easy... Really cool discovery for someone like me who's fascinated by the sound limitations of the GBA and how to mimic it, especially considering the lack of info around it.

  • @EmberQuill
    @EmberQuill 11 місяців тому +23

    Waaaaait a minute, is that the Uplink OST I hear during those coding segments? Brings back memories.
    A really interesting idea. I'm surprised it's even possible, let alone that you managed to achieve 100% accuracy by repeating the recording. That bootleg cartridge is really interesting too.

    • @TheMilkmanDan
      @TheMilkmanDan 11 місяців тому +2

      I'm only in the comments to say the same think. God damn I loved Uplink.

  • @colinstu
    @colinstu 11 місяців тому +10

    For anyone else trying to read the single frame text/comments in the vid... pause and comma/period keys are a godsend (single frame back/forward).

    • @renakunisaki
      @renakunisaki 11 місяців тому +2

      Meanwhile on mobile: guess they just don't want people to read it /shrug

    • @colinstu
      @colinstu 11 місяців тому +1

      @@renakunisaki RIP :( sorry

  • @SighFi
    @SighFi 11 місяців тому +11

    incredibly cool, and what an interesting replica cart!! i've played around with various bootleg pokemon cartridges before (though none of quite that quality) and from what i've seen, the whole "the save file will be loaded" message seems pretty universal (the one i've seen most often was simply "the game can be played." without the rest of the "however, clock-based events will no longer occur", also removing any mention of an actual battery).
    also shoutout to the cursed adapter + cat ears, gotta be one of my favourite genders

  • @Jessount12
    @Jessount12 11 місяців тому +66

    As someone who has watched none of the video yet, this is a ZZAZZ classic.

    • @kittrz
      @kittrz 11 місяців тому +34

      as someone who has watched all of the video, this is a ZZAZZ classic

    • @pillowcasecorner7519
      @pillowcasecorner7519 11 місяців тому +5

      This is indeed a certified ZZAZZ classic.

    • @Lunascaped
      @Lunascaped 11 місяців тому +2

      @@kittrzfr

  • @blablablablabla504
    @blablablablabla504 11 місяців тому +10

    One of the better videos I've seen in your channel, intresting topic, "slice-of-life" scenes, and cool topic in general. I hope to see more like that. :)

  • @blitzen8876
    @blitzen8876 11 місяців тому +23

    it may not be "music" to most, but it IS art!

  • @hckromcatomb
    @hckromcatomb 11 місяців тому +17

    It may not be music to my ears, but it is a video game
    edit:that adapter at 5:13 is super cool 😄
    edit:thanks for the info on how that bootleg cart saves, I’m glad to understand that obscure engineering! Great work great video!

  • @zdragov
    @zdragov 11 місяців тому +20

    the one dislike was from you soldering white to red

  • @FutureFractal
    @FutureFractal 11 місяців тому +5

    yessssss I was waiting for this :D
    also hearing all the instrument samples back-to-back is so cool omfg

    • @FutureFractal
      @FutureFractal 11 місяців тому +1

      also, fun fact: those horrible squawking sounds after the Bard's "A E I O U" voice samples are actually compressed audio data for all the Pokémon cries! that's why they still sound slightly more like actual audio than the other glitchy screeching sounds

  • @zacadoole1
    @zacadoole1 11 місяців тому +6

    The Uplink hacker music really set the tone for the reverse engineering segments

  • @Xkeeper0
    @Xkeeper0 11 місяців тому +30

    reminds me of when we had to dump an fds disk by using a program that output all of the disk's data over audio. pretty neat to see the changes the bootleg made, too. surprised they didn't just hack out the dry battery textbox rather than change the text, tho

    • @underrated1524
      @underrated1524 10 місяців тому

      Probably because they were too rushed to test if that'd break anything, and didn't want to risk yoloing it.

  • @mistaecco
    @mistaecco 11 місяців тому +58

    Absolutely incredible! I always fantasized as a kid that the horrific screeches of pulling a cartridge held some secret information... I guess that was kinda true!
    Curious, do you own a GBxCart to do a "proper" dump with to compare against? I'd be extremely curious to learn more about the tricks that get implemented in cheap clone carts, and would happily send you one if you think it'd help your efforts!

    • @LanHikariDS
      @LanHikariDS 11 місяців тому +3

      I DO own one, and working in a game store I tend to use it to flash over those carts for various purposes, I usually dump them beforehand just for safe keeping.

    • @Neogeddon
      @Neogeddon 11 місяців тому +5

      Kid me assumed, through child moon logic, that the screech must have been Jirachi's cry. Since I knew about Jirachi but had never seen one in-game, and didn't know what it sounded like. So I wasn't *technically* wrong either :'D

    • @Labotohs
      @Labotohs 11 місяців тому +1

      Had similar thoughts after once getting weird text to pop up in SF2 CE on Genesis after accidentally bumping the console while playing. Never happened again though. Kinda wish I had a GBA game crash while I was away (on the DS due to batteries) and to come back while it was playing the instruments.

  • @ДаниилРяйккенен
    @ДаниилРяйккенен 11 місяців тому +7

    A video about self-modifying code would be a real treat. Thank you for your work!

  • @placeholderplaceholder3448
    @placeholderplaceholder3448 11 місяців тому +4

    Long time fan, I am 100% here for this new direction of videos, I'm loving it.

  • @TheBester7
    @TheBester7 11 місяців тому +11

    This is wild!
    i didn't know if it would be possible,but you managed to do it! When i saw the thumbnail, i was like "No way, he actually tried it!"

  • @Littlefighter1911
    @Littlefighter1911 11 місяців тому +7

    "So, how do you dump your rom files?"
    "It's complicated..."

  • @blazernitrox6329
    @blazernitrox6329 11 місяців тому +3

    Okay, that's really cool hearing all of the ROM's MIDI samples played back-to-back like that. You can literally _hear_ the structure of the data in some places.
    It's also really nostalgic hearing samples from my favorite Pokemon generation getting absolutely _blasted_ like that. I can even place certain sound effects. Man, do I need to boot up my copy of the Emerald decomp again?
    Yes, PLEASE do another video about the engineering of that Chinese ROM. I can't imagine it's a small feat, especially on GBA hardware.

  • @_Smokescreen_
    @_Smokescreen_ 11 місяців тому +3

    Incredible video detailing how it works and the processes you did, honestly really cool to hear all the different individual sounds

  • @Darkshadows9776
    @Darkshadows9776 11 місяців тому +9

    Ooooh that music at 1:22 sparked some memories. Good pick.

    • @kyledoeseverything9209
      @kyledoeseverything9209 6 місяців тому +1

      UPLINK BOIIIS

    • @stgigamovement
      @stgigamovement 3 місяці тому +1

      What's the song called?

    • @Darkshadows9776
      @Darkshadows9776 3 місяці тому

      @@stgigamovement The Blue Valley by Karsten Koch is the specific song, off the Uplink soundtrack. From what I understand all the songs were chosen for being freely licensed.

  • @philipegoulet448
    @philipegoulet448 11 місяців тому +2

    diffing the chinese copy with the original rom was such a great idea! I'd love to see you go through that in another video! Especially since you took the time to reverse engineer it :)

  • @scarlas7071
    @scarlas7071 11 місяців тому +6

    Fascinating! I think it would also be interesting to look at virtual console roms and see how they differ from the originals.

  • @freeformboozler
    @freeformboozler 11 місяців тому +4

    This reminds me a lot of how 1980s computer games were sometimes sold on cassette tapes with the game code literally being the "music" on the tape

  • @Zichqec
    @Zichqec 11 місяців тому +4

    This is SO COOL. Please make videos about the chinese cart! I got scammed a long while back when I was young and naive (I have legit carts now) and it is so fascinating to me to see those carts be picked apart. Mine had a text box like "The save has been loaded. The game can be played." or something. It was a bit different from yours!
    And now that I've grown up, I've become very interested in programming, so even more reason I'd like to see what kind of stuff is going on under the hood there.
    This video is excellent, thank you so much for making it.

  • @ayoraster2970
    @ayoraster2970 11 місяців тому +1

    This is amazing! When you hinted this last video, iI was sad because I really wanted to see it straight away. I'm glad you did it, and I'm so suprised how accurate you can get the rom!

  • @Titanic4
    @Titanic4 11 місяців тому +4

    Well, this is just mind blowing. While there are GBA ROM dumpers available, this video proves that it's possible to dump the ROM of the game from the audio output of the GBA itself, given that you have sufficient patience and right equipment to do that.

  • @ipaqmaster
    @ipaqmaster 11 місяців тому +1

    3:06 That opening music got me. Love the engineering behind the bootleg's shared flash solution.

  • @camwoodstock
    @camwoodstock 11 місяців тому +28

    tch, i recognize that frequency, now I've i have your SRAM and own ALL your pokemon!!! >:)

  • @heroslippy6666
    @heroslippy6666 11 місяців тому +1

    I knew that it was playing some sort of data in memory, but I never left it running to play ALL of the memory because I thought it was just looping. Very impressive.

  • @LetsPlayKeldeo
    @LetsPlayKeldeo 11 місяців тому +15

    when the car ears flew in I died

  • @zelenpixel
    @zelenpixel 11 місяців тому +11

    fascinated by this just nearly barely complete rom. i like how you have to crash the game 7 (or 45) times and sit there for hours upon hours recording all of this just to have the worlds most inefficient dumping method. thats hilarious. and really interesting too
    is this the first time there was actual real life camera footage on the channel?
    would be very interested to see the hacky bootleg cartridge tech stuff too

    • @underrated1524
      @underrated1524 11 місяців тому +7

      Technically, no, it's not the first time. When ZZAZZ wants to show footage from 3DS VC, he simply puts his 3DS in front of a camera, presumably because there aren't a lot of options for 3DS capture cards.

    • @LonelySpaceDetective
      @LonelySpaceDetective 11 місяців тому +1

      ZZAZZ also had a video demoing some Game Boy Camera emulation they worked on, by using a webcam for what the emulated camera sees.

  • @scj643
    @scj643 11 місяців тому +5

    You made it into the latest HW news from gamers nexus

  • @Biaanca5036
    @Biaanca5036 11 місяців тому +4

    02:35 _"Good morning Acer. 👋_
    -- _ready to do something cool?"_
    Honestly how I think it feels to use a spare machine to do interesting things

  • @plushifoxed
    @plushifoxed 11 місяців тому +3

    this was really neat!! i would definitely love to see a video where you dig into chinese bootlegs of gen 3 a little more, too!

  • @Stormshine
    @Stormshine 11 місяців тому +2

    omg this is SO COOL, and i guess proves that no one else has ever been brave enough to listen to the gba crash noises for 2 hours? absolute banger of a video, thank you

  • @lazykits537
    @lazykits537 11 місяців тому +4

    I remember crashing my emerald rom by accident and left it on. I remember hearing the instruments play out and got so scared i turned it off

  • @AzraelFPV
    @AzraelFPV 11 місяців тому +1

    I'm glad I'm not the only one putting way too much time into random projects for my own entertainment and curiousity, alongside a possibility of some small utility

  • @Kurausukun
    @Kurausukun 11 місяців тому +3

    You were actually super close to the correct samplerate! All Gen 3 games run the engine at 13379Hz (most if not all of the samples are also sampled at that rate)

  • @shreebington
    @shreebington 11 місяців тому +2

    "What are you listening to?"
    "Pokémon Emerald."

  • @memetech-
    @memetech- 11 місяців тому +3

    Oh, now I want to see a full play through of the 99.979% du-
    *crashes in into*
    Nevermind.

  • @jakikazu
    @jakikazu 11 місяців тому +1

    We are eating so, so well with these recent uploads. What a treat!

  • @gblargg
    @gblargg 11 місяців тому +5

    Long sections of the same value will get affected by the high-pass filtering in most audio paths (why 8b/10b encoding and similar exist, to remove DC). And the Gibbs effect at sharp transitions due to the analog sampler's low-pass filter.
    4:10 I'm surprised it was so easy to get it to dump the ROM over audio.

  • @Safyire_
    @Safyire_ 11 місяців тому +35

    some of those sample sounds in the ROM are groovy. i’m guessing the voiced ones (like the “a, i, u, e, o” one) are generic samples that probably show up in other GBA ROMs, just interesting hearing them alongside ones that you do hear in-game

    • @iacon0425
      @iacon0425 11 місяців тому +17

      No there's an NPC in the game named "the bard" that uses them. He's in the mauville Pokemon center but only on certain save files.

    • @Zichqec
      @Zichqec 11 місяців тому +2

      @@iacon0425 I spent a few hours getting a save file with him because I've never had him before. The samples sound a lot different in game, are they processed somehow? I want to know more about the bard because I had never seen him before today lol

    • @Tyranitar66501
      @Tyranitar66501 11 місяців тому +3

      @@Zichqec He appears based on your trainer id, if it ends in 0 or 1 he will appear.

    • @Zichqec
      @Zichqec 11 місяців тому

      @@Tyranitar66501 Yeah I found that out, and reset over and over until I got one. And then I found out you can't mix records until you get to mauville anyways, so I had to spend a few hours making my way there. I was hoping to cheat the system by mixing records before then with a save that was already at mauville lol

  • @DogeAnimator75
    @DogeAnimator75 11 місяців тому +1

    I like how all the instruments and sound effects play when it crashes. This would be a great method of creating soundfonts for gba games that don’t use the sappy sound engine

  • @asteria5267
    @asteria5267 11 місяців тому +8

    Knowing the soundfont is actually just tuned in the ROM makes Mother 3’s mechanic of timing combos to the beat make a lot more sense

    • @flint8291
      @flint8291 10 місяців тому +2

      Every song in a game using the Sappy/M4A engine has a BPM attached to it. MOTHER 3 does stuff to check whether you've pressed A to the beat, the ROM does not "tune" the soundfont.

  • @rezexnyx
    @rezexnyx 11 місяців тому

    i’m so glad youtube algorithm brought me back to your channel. used to watch you like almost 10 years ago or less on my old account 🖤

  • @LunarLambda
    @LunarLambda 11 місяців тому +4

    The self-rewriting Pokémon bootleg cartridges are a pretty commonly known thing in the GBA homebrew community because they're an inexpensive way to get rewritable cartridges. Would love to see a video detailing a code

  • @rx_tx
    @rx_tx 11 місяців тому +1

    Loved the video, but especially the Uplink game soundtrack for the "coding/RE heavy" sections.

  • @Wizzkidwas
    @Wizzkidwas 11 місяців тому +6

    This might be one of the wackiest things I've ever seen pulled off

  • @mmmmmmmmmmmmm
    @mmmmmmmmmmmmm 11 місяців тому +1

    great video and i love the new way you're taking things (not that i had anything against your previous videos)!

  • @mrdoognoog
    @mrdoognoog 11 місяців тому +10

    Always wondered about that "save file will be loaded" message, i have a bootleg emerald that does the same
    Mine also had this really annyoing issue of muting one of the audio channels after saving which was fun

  • @CraftMine1000
    @CraftMine1000 11 місяців тому +2

    The fact this boots at all is just astounding, wow, great work!

  • @Elevatorisbest
    @Elevatorisbest 11 місяців тому +3

    This video better blow up in the algorithm because it's awesome

  • @wingedmirage4226
    @wingedmirage4226 11 місяців тому +1

    Pokémon games truly are the king of “learning how code works in the most unorthodox fashion possible”, aren’t they? Granted, this is something that isn’t restricted to just Pokémon games, but we got here through a channel that dedicates itself to exploring and explaining Pokémon glitches.

  • @TheSmegPod
    @TheSmegPod 11 місяців тому +4

    listening to those instrument samples I've just noticed that RSE uses the same soundfont as Mother 3

  • @wernerderchamp
    @wernerderchamp 11 місяців тому +1

    Its crazy how much stuff is still done with these old games.
    Makes me wonder what comes next. Until then I'll be waiting for another vid in my inbox

  • @katieg1071
    @katieg1071 11 місяців тому +10

    My biggest question from all of this is where those *voices* are used. The one at 1:02 put in with all the instruments, and the "Ah Ee Oo Ei Ou Nn" sounds you showed in the emulator vs bootleg cart comparison. Like, those are the Japanese vowel sounds (plus ん, the only consonant capable of standing on its own), but why are they here? Where were these used...?

    • @LunaAlex64
      @LunaAlex64 11 місяців тому +8

      The ‘Ah Ee Oo Ei Ou Nn’ instruments are used for the guy in one of the Pokémon Centers who can “sing” a phrase you give him! I have absolutely zero clue about the voices at 1:02 though

    • @FlyingUltraSound
      @FlyingUltraSound 11 місяців тому +1

      I wonder if the GBA has that sample recording due to something...
      I wonder if the GBA uses MIDI or supports it?
      Many keyboards, music softwares, or any MIDI-related music thing tool, mostly no matter what brand, have a choir instrument, and sometimes a female voice and a male voice.
      I'm still unsure what this is, though, too.
      (or maybe it could be WAV samples!)

  • @andriypredmyrskyy7791
    @andriypredmyrskyy7791 11 місяців тому +1

    I loved this so much. Sigbovik level work! I need more creators in my life like you and suckerpinch.

  • @jagger8595
    @jagger8595 11 місяців тому +4

    I had no idea there were samples of human voice in the GBA games

  • @Pixiuchu
    @Pixiuchu 11 місяців тому

    As someone who's been jumpscared by the GBA crash sound dozens of times and it continues to jumpscare me even when I expect a crash, this is so cool. Possibly the coolest video I've seen, and normally I just skip over text-only-videos.

  • @wobbachustash
    @wobbachustash 11 місяців тому +4

    Unrelated to the topic, but for those wondering what the song in 6:22 is, it's the goldenrod city game corner theme.
    I really liked hearing it and wanted to hear it in a different video. Sadly it's not credited in the description... but thank Arceus for song finder apps!

  • @GenericMcName
    @GenericMcName 11 місяців тому

    Dude, you're an absolute Gigachad for managing to dump a ROM just from glitch noises and a hunch.

  • @cattenchaostherandomperson
    @cattenchaostherandomperson 11 місяців тому +4

    THE KING IS ALIVE

  • @psionikal
    @psionikal 11 місяців тому

    i freaked out when you started playing the uplink music during the "reverse engineering" segment. truly a master hax0r.

  • @underrated1524
    @underrated1524 11 місяців тому +3

    The ROM being on rewritable memory sounds very cursed. I assume that if the game gets tricked into writing garbage there - either by a crash or by ACE (pomeg glitch, etc) - you brick your cart. But I suppose you wouldn't expect anything less from a bootleg

  • @glitchy_weasel
    @glitchy_weasel 11 місяців тому +1

    Wow, you really went above and beyond for this video!
    That weird replica rom code definitely looks interesting, interesting that rewriting the game is cheaper for bootleggers than use extra chips for the save.

  • @Hijiri_MIRACHION
    @Hijiri_MIRACHION 11 місяців тому +3

    So that's what the GBA crash sound does. It apparently becomes a full game with enough mixing and shuffling around.
    Now I wonder how long the extended Pokeball sequence when you have zero Pokémon in these games is, and if they actually get healed at the end, and any other effects it may have...

  • @NitroDubzzz
    @NitroDubzzz 11 місяців тому +1

    Using the windows Vista window layout like a psychopath. Would expect nothing less from the madman himself

  • @SneedFeedAndSeed
    @SneedFeedAndSeed 11 місяців тому +3

    A I E O UM **fnaf doorbell sound**

  • @double-helix
    @double-helix 11 місяців тому +1

    This is unbelievably technically impressive im so glad youtube recomended this to me

  • @ouroya
    @ouroya 11 місяців тому +2

    the rom being filled with $FF instead of $00 is likely due to the exact memory chips used and the way they were flashed, some chips, before flashing, are filled with $FF, and some with $00, though of course they can be overwritten to be one or the other. the rom was likely dumped and then the extra $00 bytes truncated (possibly due to not knowing what address to stop reading at, depending on how early the replica was made) then flashed onto a chip that had come off the assembly line filled with $FF and not overwritten with $00 bytes. this is further reinforced by the fact that they obviously used a very different type of chip (source: i have encountered both in my experience working with the memory of microprocessors and other chips)

  • @andreychen6523
    @andreychen6523 11 місяців тому

    Definitely would love to see a deeper dive into this weird code! Also great vid! I still can't believe what makes this process unreliable is the blocks of silence rather than the rest of the data lol.

  • @ValerieNight
    @ValerieNight 11 місяців тому +15

    5:00 Was that a cat ear headband?

  • @cybersandalphon
    @cybersandalphon 11 місяців тому +1

    This is now my favorite video on the whole internet. This method sounds kinda deranged but I mean it in most positive way possible. Cool to see people having fun with their hobbies/interests :)

  • @MuzikBike
    @MuzikBike 11 місяців тому +5

    My music taste is so thoroughly deformed and mutilated that the GBA crash sound genuinely is enjoyable to listen to in its own demented way.
    A question arises: since some games for some systems are stored via cassettes (the same type that music comes on), is it possible to dump the ROM from an audio recording of those?

    • @Vickyorlo
      @Vickyorlo 11 місяців тому +1

      For a game distributed on a cassette, an audio recording would be a de facto dump of the game's ROM. Look up those 3.5mm to cassette adapters, those things are kinda crazy in how braindead simple they are despite working perfectly. For a system that reads games off a cassette they're essentially a "flash cart" when combined with anything that can play an audio file of the dumped audio, like a phone (if your phone has a 3.5mm jack).