[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114667":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"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":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},114667,"ProjectReLink","pixl27\u002FProjectReLink","pixl27","Project ReLink - Zelda OOT Remake Recomp. An unofficial native PC recompilation of Ocarina of Time (the Switch 2 remake), built on your PC from your own copy.",null,"C++",557,34,6,124,0,7,227,332,53,92.63,"GNU General Public License v3.0",false,"main",[],"2026-11-23 03:14:59","2026-11-23 20:05:34","# Project ReLink\n\n\u003Ca href=\"https:\u002F\u002Frecomplauncher.com\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Frecomplauncher.com\u002Fassets\u002Fpress\u002Flauncher\u002Fbadge-light.svg\">\u003Cimg alt=\"Get it on RecompLauncher\" src=\"https:\u002F\u002Frecomplauncher.com\u002Fassets\u002Fpress\u002Flauncher\u002Fbadge-dark.svg\" height=\"48\">\u003C\u002Fpicture>\u003C\u002Fa>\n\n**Zelda OOT Remake Recomp.** An unofficial static recompilation of *The Legend of Zelda: Ocarina of Time* (the Switch 2\nremake) into a native Windows game: the game's code is translated to PC code and compiled on your machine, with no emulator.\n\n[Français plus bas](#français)\n\n**Discord:** [join the Project ReLink server](https:\u002F\u002Fdiscord.gg\u002FRFNUtCQk8j) to ask questions, get help and follow new\nversions. Bugs are still best reported as [issues](https:\u002F\u002Fgithub.com\u002Fpixl27\u002FProjectReLink\u002Fissues) with `relink_log.txt`\nattached, so they don't get lost.\n\n![The Project ReLink launcher](docs\u002Flauncher.png)\n\n**No game files are in this repository.** ReLink builds the game on your PC from your own copy.\n\n## The game version you need\n\nReLink works with **one version of the game**: the Switch 2 remake with its update installed.\n\n| | |\n|---|---|\n| Program | `0400486024DEC000` |\n| Update | v131072 |\n| Build | `e0f3ccfa` |\n\nOther versions do not work: the launcher checks your copy and says so before it installs anything. Your copy is either a\n`.nup` file, or the game's `romfs` and `exefs` folders.\n\n## Install and play\n\n1. Download `ReLink-Setup.exe` from the [latest release](https:\u002F\u002Fgithub.com\u002Fpixl27\u002FProjectReLink\u002Freleases\u002Flatest).\n2. Run it. It downloads ReLink and its tools (about 310 MB), checks them and opens the launcher. Nothing else to install:\n   ReLink brings its own compiler and Python.\n3. Pick your copy of the game. The launcher looks for `.nup` files in Downloads, Desktop and Documents; you can also choose\n   one, drop it on the window, or give the `romfs` and `exefs` folders.\n4. Press **Install**. It takes 10 to 45 minutes depending on your CPU; you can keep using the PC.\n5. Press **Play**. The desktop and Start menu shortcuts open the launcher from then on.\n\n**With RecompLauncher.** Each release also has `ProjectReLink-\u003Cversion>-Windows-x64.zip`, the same tools in one file, with a\n`recomplauncher.json` that lets [RecompLauncher](https:\u002F\u002Frecomplauncher.com) install ReLink, ask for your copy (the same\nversion as above), build the game in the same way and start it. Its settings page writes the game's own\n`relink_options.ini`; the frame rate goes in `relink_env.txt` beside it.\n\nThe first start is long, once (about 16 minutes on our PC): the game prepares its shaders, builds its graphics pipelines\nfor your driver's cache and makes the compute pipelines play is known to use, with a progress screen. It does that part\nagain after a graphics driver update, so that the first visit of a place does not stutter while the driver compiles, and\nafter an update of ReLink that changes the renderer's shader code or state (0.6.3 is one). Since 0.7.6 every PC starts the\nsame way, whatever its RAM. A PC that ran an earlier version with 20 GB of RAM or more has a pipeline cache file in the game\nfolder, `mkw_vk_pipelines.bin` (800 MB and more), that nothing reads any more: since 0.7.8 the game deletes it at its first\nstart, unless `RX_VK_LEAN_PIPELINES=0` in `relink_env.txt` brings back the older start, which uses it.\n\n![Installing](docs\u002Finstall.png)\n\n![The first start: the night ends as the game gets ready](docs\u002Floading.png)\n\n### What your PC needs\n\n- 64-bit Windows 10 or 11, and a CPU with AVX2.\n- A graphics card with Vulkan 1.3 and mesh shaders, with an up-to-date driver: NVIDIA GeForce RTX 20 series or newer, AMD\n  Radeon RX 6000 series or newer, Intel Arc. We only tested on NVIDIA. Since 0.7.9 a card without mesh shaders (GeForce GTX\n  10 series) gets a picture too, as an experiment: about half the frame rate, and some large rocks missing.\n- 8 GB of video memory recommended, 16 GB of RAM or more.\n- About 60 GB free while it installs, and an internet connection for the download.\n\n### Updating\n\nThe launcher says when a new release is out. **Update** downloads only what changed and builds the game again in the same\nfolder, from the game files the folder keeps: your `.nup` is not needed again. Saves (`user`), settings and mods are kept.\n\n### Where the files go\n\n- The game: the folder you choose (`Games\\ReLink` in your user folder by default). Your copy is never changed.\n- ReLink itself: `%LOCALAPPDATA%\\ReLink`. The build files (about 4 GB) are deleted once the game is ready.\n- To uninstall: delete the game folder, `%LOCALAPPDATA%\\ReLink` and the shortcuts.\n\n## Settings\n\nThe launcher sets the display (full screen, 3D render resolution, upscaling, sharpness, ultrawide), the smoothness (60\nframes a second or unlocked, frame generation), the game's language and the controls. It can put the display at 60 Hz while\nyou play, so that every frame lasts the same time on a 100 or 144 Hz display, and puts the display's own rate back\nafterwards. In the game, **Insert** or **F1** opens the same menu, **F11** switches full screen, and **F12** saves a\nscreenshot: the game's picture at its output resolution, without the menu or the FPS counter, as a PNG in the game folder's\n`screenshots` folder (a line over the game says where).\n\n**Upscaler** (since 0.7): what scales the 3D up to the screen. The game's own network by default; **AMD FSR 3.1** on any\ngraphics card (AMD's library comes with ReLink); or **NVIDIA DLSS \u002F DLAA** on an RTX card, after turning on **NVIDIA DLSS** on\nthe launcher's Display page: that builds the game again with NVIDIA's DLSS SDK, downloaded from NVIDIA under NVIDIA's license.\nWith FSR or DLSS, set Sharpness to about 80 %. The frame rates below are measured without them.\n\nThe launcher is in English; French is one click away on its Game page. An Xbox controller or any XInput controller works,\nand so do keyboard and mouse (the keys are listed on the Controls page). Since 0.6.2 the install also brings SDL, which the\ngame uses for the other controllers (Switch Pro, DualSense, DualShock 4): 0.6.1 shipped without it and they did nothing in\nthe game. We have none of them here, so that part is not tested by us.\n\nThe mouse turns the camera after a click in the game's window (Escape frees it). The Insert menu's **Mouse camera** row\nchooses how: as the right stick, or \"Native\", one to one as in a PC game. If the game has no sound, the same menu's\n**Audio output** row (Gameplay) can be set to Stereo; it applies after a restart.\n\n**Item wheel** (Gameplay, off by default): holding R or L shows the item row as a wheel, Twilight Princess style. Point at an\nitem with either stick (or the mouse) and let go: it is on ZR at once. The items are on pages of 8 slots, one set for child\nLink and one for adult Link; Left and Right (or the mouse wheel) turn the page, Y takes an item up to put it in another slot,\nB puts it back. The pages are kept in `wheel_layout.txt` beside `relink_options.ini`. The wheel shows the game's own icons,\nnames (in the game's language) and sounds, which every build takes from your game files into the `wheel` folder.\n**Cycle items** (Gameplay, off by default): a tap of R or L changes the item on ZR without opening the row: Last used\nswaps with the item that was on ZR before, whatever it is; Basic puts the next or the previous arrow, bottle or spell on\nZR; +Bombs the bombs too; +Tools the hookshot, hammer, slingshot and boomerang too. Holding R or L still opens the row\n(or the wheel), a quarter of a second later than without it.\n`HOS_ITEM_WHEEL=0` or `1` and `HOS_CYCLE_ITEMS=0` to `4` in `relink_env.txt` stand\nin for the two rows.\n\n**30, smooth** (launcher, Smoothness tab, Frames per second): for PCs that do not hold 60. Every frame stays on screen for\nthe same number of refreshes (2 on a 60 or 120 Hz display), with vsync, and the game waits for the display before it starts\nthe next frame, so the 30 frames are even instead of swinging between 16 and 50 ms. Game time follows the clock. On a 144 Hz\ndisplay each frame is held 5 refreshes (28.8 fps). `HOS_FPS_CAP=\u003C20-59>` in `relink_env.txt` sets another cap the same way.\n\n**Field of view** (Insert menu, Graphics, 70 to 150 %): the camera's angle in percent of the game's own; the culling follows\nit. `HOS_FOV=\u003Cpercent>` in `relink_env.txt` stands in for the row.\n\n**Left \u002F Right stick dead zone** (Insert menu, Controls, 0 to 50 %, 24 by default, as before): raise it if Link walks or the\ncamera turns on its own (stick drift). The dead zone is round now (a diagonal push near the centre is no longer cut on one\naxis) and what is past it starts just past the game's own dead zone. `HOS_STICK_DEADZONE_L` \u002F `_R=\u003Cpercent>` stand in for\nthe rows.\n\n**ReShade and RenoDX**: ReLink renders through Vulkan, so ReShade must be installed with its Vulkan API and add-on support for\n`relink-game.exe` (in the game folder's `bin`). When ReShade's layer is loaded the game keeps its presents on the graphics queue\nand makes the swapchain's images drawable, which ReShade's effects and RenoDX's HDR output need (`RX_VK_RESHADE=1` forces this,\n`0` turns it off). A RenoDX mod for this game still has to be written for its shaders: ReLink only removes what stopped\nReShade from drawing.\n\n**Travel** (on the Cheats page: `HOS_OOT_CHEATS=1` in `relink_env.txt` shows the Gameplay tab's **Cheats** row, and\nTravel is that page's last row): a page of 190 places to go to, villages, dungeons' entrances, shops, warp points and story spots,\ngrouped by area, for Link's age (Tab or X shows the other age's: going there makes Link that age). Once you have opened the\npage, each place gets a picture taken from your own game the first time Link stays there a few seconds with the menu closed\n(in `teleport_pictures` in the game folder); Y or Backspace on the page takes a place's picture\nagain at the next stay there. Link arrives through the game's own map change, as when he walks in. The places' positions\nand arrival events come from your game files at every build (`teleport_places.bin`, `nx2\u002Fteleport_places.py`).\n\n**Button prompts** (Controls, Nintendo by default): the buttons the game's prompts show, Nintendo's, Xbox's (A, B, X, Y, LB,\nRB, LT, RT, Menu, View) or PlayStation's (cross, circle, square, triangle, L1, R1, L2, R2, Options, Create). Each prompt\nshows the button that presses it, so the letters follow the **Layout preset** and your own bindings: with the Nintendo\npreset, the Switch's A is the right-hand button and shows Xbox's B. The labels are ReLink's own drawings, which every build\nadds to a copy of your game's button font in the `prompts` folder. The three faded letters around the HUD's action\nbutton, which are pictures and not letters of the font, follow too: the renderer puts ReLink's own labels in their place\n(`prompts\\keytex.bin`, made by every build). It applies the next time the game starts. Not changed yet: the ocarina's\nnote buttons, pictures as well, keep the Switch's; and the font has one colour, so the prompts are not coloured. A mod\nthat replaces the button font wins over this row, and the faded letters then stay the Switch's too.\n`HOS_BUTTON_PROMPTS=0`, `xbox` or `playstation` in `relink_env.txt` stands in for it.\n\n## Measured frame rates\n\nOn our PC: **Ryzen 5 5500, GeForce RTX 3060 Ti (8 GB), 16 GB of RAM, Windows 11**.\n\n**No DLSS, no frame generation.** Every number here counts frames the game really rendered: no AI upscaler and no\ngenerated frames were on. The game was capped at 60 frames a second; version 0.6.1, built by the release's own tools as\non a player's PC. \"Native\" is the game's 3D render resolution at 100 %; at 75 % the game's own plain scaling fills the\nwindow. Each figure is one run of about 50 seconds with child Link, from his arrival in the place and through a walk, so\nit includes the loading stall of the arrival.\n\n| Place | Native (100 %) | 75 % |\n|---|---|---|\n| Hyrule Field | 59.6 | 59.9 |\n| Kakariko Village | 59.0 | 59.0 |\n| Hyrule Castle | 58.2 | 59.2 |\n| Lost Woods | 58.5 | 59.6 |\n| Sacred Forest Meadow | 60.0 | 60.0 |\n| Lake Hylia | 58.0 | 58.7 |\n| Zora's Fountain | 56.7 | 58.4 |\n| Market | 54.0 | 55.6 |\n| Inside the Deku Tree | 59.8 | 59.9 |\n| Dodongo's Cavern | 60.0 | 59.9 |\n| Inside Jabu-Jabu's Belly | 59.9 | 59.9 |\n| Bottom of the Well | 60.0 | 60.0 |\n\nAt native resolution the heaviest views of Kokiri Forest's village run at 55 to 56. With adult Link at 75 %, standing, an\nearlier development build of this version gave 60 in Kakariko Village, the Fire Temple and Gerudo's Fortress and 58.0 in\nthe Water Temple; those four were not measured again on the release's build.\n\nVersion 0.6.2 translates the game with a play profile made in 30 places, child and adult Link, temples included (0.6.1's\ncame from 10, child only). The table above was not measured again with it. With the frame rate unlocked, at 75 %, in the\nten of these places whose walk has no loading screen, it gave about 3 % more frames while Link walks (four runs against\nsix of 0.6.1, the two versions run in turn: 69.0 to 71.1 against 66.1 to 69.1 as a geometric mean), most of it in the\ndungeons (Inside the Deku Tree +11 %, Jabu-Jabu +5 to +8 %), and no difference we could establish with Link standing.\n\nVersion 0.6.3 gives the game's occlusion test its real answers. The game draws a box for each object in a depth-only\npass, asks the graphics card how many of its pixels passed, and leaves out of its next frames the objects that got none.\nUntil now every question was answered \"visible\", so nothing was ever left out. With the frame rate unlocked, at 75 %,\nLink standing where he arrives, the same build run with the answers off and then on: Market 54.6 to 61.4 (+12.5 %), Lost\nWoods 61.9 to 67.0 (+8.2 %), Kokiri Forest 76.1 to 79.4 (+4.4 %), and the most draws in a frame went from 2,931 to 2,494.\nTwo earlier pairs of runs gave the Market +12.3 % and +28.8 %, Lost Woods +7.0 %, Kokiri Forest +3.3 % and Hyrule Castle\nno change. Kakariko Village gave +2.6 % and +13.8 %: that place varies by several frames from one run to the next, so\nneither figure says much. The table above was not measured again. The pictures were compared standing in four places, and\nturning and walking in the Market and inside the Deku Tree: nothing was missing. An object that appears one frame late\nwas not looked for frame by frame; `RX_VK_OCC_QUERIES=0` in `relink_env.txt` beside the game turns the real answers off.\n\nVersion 0.6.5 targets the stutter while the camera turns. Turning brings new things into view and lets others go, and the\nrenderer let go of each texture's image on its render thread, as it presented: on NVIDIA's Windows driver that is a call\ninto the system of a millisecond or more, and it was the largest thing the long frames did more of than the others. It is\nnow done on a thread of its own. Camera turned left, right and left for 20 s in the Market, 60 fps cap, 75 %: frames\nover 25 ms went from 71 and 81 (two runs of 0.6.4) to 67, 50 and 66 (three runs of 0.6.5), the 99th percentile from\n36-39 ms to 34-35 ms, the longest frame from 63-70 ms to 53-66 ms. Hyrule Field and Kokiri Forest had few long frames\nbefore and still do. It does not remove the longer stalls of a first visit, while the game loads an area and its\nshaders are read from disk.\n\nVersion 0.6.6 goes on with it. A shader drawn for the first time in a session is read from the shader cache by background\nthreads, several at once, instead of on the thread that draws the frame (then on a PC with less than 20 GB of RAM, and on\nevery PC since 0.7.6, that is every scene shader), and the rest of the driver's cleanup (texture views, images the video-memory reshuffle moved, freed\nbuffers) left the render thread too. The same build with these changes off (`RX_VK_REAP=0`, `RX_VK_ASYNC_LOAD=0`) and on,\nthe Market twice per run, three runs per side taken in turn: frames over 25 ms while the camera turns 59.5 on average\nagainst 47.0, the 99th percentile 38.1 ms against 32.6 (lower in all six pairs), the time lost in long frames at the\nfirst arrival 1,915 ms against 1,590. Against 0.6.5 itself, the background reads alone measured about 10 % less time lost\nat arrivals. The shaders are prepared again at the first start after this update, once.\n\nNot reached or not measured yet: a steady 60 everywhere (the Market stays below, and so do a few places at native\nresolution), boss fights, sessions longer than half an hour, and AMD and Intel cards.\n\n## Black cliffs, blurry rocks, missing models, a slow adult Link: check your dump\n\nSome dumps hold damaged texture files: their first kilobytes are zeros, as the dumper read them. Which files, and how\nmany, differs from one dump to another (ours has 3 of 20,667). The game cannot read such a file, and what it does then\ndepends on what the file was:\n\n- a piece of an area's baked lighting (`RBake_Scene_...`): everything it lights is drawn **black** (a whole cliff side);\n- a texture of a model: the model **never finishes loading**. Rocks and walls are missing and the smooth, blurry ground\n  under them shows instead; and the game loads the model again and again for ever, which keeps more than one CPU core\n  busy (the fairy fountains as an adult: frames lost everywhere).\n\nEvery install and update checks the dump and writes a small mod, `mods\\00-dump-repair` in the game folder, that stands in\nfor the damaged files (since 0.7.2 for two files it knew by name; since 0.7.9 for every damaged texture it finds). A\nstand-in is an intact relative of the same kind and size from your own files, under the damaged file's name: the same\npiece of lighting of the other age (child for adult), or the nearest texture of the same family. It is a relative, not\nthe real texture: lighting from the other age can be a little off, and a piece whose relative has another layout stays\npartly dark. `mods\\00-dump-repair\\README.txt` lists what was damaged, what stands in for it, and what has no stand-in.\nOnly a new dump of the game brings the real files back.\n\nTwo tools in this repository do it by hand, from your own files (nothing of the game is in them):\n\n```powershell\npython -I tools\u002Fdump_check.py \"C:\\Games\\ReLink\\romfs\\Tex\"\npython -I tools\u002Fdump_repair.py \"C:\\Games\\ReLink\\romfs\" \"C:\\Games\\ReLink\\mods\\00-dump-repair\"\n```\n\nThe first counts the damaged files; the second writes the mod, and needs no rebuild: the game reads mods when it starts.\nThey need the `zstandard` package, which ReLink's own Python has\n(`%LOCALAPPDATA%\\ReLink\\versions\\\u003Cversion>\\ReLink\\tools\\python\\python.exe`).\n\n## Mods\n\nRomFS mods go in `mods\\\u003Cname>\\romfs\\...` in the game folder, with the same paths as the game's. The log\n(`relink_log.txt`) names each mod it reads. A mod may sit deeper, as emulators keep them (`mods\\contents\\\u003Ctitle id>\\\u003Cname>`),\na folder whose name starts with `-` or `_` is off, and when two mods have the same file the one whose path sorts last wins\n(name them `01-...`, `02-...`).\n\nPatches of the game's code go in `mods\\\u003Cname>\\exefs\\`, in the two formats emulators read:\n\n- `\u003Cbuild id>.ips`, IPS32 or IPS, applied to the module whose build id is the file's name (the game's `main` is\n  `E0F3CCFAF50065AE4EA01EB5AEB13B1A45DA3348`);\n- `*.pchtxt`, the text patches that name their module with `@nsobid-\u003Cbuild id>` (with `@flag offset_shift`, `@enabled`,\n  `@disabled`, `@stop`, `@flag be`, comments, hex values and `\"strings\"`).\n\nReLink translates the game's code when it builds the game, so these patches are applied then, to a copy of the code before\nit is translated: **after adding, changing or removing one, build the game again** (the launcher's first page says\n*Exefs mods changed since the last build* and offers *Build again*; the game says it too at its start). Your own copy of the\ngame is never changed. `relink_exefs_mods.txt` in the game folder lists what the last build applied or left out, and why.\n\n- Patches made for another version of the game (another build id) are left out, and so is a patch that writes outside the\n  module's code and data. When two mods write different bytes at the same place, the one whose path sorts last wins.\n- Not supported: replacement module files (a whole `main` or `subsdk` in `exefs`), and patches of `rtld`.\n- Code a patch adds in unused space of the code (\"code caves\") is translated when the game's code branches to it (`b`,\n  `bl`, conditional branches), or when a pointer in the data or an `adr`\u002F`adrp` outside the game's own functions holds its\n  address; code reached only through a pointer made some other way is not, and the build says so (*not translated* in\n  `relink_exefs_mods.txt`).\n- A patch changes the translated code, so one of ReLink's own fixes or options in the same function may not apply any more:\n  the build says which (*warning* lines), and stops with a message naming the patch when it is in the way of the output\n  resolution, which cannot be half applied. Where a patch changes one of the two game functions ReLink runs natively (its\n  zstd decoding and its name searches), the native version is left out and the patched code runs; a patch of a system\n  function ReLink provides itself (`nn::` services, the graphics driver) has no effect. The build lists both.\n\n## Build from source\n\nFor developers. The launcher runs the same script, `nx2\u002Fmake_game.py`.\n\n```powershell\npython -I nx2\u002Fmake_game.py --nup \"C:\\path\\your-game.nup\" --out \"C:\\Games\\ReLink\" --language en-US\npython -I nx2\u002Fmake_game.py --romfs \"C:\\path\\romfs\" --exefs \"C:\\path\\exefs\" --out \"C:\\Games\\ReLink\" --language en-US\n```\n\n`--game \u003Cpath>` takes either one (a `.nup`, or a folder holding `exefs` and `romfs`) in place of those options.\n`--check` with your `.nup` only checks the game's version. `--log file` keeps the output. `RELINK_JOBS=\u003Cn>` limits how many\nfiles compile at once. `RELINK_LOW_PRIORITY=1` runs the compilers below normal priority: the PC stays more responsive\nwhile the game compiles, and the build can take longer.\n\nYou need:\n\n- Python 3 from python.org, with `pip install lz4 numpy capstone \"unicorn>=2.1,\u003C2.2\" zstandard`.\n- [llvm-mingw](https:\u002F\u002Fgithub.com\u002Fmstorsjo\u002Fllvm-mingw) (the `ucrt-x86_64` build), unpacked as `llvm-mingw` in the clone, or\n  `RELINK_MINGW` set to its folder.\n- The Vulkan headers and FFmpeg in the CPM cache's layout, with `RX_CPM` set to their folder. Without them the Vulkan\n  renderer is not built.\n- The prebuilt files of `third_party` and the play profile of `work`. An installed ReLink holds them, in\n  `%LOCALAPPDATA%\\ReLink\\versions\\\u003Cversion>\\ReLink\\tools`.\n\nThe launcher is in `launcher\u002F` (`dotnet build`, .NET 9), the small setup in `launcher\u002Fsetup\u002F`. Publishing a release is\ndescribed in [docs\u002Freleasing.md](docs\u002Freleasing.md).\n\n### How it works\n\n1. `nx2\u002Flift.py` translates the game's ARM64 code to C.\n2. `nx2\u002Fbuild.py` compiles that C together with `host\u002F`, which plays the part of the console's system.\n3. `host\u002Fnvn_native.c` records the game's graphics calls, and `gpu\u002Fvk\u002F` replays them on Vulkan.\n\n---\n\n## Français\n\n**Project ReLink** est une recompilation statique, non officielle, de *The Legend of Zelda: Ocarina of Time* (le remake\nSwitch 2) en jeu Windows natif : le code du jeu est traduit en code PC et compilé sur votre machine, sans émulateur.\n**Ce dépôt ne contient aucun fichier du jeu** : ReLink fabrique le jeu sur votre PC à partir de votre propre copie.\n\n**Discord :** [rejoignez le serveur Project ReLink](https:\u002F\u002Fdiscord.gg\u002FRFNUtCQk8j) pour poser vos questions, trouver de\nl'aide et suivre les nouvelles versions. Pour un bug, une [issue](https:\u002F\u002Fgithub.com\u002Fpixl27\u002FProjectReLink\u002Fissues) avec\n`relink_log.txt` en pièce jointe reste le meilleur moyen qu'il ne se perde pas.\n\n### La version du jeu qu'il vous faut\n\nUne seule version fonctionne : le remake Switch 2 avec sa mise à jour installée (programme `0400486024DEC000`, mise à jour\nv131072, build `e0f3ccfa`), en fichier `.nup` ou en dossiers `romfs` et `exefs`. Le lanceur vérifie votre copie avant\nd'installer quoi que ce soit.\n\n### Installer et jouer\n\n1. Téléchargez `ReLink-Setup.exe` dans la [dernière version](https:\u002F\u002Fgithub.com\u002Fpixl27\u002FProjectReLink\u002Freleases\u002Flatest).\n2. Lancez-le. Il télécharge ReLink et ses outils (environ 310 Mo), les vérifie et ouvre le lanceur. Rien d'autre à installer.\n3. Choisissez votre copie du jeu : le lanceur cherche les `.nup` dans Téléchargements, Bureau et Documents ; vous pouvez aussi\n   en choisir un, le déposer sur la fenêtre, ou donner les dossiers `romfs` et `exefs`.\n4. Appuyez sur **Install**. Comptez 10 à 45 minutes selon le processeur ; le PC reste utilisable.\n5. Appuyez sur **Play**. Le lanceur est en anglais par défaut ; le français se choisit dans sa page Game.\n\n**Upscaler** (depuis la 0.7) : ce qui agrandit la 3D jusqu'à l'écran. Le réseau du jeu par défaut ; **AMD FSR 3.1** sur toutes\nles cartes graphiques (la bibliothèque d'AMD est livrée avec ReLink) ; ou **NVIDIA DLSS \u002F DLAA** sur une carte RTX, après avoir\nactivé **NVIDIA DLSS** dans la page Display du lanceur : le jeu est reconstruit avec le SDK DLSS, téléchargé chez NVIDIA sous\nla licence de NVIDIA. Avec FSR ou DLSS, mettez la netteté vers 80 %.\n\n**Roue d'objets** (depuis la 0.7.8, menu Insert, onglet Gameplay, éteinte par défaut) : maintenir R ou L montre vos objets\nen roue au lieu de la rangée du jeu ; visez-en un au stick et relâchez pour le mettre sur ZR, Gauche et Droite tournent les\npages, Y déplace un objet. **Cycle items** change l'objet de ZR d'un appui bref sur R ou L. Le même onglet a une ligne\n**Quit game**, qui demande confirmation puis ferme le jeu.\n\n**Button prompts** (onglet Controls du menu Insert) : les boutons affichés par le jeu sont ceux d'une manette Xbox ou\nPlayStation, dessinés par ReLink, et suivent le **Layout preset** et vos propres assignations ; le réglage s'applique au\nprochain démarrage du jeu. Les trois lettres pâles autour du bouton d'action du HUD, qui sont des images, suivent aussi\n(ReLink met ses propres dessins à leur place, `prompts\\keytex.bin`). Les notes de l'ocarina, des images elles aussi,\ngardent les lettres de la Switch, et la police n'a qu'une couleur.\n\n**Depuis la 0.7.9** : **30, smooth** (lanceur, onglet Smoothness, Frames per second) garde chaque image à l'écran le même\ntemps sur les PC qui ne tiennent pas 60 ; **Field of view** (menu Insert, Graphics, 70 à 150 %) règle l'angle de la caméra et\n**Left \u002F Right stick dead zone** (Controls, 0 à 50 %) la zone morte des sticks ; **F12** enregistre l'image du jeu en PNG\ndans le dossier `screenshots` du jeu ; les patchs de code des mods (`mods\\\u003Cnom>\\exefs\\`, formats IPS et pchtxt) sont\nappliqués quand le lanceur reconstruit le jeu (**Build again**).\n\nIl faut Windows 10 ou 11 en 64 bits, un processeur avec AVX2, une carte graphique avec Vulkan 1.3 et les mesh shaders\n(GeForce RTX 20 ou plus récente, Radeon RX 6000 ou plus récente, Intel Arc ; nous n'avons testé que sur NVIDIA), 16 Go de RAM\net environ 60 Go libres pendant l'installation. Depuis la 0.7.9, une carte sans mesh shaders (GeForce GTX 10) obtient aussi\nune image, à titre expérimental : environ la moitié des images par seconde, et de gros rochers absents.\n\nLe premier démarrage est long, une seule fois (environ 16 minutes sur notre PC) : le jeu prépare ses shaders, construit ses\npipelines graphiques pour le cache du pilote et fabrique les pipelines de calcul dont on sait que le jeu se sert, avec un\nécran de progression. Il le refait après une mise à jour du pilote graphique, et après une mise à jour de ReLink qui change\nle code des shaders du moteur de rendu. Depuis la 0.7.6, tous les PC démarrent de la même façon, quelle que soit leur RAM.\nUn PC qui a fait tourner une version plus ancienne avec 20 Go de RAM ou plus garde dans le dossier du jeu un fichier de cache\nde pipelines, `mkw_vk_pipelines.bin` (800 Mo et plus), que plus rien ne lit : depuis la 0.7.8, le jeu le supprime à son\npremier démarrage, sauf si `RX_VK_LEAN_PIPELINES=0` dans `relink_env.txt` remet l'ancien démarrage, qui s'en sert.\n\nLe lanceur dit quand une nouvelle version est sortie ; **Update** ne télécharge que ce qui a changé et reconstruit le jeu sur\nplace. Les sauvegardes, les réglages et les mods sont conservés.\n\n### Images par seconde mesurées\n\nSans DLSS et sans génération d'images : chaque image comptée est réellement calculée par le jeu. Sur un Ryzen 5 5500, une\nGeForce RTX 3060 Ti (8 Go), 16 Go de RAM et Windows 11, jeu limité à 60 images par seconde. En résolution native (rendu 3D à\n100 %) : 57 à 60 dans la plupart des lieux (plaine d'Hyrule 59,6, village Cocorico 59,0, château d'Hyrule 58,2, lac Hylia\n58,0, fontaine Zora 56,7, donjons 60) et 54,0 sur la place du marché. Avec le rendu 3D à 75 % : 58 à 60 partout sauf sur\nla place du marché (55,6). Ces chiffres sont ceux du jeu construit par les outils de la version, comme chez un joueur. Le\n60 constant partout n'est pas encore atteint, et les combats de boss, les longues sessions et les cartes AMD et Intel\nn'ont pas été mesurés. Le tableau complet, lieu par lieu et aux deux résolutions, est dans la partie anglaise.\n\nLa version 0.6.3 rend au jeu son test d'occlusion : il ne dessine plus les objets que la carte graphique dit cachés. À\ncadence libre, rendu 3D à 75 %, Link immobile, le même build avec et sans : place du marché 54,6 → 61,4 (+12,5 %), Bois\nperdus +8,2 %, forêt Kokiri +4,4 %. Le tableau ci-dessus n'a pas été mesuré de nouveau. Le premier démarrage après cette\nmise à jour prépare les shaders une nouvelle fois.\n\nLa version 0.6.5 réduit les saccades quand la caméra tourne : les images des textures qui ne servent plus sont libérées sur\nun fil à part, et non plus sur celui qui dessine. Caméra qui tourne 20 s sur la place du marché, 60 images par seconde,\n75 % : de 71 et 81 images de plus de 25 ms (0.6.4) à 67, 50 et 66 (0.6.5). Les arrêts plus longs d'une première visite,\npendant que le jeu charge un lieu, restent.\n\nLa version 0.6.6 continue : un shader dessiné pour la première fois est lu par des fils en arrière-plan, et le reste du\nnettoyage du pilote a quitté le fil qui dessine. Le même build avec et sans, trois passages de chaque côté : 47 images de\nplus de 25 ms en tournant au lieu de 59,5 en moyenne, et 17 % de temps perdu en moins à l'arrivée sur la place du\nmarché. Le premier démarrage après cette mise à jour prépare les shaders une nouvelle fois.\n\n---\n\n## License\n\nProject ReLink is free software under the [GNU General Public License, version 3 or later](LICENSE) (GPL-3.0-or-later).\n\nProject ReLink is a modified version of [Longshot](https:\u002F\u002Fgit.magicbean.dev\u002FMagicBeanDev\u002FLongshot), which is itself a fork\nof [Hookshot](https:\u002F\u002Fgithub.com\u002FNotRexed\u002FHookshot) by NotRexed; both are released under the GPL-3.0-or-later. ReLink's\nchanges to their code were made in November 2026.\n\n    Hookshot: Copyright (C) 2026 NotRexed and the Hookshot contributors\n    Longshot: Copyright (C) 2026 the Longshot contributors\n\nThrough them it also includes code from other projects under the GPL (Eden, suyu, TOTKPort's renderer) and parts under\nlicenses that work with the GPL (Sirit, the Vulkan Memory Allocator, SDL, Opus, stb, zbic, the a64-kit tools, and AMD FidelityFX's FSR library shipped with its license); each\nkeeps its copyright notices and license in its files and folders. The same notices are in [NOTICE.md](NOTICE.md), which\nevery release ships.\n\nProject ReLink is an unofficial fan project, not affiliated with or endorsed by Nintendo. The Legend of Zelda and Ocarina\nof Time are trademarks of Nintendo.\n\n### Licence (français)\n\nProject ReLink est un logiciel libre sous [licence publique générale GNU, version 3 ou ultérieure](LICENSE)\n(GPL-3.0-or-later).\n\nProject ReLink est une version modifiée de [Longshot](https:\u002F\u002Fgit.magicbean.dev\u002FMagicBeanDev\u002FLongshot), lui-même un fork de\n[Hookshot](https:\u002F\u002Fgithub.com\u002FNotRexed\u002FHookshot) de NotRexed ; tous deux sont publiés sous GPL-3.0-or-later. Les\nmodifications de ReLink à leur code datent de novembre 2026.\n\n    Hookshot: Copyright (C) 2026 NotRexed and the Hookshot contributors\n    Longshot: Copyright (C) 2026 the Longshot contributors\n\nPar eux, il contient aussi du code d'autres projets sous GPL (Eden, suyu, le moteur de rendu de TOTKPort) et des parties\nsous des licences compatibles avec la GPL (Sirit, Vulkan Memory Allocator, SDL, Opus, stb, zbic, les outils a64-kit, et la bibliothèque FSR d'AMD FidelityFX livrée avec sa licence) ;\nchacune garde ses mentions de droits d'auteur et sa licence dans ses fichiers et dossiers. Les mêmes mentions sont dans\n[NOTICE.md](NOTICE.md), livré avec chaque version.\n\nProjet de fans non officiel, sans lien avec Nintendo ; The Legend of Zelda et Ocarina of Time sont des marques de Nintendo.\n","Project ReLink 是一个针对《塞尔达传说：时之笛》Switch 2 重制版的非官方静态反编译与本地化重构项目，将原版 Switch 平台代码翻译为 C++ 并在用户 PC 上原生编译运行，无需模拟器。其核心采用静态重编译（recompilation）技术，依赖用户自有游戏文件（.nup 或 romfs\u002Fexefs），集成自包含编译工具链与图形管线预编译机制，支持 Windows 原生运行与驱动级优化。适用于希望在 PC 上以高兼容性、低延迟体验该重制版游戏，且具备合法游戏副本的技术向玩家。",2,"2026-11-24 04:49:19","CREATED_QUERY"]