[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6609":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":8,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":8,"rankLanguage":8,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":8,"pushedAt":8,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":29,"discoverSource":30},6609,"zelda3","snesrev\u002Fzelda3","snesrev",null,"https:\u002F\u002Fdiscord.gg\u002FAJJbJAzNNJ","C",4649,420,87,63,0,2,5,48,8,29.87,"Other",false,"master",true,[],"2026-06-12 02:01:27","# Zelda3\r\nA reimplementation of Zelda 3.\r\n\r\nOur discord server is: https:\u002F\u002Fdiscord.gg\u002FAJJbJAzNNJ\r\n\r\n## About\r\n\r\nThis is a reverse engineered clone of Zelda 3 - A Link to the Past.\r\n\r\nIt's around 70-80kLOC of C code, and reimplements all parts of the original game. The game is playable from start to end.\r\n\r\nYou need a copy of the ROM to extract game resources (levels, images). Then once that's done, the ROM is no longer needed.\r\n\r\nIt uses the PPU and DSP implementation from [LakeSnes](https:\u002F\u002Fgithub.com\u002Felzo-d\u002FLakeSnes), but with lots of speed optimizations.\r\nAdditionally, 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.\r\n\r\nI got much assistance from spannerism's Zelda 3 JP disassembly and the other ones that documented loads of function names and variables.\r\n\r\n## Additional features\r\n\r\nA bunch of features have been added that are not supported by the original game. Some of them are:\r\n\r\nSupport for pixel shaders.\r\n\r\nSupport for enhanced aspect ratios of 16:9 or 16:10.\r\n\r\nHigher quality world map.\r\n\r\nSupport for MSU audio tracks.\r\n\r\nSecondary item slot on button X (Hold X in inventory to select).\r\n\r\nSwitching current item with L\u002FR keys.\r\n\r\n## How to Play:\r\n\r\nOption 1: Launcher by RadzPrower (windows only) https:\u002F\u002Fgithub.com\u002Fajohns6\u002FZelda-3-Launcher\r\n\r\nOption 2: Building it yourself\r\n\r\nVisit Wiki for more info on building the project: https:\u002F\u002Fgithub.com\u002Fsnesrev\u002Fzelda3\u002Fwiki\r\n\r\n## Installing Python & libraries on Windows (required for asset extraction steps)\r\n1. Download [Python](https:\u002F\u002Fwww.python.org\u002Fftp\u002Fpython\u002F3.11.1\u002Fpython-3.11.1-amd64.exe) installer and install with \"Add to PATH\" checkbox checked\r\n2. Open the command prompt\r\n3. Type `python -m pip install --upgrade pip pillow pyyaml` and hit enter\r\n4. Close the command prompt\r\n\r\n## Compiling on Windows with TCC (1mb Tiny C Compiler)\r\n1. Download the project by clicking \"Code > Download ZIP\" on the github page\r\n2. Extract the ZIP to your hard drive\r\n3. Place the USA rom named `zelda3.sfc` in the root directory.\r\n4. Double-click `extract_assets.bat` in the main dir to create `zelda3_assets.dat` in that same dir\r\n5. Download [TCC](https:\u002F\u002Fgithub.com\u002FFitzRoyX\u002Ftinycc\u002Freleases\u002Fdownload\u002Ftcc_20221020\u002Ftcc_20221020.zip) and extract to the \"\\third_party\" subfolder\r\n6. Download [SDL2](https:\u002F\u002Fgithub.com\u002Flibsdl-org\u002FSDL\u002Freleases\u002Fdownload\u002Frelease-2.26.3\u002FSDL2-devel-2.26.3-VC.zip) and extract to the \"\\third_party\" subfolder\r\n7. Double-click `run_with_tcc.bat` in the main dir to create `zelda3.exe` in that same dir\r\n8. Configure with `zelda3.ini` in the main dir\r\n\r\n## Compiling on Windows with Visual Studio (4.5gb IDE and compiler)\r\nSame Steps 1-4 above\u003Cbr\u002F>\r\n8. Double-click `Zelda3.sln`\u003Cbr\u002F>\r\n9. Install the **Desktop development with C++** workload with the VS Installer if you don't have it already (it should prompt you to do this).\u003Cbr\u002F>\r\n10. Change \"debug\" to \"release\" in the top dropdown\u003Cbr\u002F>\r\n12. Choose \"build > build Zelda3\" in the menu to create `zelda3.exe` in the \"\u002Fbin\u002Frelease\" subfolder\u003Cbr\u002F>\r\n13. Configure with `zelda3.ini` in the main dir\u003Cbr\u002F>\r\n\r\n## Installing libraries on Linux\u002FMacOS\r\n1. Open a terminal\r\n2. Install pip if not already installed\r\n```sh\r\npython3 -m ensurepip\r\n```\r\n3. Clone the repo and `cd` into it\r\n```sh\r\ngit clone https:\u002F\u002Fgithub.com\u002Fsnesrev\u002Fzelda3\r\ncd zelda3\r\n```\r\n4. Install requirements using pip\r\n```sh\r\npython3 -m pip install -r requirements.txt\r\n```\r\n5. Install SDL2\r\n* Ubuntu\u002FDebian `sudo apt install libsdl2-dev`\r\n* Fedora Linux `sudo dnf install SDL2-devel`\r\n* Arch Linux `sudo pacman -S sdl2`\r\n* macOS: `brew install sdl2` (you can get homebrew [here](https:\u002F\u002Fbrew.sh\u002F))\r\n\r\n## Compiling on Linux\u002FMacOS\r\n1. Place your US ROM file named `zelda3.sfc` in `zelda3`\r\n2. Compile\r\n```sh\r\nmake\r\n```\r\n\u003Cdetails>\r\n\u003Csummary>\r\nAdvanced make usage ...\r\n\u003C\u002Fsummary>\r\n\r\n```sh\r\nmake -j$(nproc) # run on all core\r\nmake clean all  # clear gen+obj and rebuild\r\nCC=clang make   # specify compiler\r\n```\r\n\u003C\u002Fdetails>\r\n\r\n## Nintendo Switch\r\n\r\nYou need [DevKitPro](https:\u002F\u002Fdevkitpro.org\u002Fwiki\u002FGetting_Started) and [Atmosphere](https:\u002F\u002Fgithub.com\u002FAtmosphere-NX\u002FAtmosphere) installed.\r\n\r\n```sh\r\n(dkp-)pacman -S git switch-dev switch-sdl2 switch-tools\r\ncd platform\u002Fswitch\r\nmake # Add -j$(nproc) to build using all cores ( Optional )\r\n# You can test the build directly onto the switch ( Optional )\r\nnxlink -s zelda3.nro\r\n```\r\n\r\n## More Compilation Help\r\n\r\nLook at the wiki at https:\u002F\u002Fgithub.com\u002Fsnesrev\u002Fzelda3\u002Fwiki for more help.\r\n\r\nThe ROM needs to be named `zelda3.sfc` and has to be from the US region with this exact SHA256 hash\r\n`66871d66be19ad2c34c927d6b14cd8eb6fc3181965b6e517cb361f7316009cfb`\r\n\r\nIn case you're planning to move the executable to a different location, please include the file `zelda3_assets.dat`.\r\n\r\n## Usage and controls\r\n\r\nThe game supports snapshots. The joypad input history is also saved in the snapshot. It's thus possible to replay a playthrough in turbo mode to verify that the game behaves correctly.\r\n\r\nThe game is run with `.\u002Fzelda3` and takes an optional path to the ROM-file, which will verify for each frame that the C code matches the original behavior.\r\n\r\n| Button | Key         |\r\n| ------ | ----------- |\r\n| Up     | Up arrow    |\r\n| Down   | Down arrow  |\r\n| Left   | Left arrow  |\r\n| Right  | Right arrow |\r\n| Start  | Enter       |\r\n| Select | Right shift |\r\n| A      | X           |\r\n| B      | Z           |\r\n| X      | S           |\r\n| Y      | A           |\r\n| L      | C           |\r\n| R      | V           |\r\n\r\nThe keys can be reconfigured in zelda3.ini\r\n\r\nAdditionally, the following commands are available:\r\n\r\n| Key | Action                |\r\n| --- | --------------------- |\r\n| Tab | Turbo mode |\r\n| W   | Fill health\u002Fmagic     |\r\n| Shift+W   | Fill rupees\u002Fbombs\u002Farrows     |\r\n| Ctrl+E | Reset            |\r\n| P   | Pause (with dim)                |\r\n| Shift+P   | Pause (without dim)                |\r\n| Ctrl+Up   | Increase window size                |\r\n| Ctrl+Down   | Decrease window size                |\r\n| T   | Toggle replay turbo mode  |\r\n| O   | Set dungeon key to 1  |\r\n| K   | Clear all input history from the joypad log  |\r\n| L   | Stop replaying a shapshot  |\r\n| R   | Toggle between fast and slow renderer |\r\n| F   | Display renderer performance |\r\n| F1-F10 | Load snapshot      |\r\n| Alt+Enter | Toggle Fullscreen     |\r\n| Shift+F1-F10 | Save snapshot |\r\n| Ctrl+F1-F10 | Replay the snapshot |\r\n| 1-9 | Load a dungeons playthrough snapshot |\r\n| Ctrl+1-9 | Run a dungeons playthrough in turbo mode |\r\n\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT license. See 'LICENSE.txt' for details.\r\n","Zelda3 是一个塞尔达传说：众神的三角力量的游戏重制项目。该项目使用约70-80千行C代码，完整地重新实现了原版游戏的所有部分，并且可以完全从头玩到尾。它基于LakeSnes项目的PPU和DSP实现进行了大量性能优化，并支持与原版机器码并行运行以验证C语言实现的正确性。此外，Zelda3还增加了许多原版游戏不支持的新特性，如像素着色器支持、宽屏比例显示、更高品质的世界地图以及MSU音频轨道等。此项目适合对复古游戏开发感兴趣或希望在现代平台上体验经典游戏的玩家和技术爱好者。","2026-06-11 03:07:54","top_language"]