Dune Legacy 0.98.7.1 is now available! This release doubles the map editor's design canvas, overhauls the pathfinding pipeline, restores the classic Campaign AI as the default opponent, and adds stability fixes for both single-player and multiplayer queue stress situations.
🗺️ Map Editor Enhancements
- Expanded Map Sizes: Map editor now supports creating maps up to 512x512 tiles (doubled from previous 256x256 limit)
- Improved Size Selection: Map size dropdowns now increment by 64 tiles for better granularity (64, 128, 192, 256, 320, 384, 448, 512)
- Enhanced Radar/Minimap: Automatic scaling and centering for all map sizes on the radar viewport
⚙️ Performance & Pathfinding
- New Path Cache: Unit path requests are cached with destination and map revision tracking so idle squads no longer flush and recompute identical paths every tick
- Map Revision System: Terrain updates (like structures being placed/destroyed) now increment a pathing revision counter. Cached paths are invalidated only when the topology truly changes, keeping 90% of previously computed paths reusable
- A* Buffer Pool: The A* searcher reuses a pool of preallocated tile buffers, removing thousands of malloc/free cycles during late-game battles and cutting frame spikes
- Stuck Detection & Rescue: Units track progress toward their destination, automatically request a carryall if they fail to make progress, and stop thrashing the queue with hopeless retries
- Queue-Stress Protection: Military squads stop repathing when the queue depth exceeds 300, prioritize combat/retreat intents. Multiplayer FPS drops (12 FPS → 50+ FPS) are eliminated
- Uncapped Rendering: VSync is now disabled by default so PCs with fast monitors can run at 120+ FPS while feeding the path budget system more headroom
🧠 AI & Unit Behavior
- Default AI: CampaignAIPlayer replaces qBot as the default opponent so new skirmishes use the authentic Dune II behavior
- Ground-Contact Activation: Original AI activation now only triggers after ground-unit contact, matching the classic campaign flow
- Builder Defaults: AI-produced harvesters automatically start in HARVEST mode, reducing idle harvester stalls
- Immediate Defense: Campaign AI now scrambles defenders (including Deviators and Launchers) whenever structures or harvesters are hit, and respects alliances via Team IDs
🧩 Compatibility & Build System
- Savegame Back-Compat: Save files as old as version 0.97.05 load cleanly
- MSVC Builds Restored: Campaign AI data tables were rewritten to avoid GCC-only designated initializers. The CMake toolchain is back to C++17 for maximum compiler coverage
- Windows Polish: The Windows executable icon embedding was fixed and updated config backup files include the new AI defaults
Download Links
- Windows: DuneLegacy-0.98.7.1-Windows-x64.exe
- macOS: DuneLegacy-0.98.7.1-macOS.dmg
Note: The game is now ready to play immediately after installation with all PAK files included!
