• dom@lemmy.ca
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 days ago

    I’ve noticed some pretty heavy lag in earthbound that doesn’t exist in the cartridge games

    • Chozo@fedia.io
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      2 days ago

      Earthbound is notoriously difficult to emulate accurately, partly because the cartridge had a unique chip on it used to detect if the code was running on an authentic cart, for piracy detection. The game will run a check on this chip to read its voltage; if it’s not at the correct reading or if it returns a null value, the game would know it was running on a bootleg cartridge.

      What it did then was kinda sinister. It didn’t stop you from playing the game. But it GREATLY increased the spawn rate of enemies, making the game significantly harder. Then, if you managed to make it through the antipiracy hard mode and get all the way to the final boss, the game would intentionally crash itself as soon as the battle begins, and it deleted your save file. You couldn’t finish the game. It let you get 99.99% of the way there, uphill, and then says “get bent” and wipes all your progress.

      • yermaw@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        Ive got a soft spot for shenanigans like this.

        I heard of one for Game Dev Tycoon, where they released a version themselves on the pirate bay, when your game sales suffer from piracy too much to progress and you’re unable to research DRM. Just beautiful.

        • Chozo@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          There was some Michael Jackson rhythm game for the DS that would, when it detected it was a pirated copy, replace all the normal midi instruments with vuvuzelas.

          Arkham Asylum would disable Batman’s glider ability, making pirates plummet to their deaths unexpectedly. Somebody reported this “bug” on the developer’s forums, and a dev replied back “It’s not a bug in the game’s code, it’s a bug in your moral code” before explaining that it was an intentional anti-piracy hook.

          One of the ARMA games (2 or 3, I think) would start playing bugles at random intervals and would make your guns’ accuracy slowly get worse over time.

          Some developers are pretty damn clever at it lmao

      • missingno@fedia.ioOP
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        Those checks were designed to beat cartridge copiers, not emulators. Even the most inaccurate emulators from back in the day didn’t set off those checks.

        There was no special chip on the cartridge either, not sure where you heard that from. What it did was check that the console is the correct region, that SRAM is the correct size (8kb, copiers would have more but emulators would get it right), and then checksum parts of the ROM to confirm it wasn’t tampered with.

        • Chozo@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          There was no special chip on the cartridge either, not sure where you heard that from.

          Hmm, I may be conflating or misremembering some details, possibly involving the Earthbound Zero prototype cartridges that were floating around for a while. It’s been a long time, but I do distinctly remember that very early in SNES emulation on PC, that there was a bit of a struggle getting Earthbound (Mother 3) to pass the piracy checks, though every emulator for the last ~20 years handles it just fine now.

          It may have been a different Nintendo console that did a voltage check. But I’m pretty sure I didn’t just make that up out of nowhere. Now it’s gonna drive me crazy figuring out what I’m trying to remember. :(

          • missingno@fedia.ioOP
            link
            fedilink
            arrow-up
            5
            ·
            2 days ago

            TCRF has the exact implementation documented. One thing that’s commonly missed in the urban legends that get passed around about the game is that the two hardware checks prevent the game from running at all. It’s only the ROM checksums to see if those routines were tampered with that will then trigger hard mode. The point of that is to trick anyone trying to crack the ROM who might think they succeeded if they got their modified ROM to boot on a cartridge copier.

            But this does mean that unless you modify the ROM, no emulator will ever trigger hard mode, an unmodified ROM will either run or it won’t.