[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111096":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":12,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},111096,"MK8-online","Vnnc1\u002FMK8-online","Vnnc1","Experimental static recompilation of Mario Kart 8 Deluxe 4.0.1 for Windows x64 and Linux amd64. Native Vulkan runtime, Mii creator, online play via Nextendo and Steam rooms. Bring your own game files and keys: no ROMs, assets or keys included.",null,"Python",274,13,1,6,0,128,169,59,93.44,"GNU General Public License v3.0",false,"master",[],"2026-11-23 18:39:08","2026-11-23 20:36:21","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Ftag-ratone-tend.png\" alt=\"RatOne — creator and maintainer of MK8-online\" width=\"560\">\n\n# MK8-online\n\n### Prepare once. Race natively. Connect with friends.\n\n**Created and maintained by [RatOne](https:\u002F\u002Fgithub.com\u002FVnnc1)**\n\n**English** · [Português (Brasil)](README.pt-BR.md)\n\n![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-x64-0078D6)\n![Graphics](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGraphics-Vulkan-AC162C)\n![Stack](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRust-C%2FC%2B%2B-555555)\n![Release base](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRelease_base-0.1.8-ef795d)\n![Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FStatus-Experimental-e6a23c)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-GPL--3.0--or--later-blue)](LICENSE)\n\nAn experimental **Mario Kart 8 Deluxe 4.0.1** static recompilation project for Windows,\nwith a native launcher, a Vulkan runtime and multiplayer rooms under development.\n\n[Download \u002F Releases](https:\u002F\u002Fgithub.com\u002FVnnc1\u002FMK8-online\u002Freleases) · [Report an issue](https:\u002F\u002Fgithub.com\u002FVnnc1\u002FMK8-online\u002Fissues) · [Roadmap](docs\u002FROADMAP.md)\n\n\u003C\u002Fdiv>\n\n> [!IMPORTANT]\n> Bring your own game files and console keys. This repository and its releases do not include ROMs, game assets, keys, saves or recompiled game code. The game is compiled locally from your own files.\n\n> [!NOTE]\n> **Open for testing, still experimental.** Races have completed in local tests, but visual defects, first-use shader stutters and growing VRAM usage remain. Multiplayer between separate PCs is not yet qualified. The 0.1.8 test installer adds preparation recovery, process coordination and the bundled Vulkan loader.\n\n## On the starting grid\n\n| Area | Current progress | Next checkpoint |\n| --- | --- | --- |\n| Launcher | Native Windows window, guided preparation, installer, updates and reports; English and Brazilian Portuguese UI | End-to-end update against a published release |\n| Solo racing | Four Mushroom Cup tracks completed, returning to cup selection | Full image, audio, controller and restart\u002Fsave qualification |\n| Performance | Around 60 FPS in the measured race sections on the test PC | Repeated cups, VRAM stability and more hardware |\n| LAN \u002F room codes | Two game instances raced on one PC; 12 transport clients tested | Two real PCs, internet relay and more than four actual players |\n| Split-screen | Under investigation | Fix the two-player character-selection input issue |\n| Nextendo | Planned investigation | Assess integration with this native runtime |\n\nThese are observed milestones, not a percentage-complete estimate. `gameplay_verified` remains `false` until the complete qualification passes. Detailed evidence and limitations: [technical status](docs\u002FSTATUS.md) and [roadmap](docs\u002FROADMAP.md) (Portuguese).\n\n## What this project does\n\nThe pipeline translates the supported game's AArch64 executable to C and compiles it for Windows x64. A C\u002FC++ runtime supplies graphics, audio, input and system services; the Rust\u002FTauri launcher manages preparation, builds, updates and rooms.\n\nRatOne develops and maintains the MK8 adaptation, launcher and integration. The translation\u002Fruntime foundation comes from **SMM2Recomp and LASRecomp**, with additional credited work from other projects. See [third-party sources and licenses](docs\u002FTHIRD_PARTY.md).\n\n## Get on track\n\n### Requirements\n\n- **Windows x64** and WebView2. Tools setup provisions a private **Python 3.12 x64** automatically.\n- A GPU and working graphics driver exposing **Vulkan 1.3 or newer**. Vulkan 1.2 is rejected at startup; API version alone does not qualify all required features or performance. A general minimum CPU\u002FGPU specification has not been qualified.\n- Your own base game, **4.0.1 update** and `prod.keys` from your console, or a supported extracted game folder.\n- About **28 GiB free for extraction\u002Fpreparation**, including a 4 GiB safety reserve. Keep additional space for source packages, tools and build caches. An SSD is recommended for preparation.\n- Internet for the initial tool download (about 0.4 GiB installed, before build caches) and updates. Tools are shared across launcher versions.\n\nTools downloads a pinned CPython package, verifies SHA-256 and creates its local environment without changing system Python or PATH. Incompatible or incomplete environments are preserved in `local\u002Fpython-backup-*` and recreated automatically. Available in 0.1.7; users of 0.1.6 can update through Support before retrying Tools.\n\nIncluded in the 0.1.8 test release: readiness checks now use the private Python environment; package installation ignores external pip settings and requires verified binary wheels. Damaged download archives are fetched again, and invalid compilation-cache metadata triggers recovery instead of aborting preparation. These fixes require updating from 0.1.7 to 0.1.8. See [technical status](docs\u002FSTATUS.md).\n\nAdditional recovery checks cover interrupted generation receipts and missing\u002Finvalid prepared-runtime hashes: derived files are regenerated from verified sources rather than trusted without evidence. Preparation checks the 4 GiB reserve before import\u002Fruntime replacement and reports unavailable destination volumes. Launcher tool processes ignore external Python startup variables while preserving their local script imports.\n\nVersion 0.1.8 fixes also distinguish inaccessible files from corrupt caches: a sharing or permission error stops preparation without treating the affected import\u002Fruntime as disposable. File replacement preserves the previous destination until the new file can be published. Missing or unreadable mirror sources stop pruning; failed download publication preserves the downloaded file and reports the local problem. Resolve the lock\u002Faccess issue or reconnect the same drive before retrying. No permissions or antivirus settings are changed automatically.\n\nThe source preparation now includes the pinned `vulkan-1.dll` loader next to the game and retains it during dependency cleanup. SDL loads this DLL dynamically, so scanning static imports alone missed it in 0.1.7. A compatible Vulkan 1.3 graphics driver is still required; bundling the loader does not install a GPU driver.\n\nVersion 0.1.8 also adds operation locks between launchers sharing data\u002Ftools and between pipeline runs sharing a data folder. Failed cancellation keeps the process tracked so cancellation can be retried. Cleanup rejects linked parent directories and stops on permission errors instead of forcing deletion. These protections are still under validation; see the remaining limitations in the technical status.\n\nThe 0.1.8 launcher supervises processes separately: closing or losing the launcher stops its tool\u002Fbuild processes, while a running game keeps its locks and can finish saving normally. Other instances cannot start another game with the same saves, rebuild, change paths or start an update against those resources. Games using separate data folders can share read-only tools. Closing the launcher still disconnects its multiplayer gateway; this does not provide session reconnection.\n\n### Install and play\n\n1. Download `MK8-online-\u003Cversion>-setup.exe` from [Releases](https:\u002F\u002Fgithub.com\u002FVnnc1\u002FMK8-online\u002Freleases). Choose the application and data folders. Installation is per user, without administrator privileges.\n2. Open **Install** in the launcher. Complete **Tools**, then select the base game and update in **Game files**. The launcher can find keys alongside the game; select your own key file if necessary. It stores the path.\n3. Run **Build the game**, wait for completion, then choose **Play solo**. Progress, elapsed time and the build log are available during preparation.\n\n**Language:** both the launcher and installer offer **English** and **Português (Brasil)** through the **Language \u002F Idioma** selector. First launch follows your system\u002Fbrowser language, with English as the fallback. Your choice is saved in the data folder and survives restarts. This changes the launcher UI; the game's language is independent. Tool logs and external diagnostic details retain their original language.\n\nAn extracted folder must contain `exefs`, `romfs` and `control.nacp` (or `control\u002Fcontrol.nacp`); select **I already have an extracted game folder**. The active profile is 4.0.1 AArch64. Other game versions, DLC and XCI\u002FXCZ import still need validation.\n\nThe setup includes the prebuilt host runtime and a minimal FFmpeg for videos; the game code is compiled on your PC. Incomplete extraction\u002Fpreparation is repaired on the next build. Data defaults to `%LOCALAPPDATA%\\MK8-online` and is preserved across updates and uninstalling. To select another drive when starting the portable launcher:\n\n```powershell\n& .\\Launcher.exe --data-dir E:\\MK8-Local\n```\n\nReuse the same data folder on subsequent launches. Older per-version data folders are not automatically migrated or deleted.\n\n**Updates:** **Support → Check for updates** checks GitHub Releases, including prereleases. **Update now** downloads the setup, verifies its published SHA-256 and restarts the launcher after installation.\n\n## Race with friends\n\n### LAN rooms\n\nEach PC needs its own prepared copy of the same game version. In **Multiplayer**, set your display name, create or discover a room and generate **New invitation** for each friend. Guests paste their individual invitations into the launcher. Invitations contain the host address: share them privately.\n\nLAN discovery and traffic use UDP **47820** and depend on the network\u002Ffirewall. The launcher selects the local address automatically; **Alternative address** supports a configured VPN or forwarded address. **Esc → Salas com amigos** opens the launcher's room tab from compatible runtime builds.\n\nAfter joining in the launcher:\n\n1. Everyone selects **Play in room**.\n2. At the game's main menu, hold **L + R** and click the **left stick** to reveal **LAN Play**.\n3. The host selects **Create Room**; guests choose the host in **Lobby**.\n4. Choose characters and karts; the host sets the race rules.\n\nThe game supports up to **12 LAN players**. Our transport tests cover 12 clients, but actual racing has only been tested with two game instances on one machine. Split-screen, two-PC play and full rooms need separate validation. Use **Multiplayer → How to test on two PCs** for the test procedure.\n\n### Internet room codes\n\nA launcher configured with a public relay can create a new `MK8-…` code for each internet room. Friends paste that code to obtain their own connection credentials. The host controls the game room; the relay forwards packets. Players make outbound connections, while the relay operator exposes the server ports.\n\n**A public relay must be deployed and configured.** The current tests used a local relay; they do not establish internet connectivity or low latency. Relay location and each player's connection affect the result. The game's official **Online Play** and local wireless (`ldn`) are not part of this LAN integration.\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>For operators: configure a relay\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nBuild the relay and run it on the server, replacing `PUBLIC_RELAY_IP`:\n\n```text\ncargo build --release --locked -p mk8-session --bin mk8-relay\nmk8-relay 127.0.0.1:47819 0.0.0.0 PUBLIC_RELAY_IP 47820\n```\n\nAllow UDP **47820–47835**. Put the control endpoint `127.0.0.1:47819` behind an HTTPS proxy with a valid certificate, request-size limits and rate limiting. Keep internal HTTP on loopback. An HTTP-only tunnel cannot carry game UDP traffic.\n\nSet `MK8_RELAY_URL` to that HTTPS endpoint before running `python scripts\u002Fpackage-launcher.py`, and distribute the resulting launcher to players. The environment variable also works when launching a development build. Loopback HTTP is accepted for local testing.\n\nThe daemon supports up to 16 rooms, with one host and up to 11 guests each. Rooms expire after four hours and are also removed after host inactivity. Treat codes and individual credentials as private.\n\n\u003C\u002Fdetails>\n\n### Nextendo: a future direction\n\nInvestigating **[Nextendo Network](https:\u002F\u002Fnextendo.network\u002F)** is on the roadmap for an alternative online service. **There is no Nextendo integration in this build.** Its account, friends and matchmaking services would require compatibility work and validation in this native runtime. This is a development intention, with no release date or affiliation implied; it does not replace the current LAN\u002Frelay path.\n\n## Performance, with context\n\nThe latest local candidate completed all four Mushroom Cup tracks and returned to cup selection in an **18 min 19 s** run. On a **Xeon E5-2666 v3 \u002F 16 GB RAM \u002F RX 580 2048SP**, selected race sections measured:\n\n| Track | Average FPS | p95 frame time |\n| --- | ---: | ---: |\n| Mario Kart Stadium | 59.99 | 17.46 ms |\n| Water Park | 59.98 | 17.45 ms |\n| Sweet Sweet Canyon | 59.97 | 17.46 ms |\n| Thwomp Ruins | 59.99 | 17.33 ms |\n\nThese measurements exclude capture windows and do not guarantee 60 FPS throughout every scene or on other PCs. First-use shaders may still stutter or temporarily omit effects while compilation completes.\n\nRecent changes fix command-list references surviving buffer\u002Fpool finalization and use preferred 128 MiB VMA allocation blocks. **VRAM still grows between tracks**: heap 0 reserved memory peaked at 1,648 MiB and remained reserved after returning to the menu. That figure is an allocator measurement, not total Windows GPU memory use; the isolated benefit of smaller blocks is still unproven. Direct image release remains experimental and disabled by default. See [measurements and remaining investigations](docs\u002FSTATUS.md).\n\n## Help improve the next lap\n\nIn **Support → Create report**, create a diagnostic ZIP and attach it to an [issue](https:\u002F\u002Fgithub.com\u002FVnnc1\u002FMK8-online\u002Fissues), with your CPU\u002FGPU, launcher version, track\u002Fmode, steps to reproduce and expected result. For multiplayer, include reports from both PCs and describe the network setup.\n\nReports include game\u002Fbuild\u002Ftool logs and the build manifest. The launcher redacts personal paths and account names and excludes saves and keys; review attachments before sharing. Reports are stored in `\u003Cdata folder>\\data\\reports`; a report is also created automatically after a game crash. Never post ROMs, console keys or private invitations.\n\nCurrent priorities are repeated-cup VRAM stability, shader\u002Fframe-time consistency, visual fidelity, split-screen input and multiplayer on separate machines. Mii models are not integrated into gameplay; the current launcher does not expose a profile editor. Full qualification must cover image, audio, physical controls, clock speed and restart\u002Fsave together.\n\n## Build and contribute\n\nDevelopment needs Rust, Python 3.12 x64, PowerShell 7 and .NET 10 x64 for the importer. Disk-type detection is optional: Windows storage drivers may report an unknown type, including on CI virtual disks. Start from the repository root:\n\n```powershell\n.\\scripts\\start-launcher.ps1\n```\n\nThe script downloads the pinned upstream sources, verifies their hashes, builds the launcher and opens it. Prepare your game through the same launcher workflow. To package the portable launcher:\n\n```powershell\npython scripts\u002Fpackage-launcher.py\n```\n\nOutput: `target\u002Fportable\u002FLauncher.exe`. Full packaging prerequisites and release checks are in [RELEASING.md](docs\u002FRELEASING.md). Keep adaptations in `runtime\u002Fmk8` and `toolchain`; preparation applies them to a verified build copy. Do not edit upstream snapshots or generated game code directly. Follow [AGENTS.md](AGENTS.md) and run the tests for the changed area.\n\n| Location | Responsibility |\n| --- | --- |\n| `apps\u002Flauncher` | Native launcher, web interface, installer, updates and reports |\n| `crates\u002Finstaller`, `crates\u002Fmanifest`, `crates\u002Fbuild-manager` | Installation, validation and build supervision |\n| `crates\u002Fsession`, `crates\u002Ftransport` | Rooms, invitations, relay and authenticated transport |\n| `toolchain`, `runtime\u002Fmk8` | Recompilation pipeline and MK8 runtime adaptations |\n| `games\u002Fmk8d` | Version profiles, symbols and game configuration |\n| `scripts`, `tests` | Preparation, packaging and regression checks |\n| `upstream\u002Fmanifests` | Pinned source manifests; downloaded snapshots stay outside Git |\n| `local`, `target`, `prebuilt` | Private data and generated artifacts, ignored by Git |\n\n## Credits and license\n\n**MK8-online is created and maintained by RatOne.** Upstream authors retain credit and ownership of their contributions. Attribution and dependency notices are collected in [THIRD_PARTY.md](docs\u002FTHIRD_PARTY.md) and [docs\u002Flicenses](docs\u002Flicenses).\n\nProject code is licensed under **[GPL-3.0-or-later](LICENSE)**. Dependencies retain their own licenses; the SMM2Recomp snapshot includes GPLv3, while LASRecomp includes MIT notices. The combined project cannot simply be relabeled MIT. The license does not grant rights to Nintendo's game code, assets or trademarks.\n\nAn independent community project, not affiliated with or endorsed by Nintendo. Mario Kart and related names belong to their respective owners.\n","MK8-online 是一个实验性的《马里奥赛车8豪华版》（v4.0.1）静态重编译项目，旨在将原Switch平台的AArch64游戏二进制文件翻译为C代码，并在Windows x64上通过本地编译与Vulkan运行时实现原生运行。核心功能包括跨平台静态反编译流水线、原生Windows图形\u002F音频\u002F输入运行时、多实例本地联机测试支持，以及基于Rust\u002FTauri的图形化安装与准备向导。项目不包含任何游戏资产或密钥，需用户自行提供合法游戏文件。适用于技术爱好者对主机游戏跨平台重编译的研究、本地化性能验证及局域网多人联机原型开发，当前处于实验阶段，尚不支持稳定跨PC联网与完整音画功能。",2,"2026-11-24 04:40:06","CREATED_QUERY"]