7 ms·
The Legend of Zelda: Twilight Princess Decompilation
- deleted 3y ago[deleted]
- Lammy 3y agoCute usage of `.link` TLD lol https://zsrtp.link/about https://zsrtp.link/about
- gmgmgmgmgm 3y agoCnD coming ASAP or does this kind of thing get a pass?
- minimaxir 3y agoMany Nintendo games (including Legend of Zelda: Ocarina of Time) have been decompiled and have not been attacked by the Nintendo Ninjas: https://github.com/zeldaret/oot https://github.com/zeldaret/oot The more pressing legal concern here is the use of game assets, which these decompilations work around by requiring the user to provide a ROM to extract them first.
- vore 3y agoI don't think that's a real legal defense. Code is just as subject to copyright as game assets (why wouldn't it be? it's just another kind of game asset), and the whole extracting assets thing making decompilations free from copyright infringement that gets bandied about is complete armchair lawyering. It's only by Nintendo's good graces these are still allowed to be hosted on GitHub.
- chungy 3y agoIt's nearly trivial to get a file copy of the game disc if you own a Wii and the game. No copyright infringement needed to get the assets. Even still, the reverse engineering part to put the executable code into C++ is definitely copyright infringement.
- jandrese 3y agoReverse engineering isn't copyright infringement. Distributing the reverse engineered source code is probably infringement however.
- ska 3y ago> Distributing the reverse engineered source code is probably infringement however. Probably not if it actually reverse engineered (with a firewall) but that's not what they are doing (i.e. decompilation isn't' reverse engineering)
- EMIRELADERO 3y agoDecompilation is an essential (although not mandatory for some cases) part of reverse-engineering. As for decompilation projects that have only reconstructed source code and no game media assets, it's probably fair use.
- ska 3y agoIt’s an often used tool, sure , but for legal protection of reverse engg, your implementation side is firewalled from all of that. It's not likely to be fair use to distribute, fwiw.
- vore 3y agoIt is not fair use in itself: https://courses.cs.duke.edu/cps182s/fall02/cscopyright/Copyrights/Copyright-Fairuse.htm https://courses.cs.duke.edu/cps182s/fall02/cscopyright/Copyr... Decompiling object code produces an approximation of the original source code. Merely making this rough copy would usually violate the copyright holder's exclusive rights, even if the person who decompiled the code only used it as a preliminary step in making another work. The only reason anyone believes this is fair use is because the copyright holders have chosen not to enforce it.
- deleted 3y ago[deleted]
- ace2358 3y agoVery cool! These decompilation projects are getting more and more ambitious! We’ve had androids games ported to the PS vita, Super Mario 64 running on a modded PS4, I’ve got diable 1 one my switch. It’s great!! Thanks to the hard workers!!
- speps 3y agoWhat was the Android game ported to PS Vita? It sounds challenging but not nearly as much given the Vita CPU is ARM and GPU supports OpebGL ES 2. Lots of the Vita components were phone components.
- smith7018 3y agoThe ports work because the Vita has an Arm v7 processor and Android games can run on the bare metal. The developers figured out that they just needed to patch some methods (presumably IO, gpu calls, and OS methods) to work on the Vita’s OS. https://wololo.net/2022/11/10/ps-vita-android-ports-30-games-milestone-reached/ https://wololo.net/2022/11/10/ps-vita-android-ports-30-games...
- pjmlp 3y agoAndroid games fully written with the NDK, not Android games in general.
- causi 3y agoOne of the spookiest to me is Mario 64 running on the Funkey S.
- doomlaser 3y ago> Our long-term goal is to produce a highly documented and complete C++ codebase for every version of Twilight Princess. Having clear and readable source code will aid speedrunners, glitch hunters, and modders curious about how particular parts of the game work. > Our primary goal is a full decompilation of the GameCube USA version with appropriate documentation. After this is achieved, we plan to decompile the other versions of the game. Cool project.
- deleted 3y ago[deleted]
- okl 3y agoI guess that proposing symbol names could be an apt use case for AI. Some papers are referenced here: https://github.com/nforest/awesome-decompilation#ai-based-decompilation https://github.com/nforest/awesome-decompilation#ai-based-de...
- geiagal 3y agothanks for the link! I do a lot of hand decompilation and I wonder if AI could be helpful...
- a_e_k 3y agoI saw the idea in a link and a discussion here on HN about a year ago: G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering - https://news.ycombinator.com/item?id=34250872 https://news.ycombinator.com/item?id=34250872 - Jan 2023 (44 comments)
- zamadatix 3y agoPerhaps a better landing page to start from if you haven't seen the other efforts before either: https://zelda64.dev/ https://zelda64.dev/
- 99_00 3y agoPlaying twilight princess made me appreciate the beauty of twilight in nature - the colors, lighting, shadows, sounds.
- explaininjs 3y agoIt made me appreciate the goth girls in nature too… https://www.bing.com/images/search?q=midna https://www.bing.com/images/search?q=midna
- popcalc 3y ago[flagged]
- dasmascusstuui 3y ago[dead]
- askiiart 3y agoLet me help you: https://search.sethforprivacy.com/search?q=midna&tbs=&lr=lang_en&hl=en&safe=off&tbm=isch https://search.sethforprivacy.com/search?q=midna&tbs=&lr=lan...
- shampto3 3y agoI’ve been having a blast playing an online multiplayer mod of ocarina of time for the PC port that was made from a decompilation a while back. I’m excited to see the fun stuff that is made from other decompilation projects like this.
- jcul 3y agoCould you share a link?
- shampto3 3y agoThanks, I should have included it in the original comment. https://github.com/garrettjoecox/anchor https://github.com/garrettjoecox/anchor This is a fork of the Ship of Harkinian PC port for ocarina of time. If you just want to play the normal game on PC, you can go to the original repo here: https://github.com/HarbourMasters/Shipwright https://github.com/HarbourMasters/Shipwright
- garrettjoecox 3y agoHey that’s me. Glad you’re enjoying it.
- Icathian 3y agoMan I love HN. Also, thanks for making this. It looks amazing.
- fho 3y agoThat's literally what I dreamed about as a little kid :-)
- Cypher 3y agohow do you play that one?
- gmerc 3y agoSooner or later LLMs will trivially shift code from one language to another too, which will be fun
- CM30 3y agoThe most interesting thing to see here will be what the modding scene does once/if the project is finished. Because generally, decompiled games are a hell of a lot easier to mod in any notable way than ones where you have to code any additions in assembly language, and it gets easier still when someone ports it to PC or what not. Just look at Super Mario 64. Since that game got decompiled and ported, we've since the number of custom elements in your average ROM hack skyrocket, and the complexity of some of the projects people have made using the engine reach ridiculous degrees. Prior to this, we mostly only saw custom powerups, enemies, bosses and objects in hacks by Kaze Emanuar. Post this happening, such things pop up in contest and game jam hacks made in a few weeks. Same thing with Ocarina of Time, and other affected games. When people understand the source code (and then when it becomes much easier to modify), the complexity of a community's work goes up tenfold. So yeah, it could be interesting to see whether any ambitious Twilight Princess mods start development after this, assuming it gets finished. I don't think there's much of a scene for those right now either, so this could be what kickstarts said community in general too.