FE8Dev/FE9-Decomp-Project
GitHub: FE8Dev/FE9-Decomp-Project
GameCube游戏《火焰纹章:苍炎之轨》的精确反编译项目,将二进制还原为可重编译的C/C++源码,目标实现PC移植。
Stars: 0 | Forks: 0
# Fire Emblem: Path of Radiance 反编译
这是 **Fire Emblem: Path of Radiance**(GameCube,2005)的进行中匹配反编译项目。
本仓库不包含任何游戏资源或汇编代码。构建时需要一份原始游戏副本。
## 依赖项
### Windows
- [Python](https://www.python.org/downloads/) — 安装时添加到 `%PATH%`(也可从 Windows Store 获取)
- [Ninja](https://github.com/ninja-build/ninja/releases) — 下载并添加到 `%PATH%`
### macOS
```
brew install python ninja
```
操作系统升级后,如果 macOS 提示 Wine 未经验证,请运行:
```
sudo xattr -rd com.apple.quarantine '/Applications/Wine Crossover.app'
```
### Linux
```
# Debian/Ubuntu
sudo apt install python3 ninja-build
# 对于非 x86_64 平台,还需安装 Wine:
sudo apt install wine
# 在 x86_64 上,wibo(一个最小的 32 位 Windows wrapper)将被自动下载。
```
## 构建
### 1. 克隆仓库
```
git clone https://github.com/YOUR_USERNAME/FE9-Decomp-Project.git
cd FE9-Decomp-Project
```
### 2. 提供游戏光盘
将您的游戏光盘镜像复制到 `orig/GFEP01/`。支持的格式:ISO (GCM)、RVZ、WIA、WBFS、CISO、NFS、GCZ、TGC。
```
orig/
GFEP01/
game.iso ← place your disc image here. Also name it FE9.iso
```
### 3. 配置并构建
```
python configure.py
ninja
```
构建系统将在首次运行时自动下载所有必需的工具(decomp-toolkit、编译器、objdiff)。无需手动安装工具。
## 项目结构
```
config/GFEP01/ - Build configuration, symbols, and splits
src/ - Decompiled C/C++ source files
include/ - C/C++ header files
orig/GFEP01/ - Original game files (not committed)
build/ - Build artifacts (not committed)
tools/ - Build scripts and tool downloader
```
## 参考资料
- [decomp-toolkit](https://github.com/encounter/decomp-toolkit) — 支撑本项目核心构建工具
- [dtk-template](https://github.com/encounter/dtk-template) — 本项目所基于的项目模板
- [objdiff](https://github.com/encounter/objdiff) — 本地函数差异比对工具
- [decomp.me](https://decomp.me) — 协作式在线反编译沙盒
- [decomp.dev](https://decomp.dev) — 反编译进度跟踪器
- [GC/Wii Splitting Guide](https://celestialamber.github.io/GC-Wii-Decomp-Splitting-Guide/) — 代码拆分与标记指南
*本项目与 Nintendo 或 Intelligent Systems 无关。*
标签:C++, DNS解析, GameCube, ISO解析, Ninja构建系统, PC移植, Python, Wii, 二进制分析, 云安全运维, 云资产清单, 任天堂, 开源项目, 数据擦除, 无后门, 晓之女神, 游戏反编译, 源码还原, 火焰纹章, 经典游戏复刻, 跨平台编译, 逆向工具, 逆向工程