Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Nintendo Games

'Legend of Zelda: A Link to the Past' Reverse-Engineered for Linux, Switch, Mac, and Windows (neowin.net) 41

More than 30 years ago Nintendo released the third game in its Legend of Zelda series — appropriately titled, "A Link to the Past."

This week Neowin called it "one of the most beloved video games of all time," reporting that it's now been reverse-engineered by a GitHub user named Snesrev, "opening up the possibility of Link to the Past on other platforms, like Sega's 32X or the Sony Playstation." This reimplementation of Link to the Past is written in C and contains an astonishing 80,000 lines of code. This version is also content complete, with all the same levels, enemies, and puzzles that fans of the original game will remember.

In its current state, the game requires the PPU and DSP libraries from LakeSNES, a fast SNES emulator with a number of speed optimizations that make the game run faster and smoother than ever before. Breaking from the LakeSNES dependency, which allows for compatibility on modern operating systems, would allow the code to be built for retro hardware. It also offers one of the craziest features I have seen in a long time; the game can run the original machine code alongside the reverse-engineered C implementation. This works by creating a save-state on both versions of the game after every frame of gameplay, comparing their state and proving that the reimplementation works.... Snesrev now works alongside 19 other contributors.

Despite the immense amount of work that went into this project, the result is brilliant. Not only does the game play just like the original, it also includes a number of new features that were not present in the original. For example, the game now supports pixel shaders, which allow for even more stunning visuals. It also supports widescreen aspect-ratios, giving players a wider field of view, making the game even more immersive on modern displays. Another new feature of this reimplementation is the higher quality world map. The new map is much more detailed and gives players a better sense of the world they are exploring....

The amount of time, effort, and talent that went into creating this is simply astonishing.

Thanks to Slashdot reader segaboy81 for sharing the article.
This discussion has been archived. No new comments can be posted.

'Legend of Zelda: A Link to the Past' Reverse-Engineered for Linux, Switch, Mac, and Windows

Comments Filter:
  • by Anonymous Coward

    This will get taken down so fast you won't know what happened.

    It's almost certainly made from decompiled original code. Nintendo gonna set fire to yo ass.

    • Re:And it's gone (Score:5, Informative)

      by jacks smirking reven ( 909048 ) on Saturday February 04, 2023 @11:12PM (#63266239)

      The Ars article mentions this at the end;

      While projects based on a Nintendo property are often killed by legal threats just as they come to attention, this reverse-engineered project, which specifically makes no use of any original game assets, has a good chance of staying alive. Reverse-engineered code for Grand Theft Auto III and Vice City remains online after Github agreed to a Digital Millennium Copyright Act counterclaim. Courts have previously struck down reverse-engineering-based projects based on end-user license agreements (EULAs). But fully decoupled projects from the likes of the Zelda Reverse Engineering Team march on, giving hope that even more games get their shot at modern tuning.

      https://arstechnica.com/gaming... [arstechnica.com]

    • This would depend on how it was reverse engineered.

      If they used a clean room design to reverse engineer it, it would technically be legal. Doubt that would stop Nintendo and their lawyers, but would be legal.
  • by ArhcAngel ( 247594 ) on Sunday February 05, 2023 @12:21AM (#63266323)
    I had to follow the link to the developer (SNESREV) and select the Zelda3 Github page. I followed the instructions for a Windows machine and viola! The only step that some view as a grey area is obtaining the Zelda3 ROM. I have the cartridge so no grey here. With the default settings I was getting over 300 FPS.
    • by fafalone ( 633739 ) on Sunday February 05, 2023 @02:56AM (#63266471)
      Nintendo, and the law in the US, would still consider it illegal to download a pirate ROM even if you own the cartridge, so it's still a gray area unless you ripped it yourself. Unless you're talking about morally, but then I wouldn't consider it a moral gray area to pirate something that should be well beyond copyright had companies like Nintendo not corruptly paid off politicians to extend it to de facto infinity years.
    • Same, only difference being that it builds on linux just fine.

      Time to run round the side of the castle and fall into the cellar.

      • by DeBaas ( 470886 )

        same here on Linux. I also tried the rom for Parallel Worlds, but as expected that didn't work.

        I have bought the game a few times, including on the SNES mini, and on the DS3. If they released it on the switch similar to what they did with Link's awakening I'd buy it again on the day of release.
        I really never got into the 3d Zelda's and keep playing the old ones and custom roms.

        • I didn't get into the other Zeldas, something about the artwork in a link to the past had appeal to me that others didn't. This and Super Mario World seemed to be 16bit at its height.

    • I have the cartridge so no grey here.

      Actually is still 'grey' unless you happen to have the means to dump your own rom image.

  • "Despite" (Score:5, Insightful)

    by yo303 ( 558777 ) on Sunday February 05, 2023 @01:21AM (#63266399)

    > Despite the immense amount of work that went into this project, the result is brilliant.

    I don't think you know what that word means.

In the long run, every program becomes rococco, and then rubble. -- Alan Perlis

Working...