# mcg-recomp：将《MechCommander Gold》静态重编译至 Windows

> mcg-recomp 将《MechCommander Gold》的 MCX.EXE 静态转换为 C，并通过 Windows 原生宿主运行生成代码。项目提取 CodeView 函数信息、桥接导入调用，并支持图形、声音、影片和一致性检查；作者报告已打通第一场战役任务及结算。

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

## 使用条件与局限

- **前提条件：**需要用户自己的《MechCommander Gold》副本，其中包含 MCX.EXE。
- **前提条件：**按文档逐步配置需要 Windows 10/11、装有 pefile 和 capstone 的 Python 3.10 或更新版本、git、Visual Studio 2022 C++ 工具，以及相邻目录中的 pcrecomp。
- **局限：**作者报告已完成第一关；后续任务尚未尝试。
- **许可：**采用 MIT 许可证。

## 一手来源

1. <https://github.com/sp00nznet/mcg-recomp/blob/7b22e8ec6aa0455f7ea5cdedcfb1e5f29f054b57/README.md>
2. <https://github.com/sp00nznet/mcg-recomp/blob/7b22e8ec6aa0455f7ea5cdedcfb1e5f29f054b57/docs/architecture.md>

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

- [MCX360 Edition：《Minecraft》Xbox 360 版 iPhone 重编译](https://awesomerea.org/zh/resources/mcx360-edition-case/index.md) · 案例
- [MechAssault 2: Lone Wolf：面向 Windows 的 Xbox 静态重编译](https://awesomerea.org/zh/resources/mechassault-2-recomp-case/index.md) · 案例
- [Medal of Honor: Frontline：多镜像 GameCube 静态重编译](https://awesomerea.org/zh/resources/moh-frontline-gc-recomp-case/index.md) · 案例
- [MediEvil Recomp：PlayStation 游戏静态重编译为 C#](https://awesomerea.org/zh/resources/medievil-recomp-case/index.md) · 案例
- [MediEvil Recompiled：通过 psxrecomp 构建 PlayStation 版《骷髅骑士》](https://awesomerea.org/zh/resources/medievil-psxrecomp-setup-case/index.md) · 案例
- [Mega Man Legends 2：PlayStation 静态重编译安装工具包](https://awesomerea.org/zh/resources/mega-man-legends-2-recomp-case/index.md) · 案例

## 关于此条目

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