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
 

diggeloid

Alex
Member
Joined
Apr 29, 2019
Messages
438
Trophies
0
Age
33
Location
gbatemp.net
XP
1,949
Country
United States
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.
Well, for what it's worth, I just tried to build it for Vita, and it built very easily... unfortunately, it runs at like 7 FPS even when overclocked. If someone has the time, it might be possible to get this running well.
 

lordelan

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
5,615
Trophies
1
Age
43
XP
5,931
Country
Germany
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.
Also this should allow playing it in any resolution and aspect ratio. Theoretically.
Really cool news.

I wonder at which point in time we will have AI decompilations of literally anything we want.
I mean, a good enough AI with enough horse power should be able to decompile even the newest AAA games shortly after release. Wonder where that'll take us. No more closed source games would be possible, except their code just makes calls to some cloud sh*t they have running and the game sits just there instead of our local machines.
 

mituzora

Well-Known Member
Member
Joined
Aug 23, 2016
Messages
286
Trophies
0
Age
31
XP
857
Country
United States
I love these projects! it reminds me of when I'd go find source mods like eduke32 and Quake2XP. can't wait to see what people come up with this. compile it for PC with the CD quality audio mod done for flash carts, widescreen support, and the ability to load your own maps. that'd be dope as hell
 

MikaDubbz

Well-Known Member
Member
Joined
Dec 12, 2017
Messages
3,583
Trophies
1
Age
35
XP
6,454
Country
United States
Gotta love decomps. Though I am less excited for those that are games from much older hardware. If my Wii U can already play the game fantastically, then new options for a build better excite. Like Mario 64 getting a free moving camera and native widescreen (or going all out with ridiculous improvements like Render96). But what is ALTTP gonna offer than the original didn't? I mean maybe it too could get native widescreen? That might be cool (though considering the nature of classic 2D Zelda games, this probably wouldn't even look particularly great throughout the game), but I'm not sure what more could be done to the core experience.

Meanwhile, I find Sonic Mania to be fascinating, its a modern game, but it's not a taxing game, it easily can run on the likes of the Wii U or Vita, but fans had to make it happen through decompilations. Which I think is really cool. There are plenty of modern indie games that don't require a powerhouse to play, and for that reason, I'm curious if more games of the like might one day join. A game like Stardew Valley or Golf Story feel like perfect fits for modern decompilations.
 
  • Like
Reactions: x65943

ArgoRV

Well-Known Member
Member
Joined
Sep 23, 2017
Messages
217
Trophies
0
Age
39
XP
699
Country
Venezuela
I know 0 about how this works, but it would be great to have the game free to walk through the field without the screens swiping up,down,left,right at border of each section
also i guess widescreen support is coming soon, and hopefully some textures and hd sound
 

Dragon91Nippon

Well-Known Member
Member
Joined
May 14, 2020
Messages
321
Trophies
0
XP
685
Country
Japan
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
Also even if they did win they aren't going to be able to put the genie back in the bottle anyway, someone (who isn't a Nintendo Ass kisser) will eventually illegally re-upload it.
 

mituzora

Well-Known Member
Member
Joined
Aug 23, 2016
Messages
286
Trophies
0
Age
31
XP
857
Country
United States
I know 0 about how this works, but it would be great to have the game free to walk through the field without the screens swiping up,down,left,right at border of each section
also i guess widescreen support is coming soon, and hopefully some textures and hd sound
HD sound is almost a given. you should take a look at the LTTP port for SNES that uses the coprocessor found on everdrives to produce CD quality audio. I can't remember the custom chip name, but it's really cool
 

Dragon91Nippon

Well-Known Member
Member
Joined
May 14, 2020
Messages
321
Trophies
0
XP
685
Country
Japan
Gotta love decomps. Though I am less excited for those that are games from much older hardware. If my Wii U can already play the game fantastically, then new options for a build better excite. Like Mario 64 getting a free moving camera and native widescreen (or going all out with ridiculous improvements like Render96). But what is ALTTP gonna offer than the original didn't? I mean maybe it too could get native widescreen? That might be cool (though considering the nature of classic 2D Zelda games, this probably wouldn't even look particularly great throughout the game), but I'm not sure what more could be done to the core experience.

Meanwhile, I find Sonic Mania to be fascinating, its a modern game, but it's not a taxing game, it easily can run on the likes of the Wii U or Vita, but fans had to make it happen through decompilations. Which I think is really cool. There are plenty of modern indie games that don't require a powerhouse to play, and for that reason, I'm curious if more games of the like might one day join. A game like Stardew Valley or Golf Story feel like perfect fits for modern decompilations.
The Games I'm looking forward to being decompiled are Twilight Princess and Windwaker since that would mean the Fabled Switch ports would be possible in Homebrew, Also SMG2 would be a good one, I have a Feeling Nintendo won't ever port those officially so Decomp is the only way.
 
  • Like
Reactions: SAIYAN48

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
2,945
Trophies
1
XP
3,499
Country
Canada
That's the thing, then they're illegal. You have to clean room code it.
This has all been hashed out in the courts repeatedly. You don't have to "clean room" code something in order for it to be suitably legal.

HD sound is almost a given. you should take a look at the LTTP port for SNES that uses the coprocessor found on everdrives to produce CD quality audio. I can't remember the custom chip name, but it's really cool
Are you thinking of the MSU-1? Pretty much all it really does is read audio or video from an external file. (But then, perhaps that's all it really needs to do.)
 

mituzora

Well-Known Member
Member
Joined
Aug 23, 2016
Messages
286
Trophies
0
Age
31
XP
857
Country
United States
This has all been hashed out in the courts repeatedly. You don't have to "clean room" code something in order for it to be suitably legal.

Are you thinking of the MSU-1? Pretty much all it really does is read audio or video from an external file. (But then, perhaps that's all it really needs to do.)
Yup, that's the one. thanks!

looking it up, it allows the cartridge to use up to 4 GB for the ROM, so you can put in things like FMV cutscenes, but it also handles the CD-quality audio streams to free up the the other native SNES channels for sound effects, so it's a pretty capable chip all things considered.
 
General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
    K3N1 @ K3N1: 🍑