# Eidolon in Rust：Eidolon 64k 演示的逐字节一致 Rust 移植

> 把 Poo-Brain 在 Revision 2017 夺得 PC 64k 组冠军的 Eidolon，从经过压缩的 60,928 字节 Windows 可执行文件移植到 Rust，并附有说明原二进制工作原理的章节和单独的体积优化版本。作者报告由 OpenCode 与 Claude Code 协同的多个智能体完成工作，所用工具包括经 REA MCP 服务调用的 Ghidra：先在受控时钟下为原作建立参考捕获，再使全部 27,000 帧的哈希与完整 PCM 一致。一致性依据项目自己在特定 GPU 上的捕获，移植版嵌入原作数据。

- 类型：案例
- 目标：二进制
- 类别：REA 社区调查案例
- 关联：作者报告的混合工具流程
- 来源复核于：2026-10-19
- 收录于：2026-11-09
- 原始资源：<https://github.com/RovshanMuradov/eidolon-64k-rs>
- 一手来源：<https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/eidolon-64k-rust-port-case/>
- 记录 JSON：<https://awesomerea.org/resources/eidolon-64k-rust-port-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/eidolon-64k-rust-port-case/index.md)

## 使用条件与局限

- Rust 移植面向 i686-pc-windows-gnu。文档中的 Linux 构建使用 Rust 1.97、MinGW-w64、Clang、Python、Wine 和无界面 gamescope；体积优化构建还需 NASM。参考捕获和体积优化构建在 Linux 上运行；macOS 无法运行该演示。
- 重新捕获参考需要 scene.org 上的原版发布包和 Microsoft DirectX 可再发行组件中的 gm.dls，两者均通过 SHA-256 校验。移植版嵌入原作数据表、曲线、着色器、音乐及 15 个 Roland GM/GS 采样；体积优化版读取系统中的 gm.dls。
- 项目报告在受控时钟下匹配 27,000 帧的哈希和完整 PCM。附带的帧哈希适用于其 RTX 3070 Ti、驱动和 Wine 环境；其他 GPU 需要本地捕获参考。大部分故障注入测试需要未公开的 5.8 GB 原始参考数据；其中 57 项可独立运行。原生 Windows 播放和逐帧检查尚未测试。
- 体积优化版为 44,139 字节，原作为 60,928 字节；未达到 32 KiB 目标。作者报告由智能体主导开发，人负责设定目标并作出决定。
- Rust 代码、工具和文档采用 MIT 或 Apache-2.0 许可。附带的 kkrunchy 源码为公有领域。原作着色器、音乐、动画数据和 Roland 采样仍归各自权利人，不在这些许可证范围内。

## 一手来源

1. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/README.md>
2. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/docs/rust/README.md>
3. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/docs/rust/verification.md>
4. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/docs/en/README.md>
5. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/size/README.md>
6. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/LICENSE-MIT>
7. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/LICENSE-APACHE>
8. <https://github.com/RovshanMuradov/eidolon-64k-rs/blob/5850c270f0f600c15c4cdfd2ac679a0e2b1f6984/size/packer/LICENSE>

## 同分区更多条目：原生二进制

- [m0rph：追踪混淆 ELF 程序的字符串校验逻辑](https://awesomerea.org/zh/resources/m0rph-ctf-analysis-case/index.md) · 案例
- [CPQ IO Scheduler：还原小米的块设备调度器](https://awesomerea.org/zh/resources/cpq-iosched-case/index.md) · 案例
- [Malware Analysis：njRAT 与 Casdet 行为研究](https://awesomerea.org/zh/resources/malware-analysis-njrat-casdet-case/index.md) · 案例
- [FSR 4 INT8：GPU 计算阶段重建与对比测试工具](https://awesomerea.org/zh/resources/fsr4-int8-reconstruction-case/index.md) · 案例
- [bcwc_pcie：对照 Apple kext 审计 FaceTime HD 摄像头驱动](https://awesomerea.org/zh/resources/bcwc-pcie-camera-audit-case/index.md) · 案例
- [XexTool-RE：重建 Xbox 360 XexTool 工具](https://awesomerea.org/zh/resources/xextool-re-case/index.md) · 案例

## 关于此条目

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