# DuckHuntNESRecomp：《打鸭子》静态重编译与鼠标光枪

> DuckHuntNESRecomp 使用 NESRecomp 在 PC 上运行 NES 游戏《打鸭子》：已覆盖的 6502 代码路径编译为 C，未覆盖的代码由逐周期解释器执行。共享运行时将鼠标输入映射为光枪；项目文档记录了扳机信号极性和准星默认设置的修正。作者报告菜单和游戏过程可用，音频混音仍在开发中。

- 类型：案例
- 目标：游戏
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-09
- 原始资源：<https://github.com/mstan/DuckHuntNESRecomp>
- 一手来源：<https://github.com/mstan/DuckHuntNESRecomp/blob/f2b684a1ed55eccfc18a308f81c658af5109e815/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/duck-hunt-nes-recomp-case/>
- 记录 JSON：<https://awesomerea.org/resources/duck-hunt-nes-recomp-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/duck-hunt-nes-recomp-case/index.md)

## 使用条件与局限

- **前提条件：**需要自行提供 Duck Hunt (World).nes ROM。
- **前提条件：**构建需要 Visual Studio 2022 和 CMake 3.20 及以上版本。
- **局限：**音频混音仍在开发中。
- **许可：**项目代码采用 PolyForm Noncommercial License 1.0.0，PERMISSIONS.md 另授予附加许可。

## 一手来源

1. <https://github.com/mstan/DuckHuntNESRecomp/blob/f2b684a1ed55eccfc18a308f81c658af5109e815/README.md>
2. <https://github.com/mstan/DuckHuntNESRecomp/blob/f2b684a1ed55eccfc18a308f81c658af5109e815/DUCKHUNT_ZAPPER.md>

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

- [Duke Nukem Zero Hour: Recompiled：Nintendo 64 游戏原生移植](https://awesomerea.org/zh/resources/dnzh-recomp/index.md) · 案例
- [Earthworm Jim 2 Recompiled：PlayStation 游戏静态重编译](https://awesomerea.org/zh/resources/earthworm-jim-2-recomp-case/index.md) · 案例
- [EdgeOfTimeRecompiled：静态重编译《蜘蛛侠：时空边缘》](https://awesomerea.org/zh/resources/edge-of-time-recomp/index.md) · 案例
- [Egg of Time：Chrono Trigger DS 静态重编译移植](https://awesomerea.org/zh/resources/egg-of-time-chrono-trigger-ds-case/index.md) · 案例
- [Einhander：PlayStation 游戏静态重编译项目](https://awesomerea.org/zh/resources/einhander-recompiled-case/index.md) · 案例
- [EmeraldRecomp：静态重编译《宝可梦 绿宝石》](https://awesomerea.org/zh/resources/emerald-recomp-case/index.md) · 案例

## 关于此条目

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