electronicarts / CnC_Remastered_Collection

Other
18.33k stars 4.74k forks source link

I can not open it with Visual Studio(2019)! #110

Open ErikWang07 opened 3 years ago

ErikWang07 commented 3 years ago

HELP!!

And how to run the program?

OmniBlade commented 3 years ago

It doesn't make a program, it makes a .dll file that you can use with the remaster in place of the shipped game logic dll files. See https://ppmforums.com/topic-51231/info-modding-faq/ for details on modding the remasters. MSVC 2019 doesn't correctly build the code with the solution as provided here though, you need to add soem defines to even get it to build and the resulting dll files will crash the remaster unless you install the 2017 compiler and compile with that.

https://github.com/TheAssemblyArmada/Vanilla-Conquer has better support for MSVC 2019 by using CMake to generate the solutions, the code there isn't exactly the same as in this repo though, its been updated, asm replaced with C++ code and its been restructured a bit to allow building standalone binaries that can play the original game content.