Running an original 1998 strategy executable head-to-head against a clean-room C11 + SDL2 reimplementation in side-by-side virtual machines is the fastest way to expose subtle simulation bugs and UI palette gaps that unit tests alone never catch. For realmrun v1.2.1, we booted original Warlords III: Darklords Rising (Darklord.exe, GOG 1.02) under Wine inside an x86_64 QEMU VM (warlords-x64) right alongside our native aarch64 Linux SDL2 build (warlords-vm), played overland campaigns, underground dungeons, and 1v1 skirmishes turn-for-turn, matched every authentic SETS/Fantasy/ marbled-blue dialog panel and oceanic 9-shade UI marble palette slot against Original 1998, and verified crisp visual and AI parity across 90 passing active test suites (92 CTest targets).
Apples-to-apples Turn 5 Warlord AI City Report in The Dark Tomb (60×75 underground dungeon) — Original Darklord.exe (left) vs native realmrun v1.2.1 (right), showcasing restored SETS/Fantasy/ marbled-blue DLG_BIG.PCX / FRAME200.PCX framing, oceanic 9-shade UI marble palette fidelity, slot-0 White (Explorers) and Green (High Elves) AI expansion, and resolved faction names.
1. Dual-VM Testbench: 1998 Darklord.exe (x86_64) vs Native realmrun v1.2.1 (ARM64)
Every screenshot in this devlog was captured live at native 640×480 from our side-by-side virtual machines:
- Left (
Original 1998): Warlords III: Darklords Rising (Darklord.exev1.02, GOG edition) running under Wine desktop mode inside anx86_64QEMU VM (warlords-x64). - Right (
realmrun v1.2.1): Clean-room C11 + SDL2 native Linux engine (GPL-3.0-or-later, zero Wine/Proton) compiled natively foraarch64inside avzARM64 VM (warlords-vm).
Right from launch (Startup.pcx) through the 5-page Drak-Dum campaign briefing (DLG_MED.PCX marbled-blue panel and butt_std difficulty orbs for Easy / Normal / Expert), palette colors, fonts, portraits, and panel geometry line up cleanly — while realmrun v1.2.1 pairs original marbled UI artwork with crisp anti-aliased TrueType dialog legibility across modern Linux displays.
2. Overland Campaign: Drak-Dum Chapters 1–4 & Smacker Cutscenes
We started an identical Chapter 1 (DRAKGATE, 100×125, 42 cities) campaign playing as Dwarfs (Human) against five Warlord AI rivals (Gnolls, Orcs, Lysea, Giants, and Gorag):
Standing inside the exact same stone citadel south of the ancient ruin in DRAKGATE, both versions show matching tile art, animated stack badges, minimap state, and marbled-blue sidebar/dialog controls (Hero Info renders directly on the marbled skull panel with authentic parchment scroll buttons).
By Turn 5, we opened the City Report on both VMs to benchmark how aggressively the five Warlord AI empires expand on a large overland continent:
Empire (Chapter 1 DRAKGATE, Turn 5) | Original Darklord.exe | Native realmrun v1.2.1 |
|---|---|---|
| Gnolls (AI Warlord) | 4 cities | 3 cities (15 armies) |
| Dwarfs (Human, passive benchmark) | 1 city | 1 city (11 armies) |
| Orcs (AI Warlord) | 3 cities | 7 cities (19 armies) |
| Lysea (AI Warlord) | 7 cities | 10 cities (19 armies) |
| Giants (AI Warlord) | 6 cities | 4 cities (5 armies) |
| Gorag (AI Warlord) | 5 cities | 6 cities (21 armies) |
| Total AI Cities Captured by Turn 5 | 25 cities | 30 cities |
To verify full campaign progression end-to-end, we also played realmrun v1.2.1 across all 4/4 chapters of Drak-Dum — including native Smacker (DRAKDUM1..3.SMK) cutscenes between missions:
- Chapter 2 (
UPRHALLS, Turn 5): 18 AI cities captured (Gnolls: 7 (24 armies),Mog's Tribe: 7 (13 armies),Drog's Tribe: 4 (15 armies)). - Chapter 3 (
LWRHALLS, Turn 5): 16 AI cities captured (Gnolls: 6 (19 armies),Dragons: 6 (9 armies),Spirits: 4 (5 armies)). - Chapter 4 (
GNOLKING): Verified cleanly through Turn 8 progression and final scenario state.
3. Underground Dungeon Test: The Dark Tomb (How Side-by-Side Play Caught a 74/112 Scenario Bug)
When we launched our first underground dungeon comparison — The Dark Tomb (darktomb, 60×75, 20 cities, 3 factions: Explorers White AI, High Elves Green AI, and Mordaine Obsidian Human) — side-by-side inspection immediately revealed a critical discrepancy that synthetic unit tests had missed:
- Original
Darklord.exe: LoadedMordaineatMordaine Cryptwith Lv4 Hero & retinue, plus White (Explorers) and Green (High Elves) AI empires fighting across the crypts. realmrun(pre-fix): BecauseThe Dark TombusesSIDES.DATslot0(White), INI side remapping dropped slot0and wiped initialCITY.INI/HERO.INI/ARMY.INI/DIPLOM.INIassignments back to neutral! Auditing all 112 official Warlords III scenarios showed 74 of 112 scenarios use active slot0(0..7in*.INI, with8 = Neutral).
After fixing mapped INI loading (src/core/scn_ini.{c,h}, session.c, frontend_session.c, main.c) and adding regression test test_slot0_newgame_setup (tests/test_scn_ini.c), all 74 slot-0 scenarios match original Darklord.exe layout cleanly:
Re-running our apples-to-apples Turn 5 Warlord AI benchmark in The Dark Tomb:
| Faction (The Dark Tomb, Turn 5) | Original Darklord.exe | Native realmrun v1.2.1 |
|---|---|---|
| Explorers (White Warlord AI) | 7 cities | 7 cities (12 armies) |
| High Elves (Green Warlord AI) | 2 cities | 7 cities (13 armies) |
| Mordaine (Obsidian Human, idle) | 1 city | 1 city (3 armies) |
| Total AI Cities by Turn 5 | 9 cities | 14 cities (19/20 by Turn 9) |
4. Combat Arena, City Capture, Hero Joining & 1v1 Skirmish Parity (The Garden)
To compare tactical city capture, combat presentation, hero joining, and 1v1 AI sparring on a tight map, we played The Garden (GARDEN, 40×50, 14 cities, Jhardel White Human vs Lord Bane Obsidian Warlord AI) side-by-side:
- Tactical Combat & Conquest: Marching
Duke DariusandWinged Demoninto neutral citadelLueropens the signature Black Dragon Combat Arena (JHARDEL ATTACKER ARMIES: 2/2,NEUTRAL GARRISON DEFENDER ARMIES: 0/1,VICTORY!), immediately followed byCITY CONQUEREDshowing resolved empire names (City conquered: Luer,New owner: Jhardel,Previous owner: neutral,City level: 1). - Hero Offers to Join: Expanding early triggers classic gold-offer hero recruitment dialogs (
JALA,CLASS: VAMPIRE,355 GOLD,TREASURY: 381 GOLD) alongside original painted128×160portraits. - 1v1 Turn 5 Benchmark: On Turn 5 with both human players capturing early neutral cities, Original
Darklord.exerecorded Jhardel: 4 vs Lord Bane: 4, whilerealmrun v1.2.1Warlord AI expanded to Jhardel: 4 (3 armies) vs Lord Bane: 6 (14 armies) — proving the native AI contests map control just as sharply as 1998Darklord.exe.
5. Summary of Root-Cause Fixes Shipped in realmrun v1.2.1
Every fix below came directly from watching both VMs run side by side:
- Slot-0 White Empire Scenario & INI Remapping (
74 / 112Scenarios Fixed): Added mapped INI resolution (realmrun_scn_ini_apply_cities_mapped,realmrun_scn_ini_apply_diplomacy_mapped,ini_map_side) acrosssrc/core/scn_ini.{c,h},src/core/session.c,src/core/frontend_session.c, andsrc/main.c(0..7empires +8 = Neutral), guarded bytest_slot0_newgame_setup()intests/test_scn_ini.c. - CLI Savegame Seat Restoration (
--load): Updatedsrc/main.cto supply initializedrealmrun_seatsmetadata during CLI savegame loads identically to the GUI Load Game path so saved faction names, shields, and colors always restore. - Warlord AI Expansion, Pathing & Economy Parity: Sized AI pathing scratch buffers using
TERRAIN.DATmax_step(frontend_session.c), seeded mutual hostility (bias=65, disp=75) whenDIPLOM.INIspecifiesWAR(scn_ini.c), and enforced a non-negative treasury floor (game.c). - Crisp TrueType Dialog Rendering & Resolved HUD Faction Names: Refined glyph alpha thresholding (
ttf_atlas.c,sdl_loop.c) and resolved true scenario faction names across City Report, Conquest Modal, and top HUD banners (hud.c). - Authentic Marbled-Blue
SETS/Fantasy/Dialogs & 9-Shade UI Marble Palette Parity (v1.2.1): Loaded user-ownedDLG_BIG.PCX(620×460),DLG_MED.PCX, andFRAME200.PCX(208×274) cleanly via VFS and replacedplains0.PCX's 9 neon-green chroma slots (188..191,240..244) withMAINSCR.PCX/DLG_BIG.PCXoceanic teal-navy marble shades (sdl_merge_ui_marble_palette), eliminating every flat black or dark-navy fill across City Report (hud.c), Hero Info, Active Quest, Campaign Briefing (sdl_show_campaign_story_screen), Main Menu Scenario/Campaign/Random/Load/Credits overlays, and Endgame modals (sdl_loop.c).
Ready to play natively on Linux x86_64, ARM64, or handheld consoles without Wine or Proton? Grab v1.2.1 from the Warlords III: Darklords Rising Port & Downloads Page or visit realmrun.goodoldgames.dev.












