Case study
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.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C1 partial scope or analysis entry
- Stars
- 24
- Last commit
- 2026-10-24
- Language
- C
GitHub data as of 2026-11-10
Evidence

- Observed
- Download and demo observed; the case covers part of the target software.
- Scope
- Partial
- Checked
- 2026-11-08
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.
Cite
BibTeX
@misc{kotor-static-recomp-case,
title = {{Star Wars: Knights of the Old Republic: a Win32 static recompilation}},
howpublished = {\url{https://github.com/sp00nznet/kotor-recomp}},
url = {https://github.com/sp00nznet/kotor-recomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/kotor-static-recomp-case/}}
}Plain text
Star Wars: Knights of the Old Republic: a Win32 static recompilation. https://github.com/sp00nznet/kotor-recomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/kotor-static-recomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · sp00nznet/kotor-recomp · Revision 32b287a
- docs/architecture.md GitHub · sp00nznet/kotor-recomp · Revision 32b287a
More in Games
- StarCraft 64: a native port by static recompilation · Case study
- StarCraft: Ghost — an Xbox executable statically recompiled for Windows · Case study
- Starfox 64: Recompiled — an N64Recomp static-recompilation port · Case study
- Starlit Party: porting Mario Party 6 to Windows, Android and browsers · Case study
- strahlender-xnu: native recompilation of Pokémon Brilliant Diamond · Case study
- Street Fighter II Recompiled: a CPS1 static recompilation · Case study