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,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
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,227
Trophies
2
XP
34,537
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
470
Trophies
0
Age
34
Location
gbatemp.net
XP
2,412
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,227
Trophies
2
XP
34,537
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
470
Trophies
0
Age
34
Location
gbatemp.net
XP
2,412
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,816
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,227
Trophies
2
XP
34,537
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
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    BigOnYa @ BigOnYa: I had to find and get him an old style flip phone even without text, cause thats what he wanted...