# HotaSim: reconstructing Horn of the Abyss battle mechanics

> HotaSim reimplements selected Heroes III: Horn of the Abyss battle mechanics in C++ and uses them in a battle simulator. The author describes reverse-engineering game code, recording Cheat Engine addresses and annotating AI disassembly. The simulator currently handles simple melee units without additional abilities.

- 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/patrulek/hotasim>
- Primary source: <https://github.com/patrulek/hotasim/blob/21f604163180170a64507fee407f627523f517fa/README.md>
- Catalog page: <https://awesomerea.org/resources/hotasim-case/>
- Record JSON: <https://awesomerea.org/resources/hotasim-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/hotasim-case/index.md)

## Requirements & limits

- **Prerequisites:** Visual Studio and the Horn of the Abyss game are needed for the documented build and analysis workflow.
- **Limits:** Simulation is limited to simple melee units, and the outcome replay is buggy.
- **License:** MIT license.

## Primary sources

1. <https://github.com/patrulek/hotasim/blob/21f604163180170a64507fee407f627523f517fa/README.md>

## More in Games

- [Hulabee Sauce engine: reconstructing a game VM and asset formats](https://awesomerea.org/resources/hulabee-sauce-engine-case/index.md) · Case study
- [I26: reimplementing Interstate ’76 in Godot](https://awesomerea.org/resources/i26-interstate/index.md) · Case study
- [impacto: a reimplementation of the MAGES. visual-novel engine](https://awesomerea.org/resources/impacto-mages-engine-case/index.md) · Case study
- [Irisu ML: reconstructing Irisu Syndrome! normal mode](https://awesomerea.org/resources/irisu-ml-case/index.md) · Case study
- [IW4L: a Rust runtime that plays Modern Warfare 2 from the user’s installed game](https://awesomerea.org/resources/iw4l-mw2-rust-runtime-case/index.md) · Case study
- [Jade Cocoon on Bevy: a Rust engine reimplementation](https://awesomerea.org/resources/jade-cocoon-on-bevy-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.
