Skip to content

LuaAPI v1.0.0 Production Release — Turing-Complete Scripting Engine for RA2: YR

Latest

Choose a tag to compare

@WolfCTOS WolfCTOS released this 26 Aug 13:39
· 201 commits to main since this release

🚀 LuaAPI for Red Alert 2: Yuri's Revenge — v1.0.0 Production Release

Official v1.0.0 Production Release of LuaAPI — native x86 Lua 5.4 scripting engine for gamemd.exe (Yuri's Revenge 1.001) with zero engine overhead and complete crash resilience.

🌟 Key Highlights:

  • 🛡️ 0xC0000005 (Access Violation) Prevention: RTTI (WhatAmI()) validation prevents crashes on dead units.
  • ⚡ Sub-Frame Inbound Events: Reactive damage interception (OnPreDamage) for energy shields & armor.
  • 🗺️ Spatial Map Queries & Lifecycle Hooks: OnScenarioStart, OnUnitDestroyed, game_GetWaypoint, and game_GetUnitsInRadius.
  • 🌐 CnCNet Lockstep Determinism: Deterministic frame-seeded RNG (--withcncnet spawner mode) with zero Out-of-Sync (OOS).
  • 📊 Zero Overhead (Intel PresentMon Verified): 60.04 Avg FPS / 55.11 1% Low FPS. 18,000+ combat frames stress-tested.
  • 🖥️ Win32 GUI Mod Manager: High-DPI support, conflict detector, mod card list, one-click launch.

📦 Included Sample Mods:

bounty_hunter, shield_overload, damaged_fleet, god_mode, tesla_overload, smart_ai.

📥 Quick Start:

  1. Download LuaAPI-v1.0.0-Release.zip below.
  2. Extract into your Yuri's Revenge game folder (next to gamemd.exe).
  3. Run injector.exe, toggle desired mods, and click Launch Game!