• NOT_RICK@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        11 hours ago

        Doesn’t decompiling games make it easy to port? I’m admittedly not an expert on it

        • Eldritch@piefed.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          9 hours ago

          Decompilation means that they can deterministically recompile the code and get the original ROM back minus assets. Someone may be able to wedge in shims of emulator code for the subsystems that need it. But at that point you’re still emulating realistically and still dealing with bottlenecks. The true power of a native Port would open it up to Modern graphics apis larger faster system bus etc that wasn’t available initially. It’s going to take a bit more programming work before you see something that really blows the doors off emulation. But it will happen.

        • iamthetot@piefed.ca
          link
          fedilink
          English
          arrow-up
          7
          ·
          11 hours ago

          It certainly makes it easier but I don’t know if I’d say it’s easy. There’s still work to be done to make it run natively on PC with the kinds of settings you’d expect to see on a PC game.

        • Horsey@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          3
          ·
          11 hours ago

          Having the source code makes it trivial to do whatever you want with the code. Working through an emulator is not fun from a coding perspective.

          • frongt@lemmy.zip
            link
            fedilink
            English
            arrow-up
            5
            ·
            10 hours ago

            Absolutely not true. I guarantee there is a lot of code, especially hacky code, written specifically for the N64’s hardware. Even if you port it to a modern PC, you’re still going to have to address a bunch of unexpected behavior that relied on the quirks of the hardware. Graphics effects in particular are known for this.

            • Natanael@slrpnk.net
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 hours ago

              Source code means you can refactor it to preserve that graphics. But realistically that’s unlikely if nobody wants to put the effort in

          • plantfanatic@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            10 hours ago

            Why would you work through the emulator? You modify the source rom.

            Rom hacks have existed since the GB era of games, that’s not even using an emulator, played straight on the GB with a hacked cart.

            • Horsey@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              3
              ·
              edit-2
              10 hours ago

              Very simply, the source ROM is code that isn’t readable in that way. The emulator interpolates the ROM binary. While ROM hacking is a thing, it’s done through hijacking the emulator’s/platform’s API calls.

              Imagine having an audiobook as an MP3, but you want to rewrite chapter 8. You have all the words, you can hear them, but you don’t have the script. You have to transcribe everything first in order to have the book text. From there, you can edit what the book says, but it’d be easier if you just had the text in the first place.

              • plantfanatic@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                10 hours ago

                Uhh, no, you literally modify the source rom, if you have the source code for the console it’s child’s play. Lots are made with dev kits, or their stolen code.

                And you don’t use an emulator at all. What you’re suggesting means that game could only be played on a singular emulator with a particular bios setting. You could do that, but why?

                • Horsey@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  5 hours ago

                  I’m comparing ROM hacking to decompilation. Decomp completely renders the full source code as readable and compilable for new binaries. ROM hacking doesn’t go that far.

                  • plantfanatic@sh.itjust.works
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    4 minutes ago

                    Decompile is even easier than rom hacking… since you have the rom source code now…. So you can insert files instead of just modifying.

                    Why would you ever work through an emulator?