Releases: WolfCTOS/LuaAPI-for-Red-Alert-2
Releases · WolfCTOS/LuaAPI-for-Red-Alert-2
Release list
LuaAPI v1.0.0 Production Release — Turing-Complete Scripting Engine for RA2: YR
🚀 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, andgame_GetUnitsInRadius. - 🌐 CnCNet Lockstep Determinism: Deterministic frame-seeded RNG (
--withcncnetspawner 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:
- Download
LuaAPI-v1.0.0-Release.zipbelow. - Extract into your Yuri's Revenge game folder (next to
gamemd.exe). - Run
injector.exe, toggle desired mods, and click Launch Game!
LuaAPI v0.1.0-Alpha — Lifecycle Reset, Pointer Safety & Inbound Events
First Alpha Release (v0.1.0-alpha)
This release transitions LuaAPI from MVP to Alpha-State, featuring:
- Pointer & RTTI Safety:
ValidateTechnoprevents0xC0000005crashes 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:
- Unpack all files into your Red Alert 2 / Yuri's Revenge game folder (where
gamemd.exeis located). - Run
injector.exe, toggle desired sample mods (bounty_hunter,shield_overload), and click Launch Game.