The Legend of Zelda: A Link to the Past Decompilation project emerges

legend-of-zelda-a-link-to-the-past---button-3-1559683061447.jpg

Out of the blue, and without any kind of mention, a mostly complete decompilation project coded in C/C++ from the SNES classic, The Legend of Zelda: A Link to the Past, has emerged on GitHub under the MIT license.

The project was released around 9 days ago, on August 14th, and seems to be playable from start to end.
Right now the decompilation is compatible with Windows (compilable with Visual Studio) and Linux (using SDL2 and Python).
At the moment, only keyboard is supported for controls, but those interested in contributing can do so through GitHub.

As with other decompilation projects, the repository doesn't include any of the original game's assets.
The project requires you to previously own and provide your own A Link to the Past ROM to extract all of the game's assets and begin the compilation afterwards.

:arrow: Link (no pun intended):
https://github.com/snesrev/zelda3
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,604
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,280
Country
Canada
Oh heck this is actually awesome!
I wonder what kind of stuff could be made out of it now 👀
Mainly interested by the maps creation, the music engine, and actors/sprites management
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,272
Trophies
2
XP
35,327
Country
Mexico
Oh heck this is actually awesome!
I wonder what kind of stuff could be made out of it now 👀
Mainly interested by the maps creation, the music engine, and actors/sprites management

I'm really interested in the map stuff more than anything.
I am currently making a disassembly to make A Link to the Past Redux open source, and the only problem I had is the map stuff doesn't seem to be keen on working with FastROM. That's where I hit a wall.

All in all, it's nice to see all these great games becoming open source and available in multiple platforms.
 

diggeloid

Alex
Member
Joined
Apr 29, 2019
Messages
473
Trophies
1
Age
34
Location
gbatemp.net
XP
2,445
Country
United States
Wow that's not a decompilation, it's a reimplementation, like OpenMW is for Morrowind. Also:

Additionally, it can be configured to also run the original machine code side by side. Then the RAM state is compared after each frame, to verify that the C++ implementation is correct.
That's cool as hell! If it works, this can be verified to basically be a 1:1 recreation of the original.
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,272
Trophies
2
XP
35,327
Country
Mexico
You know nitnendo are absolutely seething.m about the source code to all their games being decompiled.

Oh I'm sure they're fuming out of their asses.
And the best part about all this is that they can't do jackshit about it, because they gamble losing on court due to precedented cases that Sony and other companies lost already lol
 

diggeloid

Alex
Member
Joined
Apr 29, 2019
Messages
473
Trophies
1
Age
34
Location
gbatemp.net
XP
2,445
Country
United States
Vita version pls!
This should be really straightforward since it's just using SDL. Although, it would be a pain in the ass to install/distribute legally since it requires a ROM to build. People would need to compile it themselves, which doesn't seem worth the effort because if you have the ROM you can just run that through retroarch lol.

Maybe if it's refactored in a way to load the ROM at runtime it would make sense. That way people can just install the VPK and will have to put their legally obtained ROM onto their memory card. No need to build it manually.
 

TraderPatTX

Well-Known Member
Member
Joined
Jun 25, 2022
Messages
1,793
Trophies
1
Age
47
Location
Florida
XP
1,822
Country
United States
ALTTP is easily one of my favorite Zelda games. I'm pretty sure I got it for Christmas back in '92. Looking forward to see what comes of this project.
 

ShadowOne333

QVID PRO QVO
OP
Editorial Team
Joined
Jan 17, 2013
Messages
12,272
Trophies
2
XP
35,327
Country
Mexico
This should be really straightforward since it's just using SDL. Although, it would be a pain in the ass to install/distribute legally since it requires a ROM to build. People would need to compile it themselves, which doesn't seem worth the effort because if you have the ROM you can just run that through retroarch lol.

Maybe if it's refactored in a way to load the ROM at runtime it would make sense. That way people can just install the VPK and will have to put their legally obtained ROM onto their memory card. No need to build it manually.

Should be easy enough to make a tool that can compile the code and all the user has to do is put in their own ROM.
That's how the other decomp projects do it for installers and such, Ship of Harkinian handles it this way.
 
  • Like
Reactions: niuus

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Float like a butterfly burns when I pee lol
    +1
  • BigOnYa @ BigOnYa:
    So does that mean your date was not good? It burns now?
    +1
  • K3Nv2 @ K3Nv2:
    Got two new stds in one night
    +1
  • BigOnYa @ BigOnYa:
    Giggity
    +1
  • The Catboy @ The Catboy:
    I don't bite! Minus the times when I did bite
  • The Catboy @ The Catboy:
    Like 5 minutes ago
  • K3Nv2 @ K3Nv2:
    Billie needs her lunch
  • K3Nv2 @ K3Nv2:
    Ffs papa brought back the cheeseburger pizza it's like the only decent pie they had since the 80s
  • BigOnYa @ BigOnYa:
    I'm not a fan of papa johns, but that does sound good. We hardly order out pizza, I like making my own, but when we do its donatoes
  • K3Nv2 @ K3Nv2:
    I get them like once every two months anymore
  • K3Nv2 @ K3Nv2:
    Just because it's half a mile from where I live
  • BigOnYa @ BigOnYa:
    Request next time you order, that Shaq deliver it to you
  • K3Nv2 @ K3Nv2:
    I want him to buy me a chain also
  • K3Nv2 @ K3Nv2:
    Open it right next to the one we have
    +1
  • BakerMan @ BakerMan:
    guys should i make a new thread and just count the amount of posts until kyle, luke or leo joins the thread for fun?
  • BakerMan @ BakerMan:
    kyle's fine, just waiting for that wario joke

    luke and leo though, they yap until the thread's enjoyability is about halved
  • K3Nv2 @ K3Nv2:
    Leo is Luke's alterego when he gets hard
  • BigOnYa @ BigOnYa:
    Luke is gone, he got banned. And I'm surprised Leo hasn't yet
  • K3Nv2 @ K3Nv2:
    Subway was actually pretty decent tonight
  • BigOnYa @ BigOnYa:
    Wut you get, a seafood and psi salad sub
  • K3Nv2 @ K3Nv2:
    Psi had my footlong meatball special
    +1
  • PandaPandel @ PandaPandel:
    i want a meatball sandwich
    now
  • K3Nv2 @ K3Nv2:
    Gay
  • BigOnYa @ BigOnYa:
    Bout time you came out and admitted it
  • K3Nv2 @ K3Nv2:
    Bigonya talks to himself often
    +1
    K3Nv2 @ K3Nv2: Bigonya talks to himself often +1