AppMunchies.
Code on GitHub

This 2004 RPG was reverse-engineered rule by rule, bugs included, now on your phone ⚔️ #demake

by indicozy

Razdor is an open-source engine for Discord Times (Aterdux, 2004), a turn-based strategy/RPG. It plays the original campaign, community maps and mods by the original rules, then adds what a 2004 engine couldn't. How it was built - Clean-room reverse engineering: the original exe was taken apart in Ghidra; every rule maps and mods can see (battle, AI, scripts, events, saves) was written up as a spec first, then implemented. The code cites the original's addresses. - Diff tests: the original runs under Wine, a script mode replays the same inputs in both and compares state step by step. By default Razdor matches the original exactly, bugs included; every deviation is an experimental switch, off by default (16 now). - Rust + macroquad, ~190k lines, GPL-3.0. The rules are a separate, unit-tested module with no graphics; the original's files (ini data, .DTm maps, pictures, sounds) are read at runtime. - Deterministic: every game is recorded and can be replayed at up to 16x. What you get - ~10x the frame rate: about 1,850 FPS against about 176 for the original under Wine (1024x768, uncapped). Half a second to the first frame. - Any resolution and aspect ratio, up to 180 Hz, graphics presets from "Original" (pixel-for-pixel 2004) to "High" (light, shadows, flowing water, weather, mist instead of black fog, a living map), and a 2.5D view. - Linux, Windows, macOS; Android and iOS experimental, with a touch layout and a battery saver. - An in-game hub with the community's work: 327 maps, 29 campaigns, 25 mods.

View the code ↗