Skip to content
Proyek

Tentang

Red Alert 2: Yuri's Revenge rebuilt in Rust / 用 Rust 重写的《红警2:尤里的复仇》

Alat pengembangan

Cara angka ini diukur

927 bintang155 Fork +49 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+49
dalam 7 hari
+477
dalam 15 hari
+553
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli
VERA20K hero image

Tiếng Việt · Svenska · 简体中文 · 繁體中文 · Deutsch · العربية · Español · 日本語 · Русский · ไทย · Türkçe · English

Linux library tests Windows library tests Join Discord QQ group (VERA20K) QQ group (ra20k.com)

VERA20K

VERA20K is a new engine for Red Alert 2: Yuri's Revenge. It plays like the original, with the same units, maps and look, and runs on Windows, macOS and Linux. It supports battles with up to 20,000 units on one map. Offline Skirmish has up to 120 player slots. LAN and online matches have up to 30.

VERA20K is made by gamers, for gamers, and gamers have the final say in where it goes.

VERA20K skirmish setup screen and in-game view

Download and play

  1. Install Red Alert 2: Yuri's Revenge from Steam or the EA app.
  2. Download VERA20K for your system from the releases page.
  3. Open the file you downloaded. It finds your game and sets up VERA20K in its own folder.

Stuck? See the help page.

Project goals

  1. Keep the gameplay, visuals and atmosphere of the original Red Alert 2: Yuri's Revenge.
  2. Support bigger battles on 500×500 maps with up to 20,000 units, 120 player slots in offline Skirmish and 30 on LAN or online.
  3. Incorporate known RTS features and some never seen before.
  4. Integrated multiplayer client

Contributing

Contributors can take responsibility for engine areas, with broad freedom to make changes that move VERA20K forward.

Maintainers will help with review, integration and merging. You'll keep full credit for your contribution.

Admins: hrusten, 996666925, EncoreAlpha, HaoJun0823, libi, zzzzzzh123

Discussion is on Discord and in the QQ group (1097193563).

Architecture

The engine has three main parts:

  • Simulation: Owns gameplay state and logic.
  • Rendering: Draws terrain, units and buildings on the GPU using the original game's art.
  • Application: Handles input, menus, audio, and platform integration, connecting the systems.

This separation supports deterministic gameplay.

Arrows show data flow:

Application sends commands to simulation, which returns world state; application sends draw data to rendering.

Build and run

You need:

  • Rust and Git: Rust 1.97 or later, installed with rustup, and Git.
  • Build tools: on Windows, the Visual Studio C++ build tools, which the Rust installer offers to install; on macOS, xcode-select --install; on Debian and Ubuntu, sudo apt install build-essential libasound2-dev libxkbcommon-x11-0 pkg-config.
git clone https://github.com/YuriPlanet/vera20k.git
cd vera20k
cp config.toml.example config.toml
# Edit config.toml and set ra2_dir to your game folder before running:
cargo run --release --bin vera20k

How we work

Most of the code is written by AI coding agents. They use Ghidra to study the original engine, then port its behavior to Rust and check it with comparison tools and playtesting. Agents follow AGENTS.md.

Customization

VERA20K uses the original Yuri's Revenge rules by default. In Options, you can change sound, graphics and controls or turn on VERA features. The game saves your preferences in VERA.INI, with VERA-specific options under [VERA].

You can add your own mods, maps, music and more. They go in the VERA20K folder: the install folder on Windows, ~/Library/Application Support/VERA20k on macOS and ~/.local/share/VERA20k on Linux.

  • Mods: in Options → Mods, Add Mod installs a mod you downloaded and New Mod starts your own. Each mod gets its own folder in Mods.
  • Maps: put .map, .mpr or .yrm files in Maps to play them in Skirmish. Maps you download online are saved there too.
  • Music: put WAV or AUD files in musics and add a music.ini there with enable=yes under [Music]. Your songs then play in matches alongside the game's music; ExclusiveMode=yes plays only yours.
  • HD art: an HD art pack is installed and picked like a mod. Then turn on HD art in Options.
  • Languages: a vera20k.<language>.ini file adds a language or changes the game's text. See translating.

Lobby settings, mods and maps can change the rules for a match. Mods and maps can enable supported Ares, Phobos and Kratos features through their INI files. A mod can also enable Ares by including ares.mix. Some Phobos features still require a build with --features phobos.

To create a mod, start with the modding guide.

Support

Support VERA20K via PayPal

All donations received are distributed to contributors according to the TIBTRE contribution ledger.

Payouts to contributors:

PayPal China UnionPay Alipay Vipps SEPA Bitcoin

Credits and legal

Thanks to OpenRA, XCC Mixer, the ModEnc wiki, Project Perfect Mod, EA's GPL source release of Command & Conquer and Red Alert, World-Altering Editor, Final Alert, YRpp, Ares, Phobos and many others.

Copyright © 2026 Halvor Nikolai Rusten and VERA20K contributors. Licensed under the GPLv3 with additional terms. VERA20K includes the snow ice and shoreline artwork from Tiberian Sun: Firestorm with permission. Electronic Arts owns that artwork. Players supply their own Yuri's Revenge game files. Command & Conquer and Red Alert are trademarks of Electronic Arts Inc., and the screenshots and the app icon, Red Alert 2's red star, show game art owned by Electronic Arts. VERA20K is not affiliated with or endorsed by Electronic Arts.

This product includes software developed by the Ares Contributors.

This product includes software developed by the Phobos Developers.

This product includes software developed by the Kratos Authors.

Read the legal notice before you share, sell or fork VERA20K.

Documentation

Jelajahi proyek terkait

Memuat…