electronicarts / CnC_Remastered_Collection

Other
18.31k stars 4.74k forks source link

Somebody can tell me how to deploy? #95

Open sxtgyrq opened 4 years ago

sxtgyrq commented 4 years ago

I use Vs 2019 open the project. when I Generate project,It show error.

gothicx commented 4 years ago

You can use this fork: https://github.com/alexlk42/CnC_Remastered_Collection

tudou614 commented 4 years ago

You can use this fork: https://github.com/alexlk42/CnC_Remastered_Collection

Why I got thousands of errors and warnings after gitting your fork and build them with VS2019?

Done building project "RedAlert.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 2 failed, 0 skipped ==========

GuntranHoet commented 3 years ago

Ensure that your .vcxproj are updated correctly to match which versions you are running. As @gothicx mentioned in his URL, using platform toolset v124 is key if you want to build on VS2019.

Here're my updated .vcxproj files. https://github.com/electronicarts/CnC_Remastered_Collection/commit/28cbd84d3f866694a050099828fd721686421005

After installing the right VS versions, be sure that you clear all changes that you made before re-opening the project with your new version (v142) installed. Then VS will prompt you to upgrade/update the project. Accept it and that should do it.

This is already explained in @gothicx 's URL's readme page.

wsxjbupt commented 3 years ago

You can use this fork: https://github.com/alexlk42/CnC_Remastered_Collection

I use this fork,when i generate projerct it shows no error. But when i run this project it shows ".dll is Not a valid Win32 application". So i want know which project should be setted as step up project and output as ".exe" rather than ".dll". Hope your reply.

Revenent commented 3 years ago

I use this fork,when i generate projerct it shows no error. But when i run this project it shows ".dll is Not a valid Win32 application". So i want know which project should be setted as step up project and output as ".exe" rather than ".dll". Hope your reply.

Please follow the steps listed here:

https://steamcommunity.com/sharedfiles/filedetails/?id=2132108399

wsxjbupt commented 3 years ago

I use this fork,when i generate projerct it shows no error. But when i run this project it shows ".dll is Not a valid Win32 application". So i want know which project should be setted as step up project and output as ".exe" rather than ".dll". Hope your reply.

Please follow the steps listed here:

https://steamcommunity.com/sharedfiles/filedetails/?id=2132108399

thank you for you reply. I am in China. You recommond to me the guide video i cant see.

Revenent commented 3 years ago

Please follow the steps listed here: https://steamcommunity.com/sharedfiles/filedetails/?id=2132108399

thank you for you reply. I am in China. You recommond to me the guide video i cant see.

For local testing you only need to follow the bottom portion of that page. Create the ccmod.json file using the template on that page (fill in the "name" and "description" portions), and create the folder structure (replace "CitizenKane" with the name of your mod).

When you launch the appropriate game, go into Options then click on Mods and you should see your mod. If you hover above the mod, it should show that it is a local mod and not a workshop mod. Select it, click on OK, restart the game, and your mod is now active, assuming you have not broken anything.