# Starship：基于反编译的 Star Fox 64 PC 移植

> Star Fox 64 的原生 PC 移植：将游戏的反编译 C 代码与 libultraship 一同编译，该 N64 移植库重新实现了 libultra，并通过 Fast3D 渲染。首次运行时借助 Torch 工具把使用者的美版 ROM 转换为素材资源包，提供 Windows、Linux、macOS 和 Switch 版本。独立的静态重编译项目 Starfox 64: Recompiled 在其 README 中称本移植为采用不同技术的姊妹项目。

- 类型：案例
- 目标：游戏
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-10-18
- 收录于：2026-10-18
- 原始资源：<https://github.com/HarbourMasters/Starship>
- 一手来源：<https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/starship-sf64-pc-port-case/>
- 记录 JSON：<https://awesomerea.org/resources/starship-sf64-pc-port-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/starship-sf64-pc-port-case/index.md)

## 使用条件与局限

- **前提条件：**需自备 .z64 格式的美版 1.0 或美版 1.1 Rev A ROM；README 列出了各自的 SHA-1。首次运行或 ExtractAssets 构建目标会借助 Torch，按照 config.yml 和 assets/yaml 中的定义把它转换为 sf64.o2r。日版和欧版 ROM 只能与美版 ROM 搭配用于替换语音语言，Switch 版需使用在 PC 上生成的资源包。仓库只含提取定义，不含游戏素材。
- **前提条件：**发行版面向 Windows、Linux（AppImage）、macOS 和 Nintendo Switch，提供 DirectX 11、OpenGL 与 Metal 后端。构建需要 CMake、Python 3 和 Git：Windows 上另需 Visual Studio 2022（v143 工具集，至少 8 GB 内存），Linux 上需 gcc 或 clang、Ninja 以及 SDL2、libzip、spdlog、tinyxml2、Boost、Ogg／Vorbis 等库。子模块为 libultraship、Torch 和 asm-differ；CI 只生成移植自身的 starship.o2r，打包构建时不使用 ROM。
- **范围：**Starship 的 README 将其介绍为 PC 移植，并提供正式发布与测试构建。姊妹项目 Starfox64Recomp 仓库中的 DOCS/fox_lore.md 将其描述为基于 sf64 反编译 C 代码、运行在 libultraship（重新实现大部分 libultra 并使用 Fast3D 渲染器）上的原生移植，并称原生移植暴露了仅靠一致性代码无法发现的素材链接错误和未定义行为。CMakeLists.txt 编译 src/engine、src/overlays、src/sys 和 src/audio，移植层位于 src/port。最新发布为 v2.0.0（2025-05-25），README 提醒 CI 测试构建很可能出现缺陷，甚至可能崩溃。
- **测试证据：**README 与 BUILDING.md 均未记录自动化游戏测试或与原版的对照。
- **许可：**LICENSE.md 为 CC0 1.0 Universal；ROM、提取出的素材及游戏本身仍归其所有者，子模块保留各自条款。README 表示项目不纵容盗版。

## 一手来源

1. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/README.md>
2. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/docs/BUILDING.md>
3. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/CMakeLists.txt>
4. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/config.yml>
5. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/.gitmodules>
6. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/.github/workflows/main.yml>
7. <https://github.com/HarbourMasters/Starship/blob/3322643f0bbf80d2f8f7e1c0d2c4c578515f6c90/LICENSE.md>
8. <https://github.com/HarbourMasters/Starship/releases/tag/v2.0.0>
9. <https://github.com/sonicdcer/Starfox64Recomp/blob/f2996555d73ca480f3dc3639f375c50818847bfc/DOCS/fox_lore.md>

## 同分区更多条目：游戏

- [Super Mario Sunshine：基于 AI 辅助反编译的原生 PC 移植](https://awesomerea.org/zh/resources/sms-pc-port-case/index.md) · 案例
- [TH08 Web：基于重建源码的 WebAssembly 移植](https://awesomerea.org/zh/resources/th08-web-wasm-port-case/index.md) · 案例
- [TonyWasAProSkater：派生自一致性反编译的 THPS1 原生移植](https://awesomerea.org/zh/resources/thps1-decomp-native-port-case/index.md) · 案例
- [Vandal Hearts：基于一致性反编译的原生 PC 移植](https://awesomerea.org/zh/resources/vandal-hearts-pc-port-case/index.md) · 案例
- [Age of Empires Free Software Remake：基于原版数据的重新实现](https://awesomerea.org/zh/resources/aoe-free-software-remake-case/index.md) · 案例
- [Bravo：逆向实现的 Minecraft 服务端](https://awesomerea.org/zh/resources/bravo-minecraft-server-case/index.md) · 案例

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
