capsterx-switch / Vanilla-Conquer

Vanilla Conquer provides clean, cross-platform builds of the C&C Remastered Collection and the standalone legacy games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vanilla Conquer

No extras. No bloat. No major changes. Just the games on your favourite platform.

This project aims to be a clean portable upstream for anyone wanting to mod the Remastered Collection or add features to the original standalone games.

Current project goals are tracked as GitHub issues with the goal label.

All contributions towards project goals are welcome. Please use GitHub issues in advance to make sure your work will be accepted. If you are suggesting a new feature please bear in mind that we do not plan on adding gameplay changes. Work that do not fit the project will be recommended to be developed as a downstream project.

Developers hang around The Assembly Armada Discord server if you feel like chatting.

Building

Windows

Requirements

For Remastered DLLs you need Visual Studio Build Tools 2019. The following components are needed:

  • MSVC v142 C++ x86/x64 build tools
  • Windows 10 SDK
  • CMake

Building

From an x86 VS command line window:

mkdir build
cd build
cmake .. -A win32
cmake --build .

This will build all available targets to the build directory.

Linux

Requirements

  • GNU C++ Compiler (g++)
  • CMake
  • SDL2
  • OpenAL

On 64-bit Debian/Ubuntu you can install the build requirements as follows:

sudo apt-get update
sudo apt-get install g++ cmake libsdl2-dev libopenal-dev

Building

mkdir build
cd build
cmake ..
make -j

This will build all available targets to the build directory.

Linux (MinGW cross-compiling)

Requirements

  • MinGW-w64
  • CMake

On Debian/Ubuntu you can install the build requirements as follows:

sudo apt install mingw-w64 cmake

Building

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=cmake/mingw-toolchain.cmake
make -j

This will build all available targets to the build directory.

Running

Remastered

The build process will produce TiberianDawn.dll and RedAlert.dll in your build directory. These work as mods for the Remastered Collection.

To manually create a local Remastered mod after launching both games once, head to My Documents/CnCRemastered/CnCRemastered/Mods. You should see Tiberian_Dawn and Red_Alert directories.

Create a mod directory within either game, we'll call it Vanilla. Create a directory inside it called Data.

Tiberian Dawn

Copy TiberianDawn.dll to the Data directory. Next create a JSON file (a text file) ccmod.json in the mod directory and add the following content:

{
    "name": "Vanilla",
    "description": "",
    "author": "",
    "load_order": 1,
    "version_high": 1,
    "version_low": 0,
    "game_type": "TD"
}

The directory structure should look like this:

My Documents/CnCRemastered/CnCRemastered/Mods/Tiberian_Dawn/Vanilla/Data/TiberianDawn.dll
My Documents/CnCRemastered/CnCRemastered/Mods/Tiberian_Dawn/Vanilla/ccmod.json

You should now see the new mod in the mods list of Tiberian Dawn Remastered.

Red Alert

Copy RedAlert.dll to the Data directory. Next create a JSON file (a text file) ccmod.json in the mod directory and add the following content:

{
    "name": "Vanilla",
    "description": "",
    "author": "",
    "load_order": 1,
    "version_high": 1,
    "version_low": 0,
    "game_type": "RA"
}

The directory structure should look like this:

My Documents/CnCRemastered/CnCRemastered/Mods/Red_Alert/Vanilla/Data/RedAlert.dll
My Documents/CnCRemastered/CnCRemastered/Mods/Red_Alert/Vanilla/ccmod.json

You should now see the new mod in the mods list of Tiberian Dawn Remastered.

VanillaTD and VanillaRA

Copy the Vanilla executable (vanillatd.exe or vanillara.exe) to your legacy game directory and run.

For Tiberian Dawn the final freeware Gold CD release (GDI, NOD) works fine.

For Red Alert on top of the freeware CD release you need the unreleased 3.03 patch.

About

Vanilla Conquer provides clean, cross-platform builds of the C&C Remastered Collection and the standalone legacy games.

License:Other


Languages

Language:C++ 96.0%Language:C 2.5%Language:Assembly 1.3%Language:CMake 0.3%Language:Python 0.0%Language:Shell 0.0%