{"id":33232682,"url":"https://github.com/sonicdcer/sf64","last_synced_at":"2026-01-31T18:33:06.124Z","repository":{"id":195854449,"uuid":"693816513","full_name":"sonicdcer/sf64","owner":"sonicdcer","description":"Decompilation of Starfox 64","archived":false,"fork":false,"pushed_at":"2026-01-24T23:33:09.000Z","size":16165,"stargazers_count":330,"open_issues_count":0,"forks_count":109,"subscribers_count":21,"default_branch":"master","last_synced_at":"2026-01-25T09:58:37.457Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonicdcer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-19T19:14:22.000Z","updated_at":"2026-01-24T23:33:13.000Z","dependencies_parsed_at":"2024-11-09T18:24:59.977Z","dependency_job_id":"a7252615-9f71-4617-9b3d-a45cc60bdbe4","html_url":"https://github.com/sonicdcer/sf64","commit_stats":null,"previous_names":["sonicdcer/sf64"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sonicdcer/sf64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdcer%2Fsf64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdcer%2Fsf64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdcer%2Fsf64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdcer%2Fsf64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonicdcer","download_url":"https://codeload.github.com/sonicdcer/sf64/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonicdcer%2Fsf64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28949426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-11-16T18:00:23.573Z","updated_at":"2026-01-31T18:33:06.117Z","avatar_url":"https://github.com/sonicdcer.png","language":"C","funding_links":[],"categories":["Reverse Engineering","Nintendo Wii","Game \u0026 Studio Tools"],"sub_categories":["Projects","Nintendo EAD"],"readme":"### Progress:\n\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"\" alt=\"SF64_Total_NonMatchingFunctions\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Functions%20decompiled:%202951%2F2951-100%25-Yellow\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"left\"\u003e\n    \u003ca href=\"\" alt=\"SF64_Total_MatchingFunctions\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Matching%20Functions:%202948%2F2951-99.90%25-yellow\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nFunctions left to match:\n\n[AudioSynth_HartleyTransform](https://decomp.me/scratch/7N88x)\n\n[Aquas_AqBacoon_Update](https://decomp.me/scratch/cyJAV)\n\n[Titania_80193DF0](https://decomp.me/scratch/aOI9e)\n\n[![Discord Invitation](https://discordapp.com/api/guilds/1190102597521133700/widget.png?style=banner2 'Starfox 64')](https://discord.gg/tuwdmuTTqc)\n\n# Starfox 64 (US) REV 1.1\n\nThis is a WIP **matching decompilation** of ***Starfox 64***. The purpose of the project is to recreate a source code base for the game from scratch, using information found inside the game along with static and/or dynamic analysis.\n\n##### Note: This is NOT a PC PORT.\n\nIt currently builds the following ROM:\n\n* starfox64.us.rev1.z64 `MD5: 741a94eee093c4c8684e66b89f8685e8`\n\n**This repo does not include any assets or assembly code necessary for compiling the ROM. A prior copy of the game is required to extract the required assets.**\n\n## Installation\n\n#### 1. Install build dependencies\n\n### Windows\n\nFor Windows 10, install WSL and a distribution by following this\n[Windows Subsystem for Linux Installation Guide](https://docs.microsoft.com/en-us/windows/wsl/install-win10).\nWe recommend using Debian or Ubuntu 24.04 Linux distributions.\n\n### Linux (Native or under WSL / VM)\n\nThe build process has the following package requirements:\n\n* make\n* git\n* build-essential\n* binutils-mips-linux-gnu\n* python3\n* pip3\n* libpng-dev\n\nUnder Debian / Ubuntu (which we recommend using), you can install them with the following commands:\n\n```bash\nsudo apt update\nsudo apt install make cmake git build-essential binutils-mips-linux-gnu python3 python3-pip clang-format-14 clang-tidy clang-tools\n```\n\n### MacOS\n\nInstall [Homebrew](https://brew.sh) and the following dependencies:\n```\nbrew update\nbrew install coreutils make pkg-config tehzz/n64-dev/mips64-elf-binutils\n```\n\n#### 2. Clone the repository\n\nCreate your own fork of the repository at `https://github.com/sonicdcer/sf64`. Then clone your fork where you wish to have the project, with the command:\n\n```bash\ngit clone https://github.com/\u003cYOUR_USERNAME\u003e/sf64.git\n```\n\nThis will copy the GitHub repository contents into a new folder in the current directory called `sf64`. Change into this directory before doing anything else:\n\n```bash\ncd sf64\n```\n\n#### 3. Install python dependencies\n\nThe build process has a few python packages required that are located in `/tools/requirements-python.txt`.\n\nTo install them simply run in a terminal:\n\n```bash\npython3 -m pip install -r ./tools/requirements-python.txt\n```\n* Depending on your python version, you might need to add  --break-system-packages, or use venv.\n\n#### 4. Update submodules \u0026 build toolchain\n\n```bash\ngit submodule update --init --recursive\nmake toolchain\n```\n\n#### 5. Prepare a base ROM\n\nCopy your ROM to the root of this new project directory, and rename the file of the baserom to reflect the version of ROM you are using. ex: `baserom.us.rev1.z64`\n* Make sure the ROM is the US version, revision 1.1 (REV A).\n\n#### 6. Make and Build the ROM\n\nTo start the extraction/build process, run the following command:\n\n```bash\nmake init\n```\nThis will create the build folders, a new folder with the assembly as well as containing the disassembly of nearly all the files containing code.\n\nthis make target will also build the ROM. If all goes well, a new ROM called \"starfox64.us.rev1.z64\" should be built and the following text should be printed:\n\n```bash\n741a94eee093c4c8684e66b89f8685e8  build/starfox64.us.rev1.z64\n./build/starfox64.us.rev1.z64: OK\n```\n\nIf you instead see the following:\n\n```bash\n./build/starfox64.us.rev1.z64: FAILED\nmd5sum: WARNING: 1 computed checksum did NOT match\n```\n\nThis means that something is wrong with the ROM's contents. Either the base files are incorrect due to a bad ROM, or some of the code is not matching.\n\nFrom now on you should be able to build the rom by running `make`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdcer%2Fsf64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonicdcer%2Fsf64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonicdcer%2Fsf64/lists"}