Phobos YR Engine Extension

Github All Releases Docs status Workflow EditorConfig license

Warning The project is currently not maintained actively enough and thus we are looking for active maintainers at the moment. Please message us in Discord channel (or PM Kerbiter directly).


…is a community engine extension project providing a set of new features and fixes for Yuri’s Revenge based on modified YRpp and Syringe to allow injecting code. It’s meant to accompany Ares rather than replace it, thus it won’t introduce incompatibilities.

While Phobos is independent of Ares and does NOT require Ares specifically to function, Phobos complements some of the features found in Ares and vice versa.

You can discuss the project at a dedicated channel on C&C Mod Haven.


You can choose one of the following:

Note on nightly builds

Last two listed versions are bleeding edge (don’t redistribute them outside of testing!) and have build information (commit and branch/tag) in them which is displayed ingame and can’t be turned off. You can get a build for development branch (link above) any up-to-date pull request via an automatic bot comment that would appear in it and would contain the most recent successfully compiled version of Phobos for that feature branch. Please note that the build is produced only if the PR has no merge conflicts. Alternatively, you can get an artifact manually from GitHub Actions runs. You can get an artifact for a specific commit which is built automatically with a GitHub Actions workflow, just press on a green tick, open the workflow, find and download the build artifact. This is limited to authorized users only.

Installation and Usage

  1. If you don’t have Syringe installed into your mod already, you can download it together with the latest Ares package. To install simply drop Syringe.exe into your game folder (where your gamemd.exe is located). It’s highly recommended to install Ares too to get full Phobos feature set, just drop all the files from the archive except documentation folder into your game folder.

  2. Obtain a Phobos “package” (official builds can be found on releases page; read below to learn how to get nightly builds). You should end up with two files: Phobos.dll and Phobos.pdb.

  3. Place those files in the game folder (where your gamemd.exe is located).

  4. To launch the game with Phobos (and all other installed Syringe-compatible engine extensions including Ares) you need to execute Syringe.exe "gamemd.exe" [command line arguments for gamemd.exe] in command line (omit arguments if you don’t need any). RunAres.bat from Ares package does the same so you may use that as well.

If you already use Ares in your mod, you just need to drop Phobos files mentioned above in your game folder, Syringe will load Phobos automatically. This also applies to mods using XNA client with Syringe; if your mod doesn’t use Syringe and Ares (or you just haven’t set up the client) yet we recommend to use CnCNet client mod base by Starkku which is compatible with Ares and Phobos out of the box.

Additional files and tools that you may need are located at Phobos supplementaries repo.

By default Phobos doesn’t do any very noticeable changes except a few bugfixes. To learn how to use Phobos features head over to official documentation.


You can switch between versions (displays latest develop nightly version by default) in the bottom left corner, as well as download a PDF version.

The documentation is split by a few major categories, each represented with a page on the sidebar. Each page has its contents grouped into multiple subcategories, be it buildings, technotypes, infantries, superweapons or something else.

How to read code snippets

; which section the entries should be in
; can be a freeform name - in this case the comment would explain what it is
; if no comment to be found - then it's a precise name
[SOMENAME]           ; BuildingType
; KeyName=DefaultValue ; accepted type with optional explanation
; if there's nothing to the right of equals sign - the default value is empty/absent
; if these keys have had their value set, they can only be set to their default
; unset state again by setting the value to <default>, <none> or none
; for list of values only <default> clears the entire list
; if the default value is not static - it's written and explained in a comment
UIDescription=<none> ; CSF entry key

Building manually

  1. Install Visual Studio (2022 is recommended, 2019 is minimum) with the dependencies listed in .vsconfig (it will prompt you to install missing dependences when you open the project, or you can run VS installer and import the config). If you prefer to use Visual Studio Code you may install VS Build Tools with the dependencies from .vsconfig instead. Not using a code editor or IDE and building via command line scripts included with the project is also an option.

  2. Clone this repo recursively via your favorite git client (that will also clone YRpp).

  3. To build the extension:

    • in Visual Studio: open the solution file in VS and build it (Debug build config is recommended);

    • in VSCode: open the project folder and hit Run Build Task... (Ctrl + Shift + B);

    • barebones: run scripts/build_debug.bat.

  4. Upon build completion the resulting Phobos.dll and Phobos.pdb would be placed in the subfolder identical to the name of the buildconfig executed.



  • Belonit (Gluk-v48) - project author

  • Kerbiter (Metadorius) - project co-author, BDFL, maintainer (semi-active for the time being; Patreon, PM me for PayPal to avoid fees)

  • Starkku - co-maintainer, developer (Patreon)

  • Uranusian (Thrifinesma) - retired developer, CN community ambassador (Patreon, AliPay)

  • secsome (SEC-SOME) - developer

  • Otamaa (Fahroni, BoredEXE) - developer (PayPal)

  • FS-21 - developer

  • Morton (MortonPL) - co-maintainer, developer

  • Trsdy (chaserli) - co-maintainer, developer

For all contributions see full credits list.

Thanks to everyone who uses Phobos, tests changes and reports bugs! You can show your appreciation and help project by displaying the logo (monochrome version can be found here) in your client/launcher (make it open Phobos GitHub page for extra fanciness), linking to Phobos repository, contributing or donating to us via the links above.