# Star Wars: Knights of the Old Republic: a Win32 static recompilation

> Star Wars: Knights of the Old Republic is statically recompiled from a user-owned Steam swkotor.exe 1.03 into native C using pcrecomp. The repository supplies the lift driver, a 32-bit Windows host, and conformance scripts; the author reports an alpha build that reaches gameplay on the Endar Spire.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/sp00nznet/kotor-recomp>
- Primary source: <https://github.com/sp00nznet/kotor-recomp/blob/32b287ab3a63e56f48ab9f42137f1b407b1894b7/README.md>
- Catalog page: <https://awesomerea.org/resources/kotor-static-recomp-case/>
- Record JSON: <https://awesomerea.org/resources/kotor-static-recomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/kotor-static-recomp-case/index.md)

## Requirements & limits

- **Prerequisites:** A Steam copy of KotOR containing swkotor.exe 1.03 and Windows 10 or 11 x64.
- **Prerequisites:** Python 3.10 or newer, Visual Studio 2022 C++ tools, CMake 3.20 or newer, Ninja, Git, and a pcrecomp checkout.
- **Limits:** Alpha status; sound remains muted by default pending tests, and later game progress remains under development.
- **License:** MIT License for the repository code.

## Primary sources

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

## More in Games

- [StarCraft 64: a native port by static recompilation](https://awesomerea.org/resources/starcraft64-recomp/index.md) · Case study
- [StarCraft: Ghost — an Xbox executable statically recompiled for Windows](https://awesomerea.org/resources/starcraft-ghost-xbox-recomp-case/index.md) · Case study
- [Starfox 64: Recompiled — an N64Recomp static-recompilation port](https://awesomerea.org/resources/starfox64-recompiled-case/index.md) · Case study
- [Starlit Party: porting Mario Party 6 to Windows, Android and browsers](https://awesomerea.org/resources/starlit-party/index.md) · Case study
- [strahlender-xnu: native recompilation of Pokémon Brilliant Diamond](https://awesomerea.org/resources/strahlender-xnu-case/index.md) · Case study
- [Street Fighter II Recompiled: a CPS1 static recompilation](https://awesomerea.org/resources/street-fighter-ii-recompiled-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
