Skip to content

Releases: WolfCTOS/LuaAPI-for-Red-Alert-2

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

Choose a tag to compare

@WolfCTOS WolfCTOS released this 26 Aug 13:39

🚀 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!

LuaAPI v0.1.0-Alpha — Lifecycle Reset, Pointer Safety & Inbound Events

Choose a tag to compare

@WolfCTOS WolfCTOS released this 25 Aug 20:45

First Alpha Release (v0.1.0-alpha)

This release transitions LuaAPI from MVP to Alpha-State, featuring:

  • Pointer & RTTI Safety: ValidateTechno prevents 0xC0000005 crashes on dead/nil objects.
  • Session Lifecycle: Clean Lua VM & callback reset on map load/restart (ResetSession).
  • Inbound Events: Sub-frame damage interception via OnPreDamage.
  • Core Gameplay APIs: house_GetCredits, house_AddCredits, game_PrintMessage, unit:SetHealthRatio, unit:AttachParticleSystem.
  • Multiplayer Safe: Deterministic RNG preventing OOS in CnCNet (--withcncnet).
  • Zero Overhead: Measured 60.04 FPS / 55.11 1% Lows via Intel PresentMon.

Quick Installation:

  1. Unpack all files into your Red Alert 2 / Yuri's Revenge game folder (where gamemd.exe is located).
  2. Run injector.exe, toggle desired sample mods (bounty_hunter, shield_overload), and click Launch Game.