# Star Wars: Knights of the Old Republic：Win32 静态重编译

> Star Wars: Knights of the Old Republic 项目使用 pcrecomp 将用户自有 Steam 版 swkotor.exe 1.03 静态重编译为原生 C。仓库提供提升脚本、32 位 Windows 运行时及一致性检查脚本；作者报告 Alpha 版本已能进入 Endar Spire 的游戏流程。

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

## 使用条件与局限

- **前提条件：**需要含 swkotor.exe 1.03 的 Steam 版 KotOR，以及 Windows 10 或 11 x64。
- **前提条件：**需要 Python 3.10 或更新版本、Visual Studio 2022 C++ 工具、CMake 3.20 或更新版本、Ninja、Git 和 pcrecomp 源码。
- **局限：**项目处于 Alpha 阶段；声音在测试完成前默认静音，后续游戏流程仍在开发。
- **许可：**仓库代码采用 MIT 许可证。

## 一手来源

1. <https://github.com/sp00nznet/kotor-recomp/blob/32b287ab3a63e56f48ab9f42137f1b407b1894b7/README.md>
2. <https://github.com/sp00nznet/kotor-recomp/blob/32b287ab3a63e56f48ab9f42137f1b407b1894b7/docs/architecture.md>

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

- [StarCraft 64：通过静态重编译实现的原生移植](https://awesomerea.org/zh/resources/starcraft64-recomp/index.md) · 案例
- [StarCraft: Ghost：将 Xbox 可执行文件静态重编译至 Windows](https://awesomerea.org/zh/resources/starcraft-ghost-xbox-recomp-case/index.md) · 案例
- [Starfox 64: Recompiled：基于 N64Recomp 的静态重编译移植](https://awesomerea.org/zh/resources/starfox64-recompiled-case/index.md) · 案例
- [Starlit Party：将《马里奥派对 6》移植到 Windows、Android 与浏览器](https://awesomerea.org/zh/resources/starlit-party/index.md) · 案例
- [strahlender-xnu：《Pokémon Brilliant Diamond》的原生静态重编译](https://awesomerea.org/zh/resources/strahlender-xnu-case/index.md) · 案例
- [Street Fighter II Recompiled：CPS1 游戏静态重编译](https://awesomerea.org/zh/resources/street-fighter-ii-recompiled-case/index.md) · 案例

## 关于此条目

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