{"id":13691945,"url":"https://github.com/Rainchus/ttyd_dtk","last_synced_at":"2025-05-02T16:30:58.169Z","repository":{"id":197868012,"uuid":"699538704","full_name":"Rainchus/ttyd_dtk","owner":"Rainchus","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-13T17:17:19.000Z","size":20522,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-03T17:12:56.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rainchus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-02T20:42:30.000Z","updated_at":"2024-06-13T17:22:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3e5ae42-f951-43e3-8fd5-99073ddcb6f3","html_url":"https://github.com/Rainchus/ttyd_dtk","commit_stats":null,"previous_names":["rainchus/ttyd_dtk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainchus%2Fttyd_dtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainchus%2Fttyd_dtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainchus%2Fttyd_dtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainchus%2Fttyd_dtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rainchus","download_url":"https://codeload.github.com/Rainchus/ttyd_dtk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224319493,"owners_count":17291852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T17:00:51.858Z","updated_at":"2024-11-12T17:32:29.289Z","avatar_url":"https://github.com/Rainchus.png","language":"Python","funding_links":[],"categories":["Reverse Engineering"],"sub_categories":["Projects"],"readme":"Paper Mario: The Thousand-Year Door [![Discord Badge]][discord]\n=============\n\n\u003c!--\nReplace with your repository's URL.\n--\u003e\n[Build Status]: https://github.com/zeldaret/tww/actions/workflows/build.yml/badge.svg\n[actions]: https://github.com/zeldaret/tww/actions/workflows/build.yml\n\u003c!---\nCode progress URL:\nhttps://progress.decomp.club/data/[project]/[version]/all/?mode=shield\u0026measure=code\nURL encoded then appended to: https://img.shields.io/endpoint?label=Code\u0026url=\n--\u003e\n[Progress]: https://img.shields.io/endpoint?label=Code\u0026url=https%3A%2F%2Fprogress.decomp.club%2Fdata%2Ftww%2FGZLE01%2Fall%2F%3Fmode%3Dshield%26measure%3Dcode\n\u003c!---\nDOL progress URL:\nhttps://progress.decomp.club/data/[project]/[version]/dol/?mode=shield\u0026measure=code\nURL encoded then appended to: https://img.shields.io/endpoint?label=DOL\u0026url=\n--\u003e\n[DOL Progress]: https://img.shields.io/endpoint?label=DOL\u0026url=https%3A%2F%2Fprogress.decomp.club%2Fdata%2Ftww%2FGZLE01%2Fdol%2F%3Fmode%3Dshield%26measure%3Dcode\n\u003c!--\nREL progress URL:\nhttps://progress.decomp.club/data/[project]/[version]/modules/?mode=shield\u0026measure=code\nURL encoded then appended to: https://img.shields.io/endpoint?label=RELs\u0026url=\n--\u003e\n[RELs Progress]: https://img.shields.io/endpoint?label=RELs\u0026url=https%3A%2F%2Fprogress.decomp.club%2Fdata%2Ftww%2FGZLE01%2Fmodules%2F%3Fmode%3Dshield%26measure%3Dcode\n\u003c!--\nReplace with your Discord server's ID and invite URL.\n--\u003e\n[Discord Badge]: https://img.shields.io/discord/727908905392275526?color=%237289DA\u0026logo=discord\u0026logoColor=%23FFFFFF\n[discord]: https://discord.gg/hKx3FJJgrV\n\nA work-in-progress decompilation of Some Game.\n\nThis repository does **not** contain any game assets or assembly whatsoever. An existing copy of the game is required.\n\nSupported versions:\n\n- `G8ME01`: Rev 0 (USA)\n\nDependencies\n============\n\nWindows\n--------\n\nOn Windows, it's **highly recommended** to use native tooling. WSL or msys2 are **not** required.  \nWhen running under WSL, [objdiff](#diffing) is unable to get filesystem notifications for automatic rebuilds.\n\n- Install [Python](https://www.python.org/downloads/) and add it to `%PATH%`.\n  - Also available from the [Windows Store](https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K).\n- Download [ninja](https://github.com/ninja-build/ninja/releases) and add it to `%PATH%`.\n  - Quick install via pip: `pip install ninja`\n\nmacOS\n------\n\n- Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages):\n\n  ```sh\n  brew install ninja\n  ```\n\n- Install [wine-crossover](https://github.com/Gcenx/homebrew-wine):\n\n  ```sh\n  brew install --cask --no-quarantine gcenx/wine/wine-crossover\n  ```\n\nAfter OS upgrades, if macOS complains about `Wine Crossover.app` being unverified, you can unquarantine it using:\n\n```sh\nsudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'\n```\n\nLinux\n------\n\n- Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages).\n- For non-x86(_64) platforms: Install wine from your package manager.\n  - For x86(_64), [wibo](https://github.com/decompals/wibo), a minimal 32-bit Windows binary wrapper, will be automatically downloaded and used.\n\nBuilding\n========\n\n- Clone the repository:\n\n  ```sh\n  git clone https://github.com/Rainchus/ttyd_dtk\n  ```\n\n- Using [Dolphin Emulator](https://dolphin-emu.org/), extract your game to `orig/G8ME01`.\n![](assets/dolphin-extract.png)\n  - To save space, the only necessary files are the following. Any others can be deleted.\n    - `sys/main.dol`\n    - `files/rel/*.rel`\n- Configure:\n\n  ```sh\n  python configure.py\n  ```\n\n  To use a version other than `G8ME01` (USA), specify it with `--version`.\n- Build:\n\n  ```sh\n  ninja\n  ```\n\nVisual Studio Code\n==================\n\nIf desired, use the recommended Visual Studio Code settings by renaming the `.vscode.example` directory to `.vscode`.\n\nDiffing\n=======\n\nOnce the initial build succeeds, an `objdiff.json` should exist in the project root.\n\nDownload the latest release from [encounter/objdiff](https://github.com/encounter/objdiff). Under project settings, set `Project directory`. The configuration should be loaded automatically.\n\nSelect an object from the left sidebar to begin diffing. Changes to the project will rebuild automatically: changes to source files, headers, `configure.py`, `splits.txt` or `symbols.txt`.\n\n![](assets/objdiff.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRainchus%2Fttyd_dtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRainchus%2Fttyd_dtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRainchus%2Fttyd_dtk/lists"}