Hacking Castle of the Winds with chastehex

23 days ago
16

In the fall of 2025, I began work on an unusual program called chastehex that can arbitrarily read and write bytes at any address of a file. Such a program is capable of cheating at video games from the 80s and 90s by editing the save files in the right places.

The program is available, with full source code at GitLab and GitHub.

https://gitlab.com/chastitywhiterose/chastehex

https://github.com/chastitywhiterose/chastehex

You can download otvdm from here to get 16-bit games running on modern Windows.

https://github.com/otya128/winevdm/releases

You can read more about Castle of the Winds here and many other sources.

https://en.wikipedia.org/wiki/Castle_of_the_Winds

And you can download it here too, as I discovered from the Wikipedia article:

http://lkbm.ecritters.biz/cotw/download.html

The purpose of this video was to share an old game I enjoyed but also to explain the usage and philosophy behind my chastehex program. Let me know if you would like future tutorials on programming or more on editing game save files because I am pretty good at it and have information that is fun to share.

Loading comments...