Star on GitHubStar2.4k stars

Case study

ht2-rev: reconstructing Hard Truck 2's king.exe in C++

ht2-rev reconstructs Hard Truck 2: King of the Road's king.exe as C++ source for a 32-bit Windows build. The work grew from a byte-matching disassembly and translates the helicopter step and trailer hitch solver from x87 instructions, with tests against the original machine code. It extracts resources from the user's executable at build time and runs with an installed game.

Targets
Binary · Game
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Stars
5
Last commit
2026-11-06
Language
C++

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • Prerequisites: Building requires the user's original king.exe for resources; running requires an installed game.
  • Prerequisites: Building requires VS 2022 Build Tools with the v142 x86 toolset, Windows 10 SDK, DirectX 7 SDK libraries, and Python with pefile.
  • Limits: About 2,300 calls still use original labels and untyped call helpers.
  • License: No licence file in the repository.

Cite

BibTeX

@misc{hard-truck-2-king-exe-case,
  title = {{ht2-rev: reconstructing Hard Truck 2's king.exe in C++}},
  howpublished = {\url{https://github.com/KudryavtsevDmitry/ht2-rev}},
  url = {https://github.com/KudryavtsevDmitry/ht2-rev},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/hard-truck-2-king-exe-case/}}
}

Plain text

ht2-rev: reconstructing Hard Truck 2's king.exe in C++. https://github.com/KudryavtsevDmitry/ht2-rev (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/hard-truck-2-king-exe-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · KudryavtsevDmitry/ht2-rev · Revision 53627ed
  2. CONVERSION_LOG.md GitHub · KudryavtsevDmitry/ht2-rev · Revision 53627ed

More in Games

All 2976 entries in GamesGames case studies (2832)

↑↓ move↵ open⌘↵ new tab