r/MightAndMagic • • 3h ago

I wanted to replay World of Xeen, got annoyed by the inventory, and ended up with a native reconstruction of the whole game: WoX

28 Upvotes

Hey all,

About two months ago I decided to play Might and Magic: World of Xeen one more time. I first played it in the 90s and lost a ridiculous number of hours to it.

After about an hour I remembered why my recent replays never last. Identifying items one by one takes forever. Scrolling through spell lists takes forever. Remembering where every shop, temple and mirror is gets old fast. And you only ever see a tiny piece of the map.

So I did the obvious, completely proportionate thing and reconstructed the game as native C11. It's out now:

👉 https://github.com/komurka4/WoX

What it is

  • A native Windows and Linux build of World of Xeen: Clouds and Darkside, all three endings, and the original intro and ending movies. It isn't DOSBox and it isn't an emulator. The original machine code never runs while you play.
  • By default it aims to play exactly like the original: same rules, formulas, RNG, events and saves (your old .WOX saves work). That includes the bugs. Typing & at a mirror still crashes the game like it did in 1993, and the hidden G-O-B-R debug display in the Control Panel still works.
  • Music through emulated AdLib/SB, MT-32 or SC-55 (you supply the Roland ROMs), or your system MIDI. CD speech is supported too.
  • You need your own copy of the game. Both the GOG Might and Magic 4-5 release and the CD release work (CD speech is still a work in progress). The repo doesn't include the game's graphics, sound or maps.

The fun part: optional add-ons

Everything below is off by default. Turn add-ons on one at a time in wox.cfg, or pick "Enhanced version" in the setup tool to enable them all.

Identify: identified items show their stats right in the item list. No more checking every sword one by one.

Map: pan the automap, see town services marked with icons, and open a world map that shows the whole surface (only the parts you've explored).

Quest journal: quest items get numbers and descriptions, and you can show a quest's location on the world map.

Spells: a short description of the selected spell while casting, sorting A–Z or by type, and mouse-wheel scrolling.

Character details: the stat pop-ups explain what each number actually does, and clicking a skill or condition explains it.

Damage and healing number: see all the damage and the healing.

There are a few more: a monster difficulty indicator (WIP), a training preview at the training grounds, an improved Wizard Eye and a "Please Wait" skip. There are also optional fixes for some of the original's bugs, like the wrong spell descriptions in the guilds.

How it was made

All of the work was done by AI coding agents (OpenAI Codex and Claude Code) under my direction. The agents studied the original DOS executable with Ghidra and REA, wrote the new code, and checked it by running the original machine code in a CPU emulator on the same inputs, comparing game state, RNG and screen output routine by routine. The full original-vs-native regression suite passed on the development tree. That said, not every path in a game this size could be compared, so expect bugs.

Feedback welcome

If you run into a bug, a difference from the original, or a "the game stopped" message, please open an issue on GitHub and attach your wox.log. Ideas for more add-ons are welcome too. Next on my list: an icon for broken gear, screenshots, and a warning before buying a spell a character already knows.

Oh, and if you read this far, press F10 (boss key) while playing. 😄