A debugging tool to replay C&C scenarios through a console app. This can be a lot handier than launching the whole game etc etc.
So far only tested with Tiberian Dawn campaign.
- Take the TiberianDawn.dll and drop it into your mod data folder.
- Run the mission as far as you need then exit. Inside the CNC root folder (e.g. \steamapps\common\CnCRemastered) there should be an events_in.txt.
- Take this file and drop it into the CAndCDebugger source directory (replacing the existing one). That file should get copied to the output directory when building (seams a bit flaky with C++ projects, maybe someone could enlighten me as to a better way).
- Debug and all the dllInterface functions that are stored in the file should be execute exactly as they were originally. The game should run quickly to the end and exit.
- CNC_Version
- CNC_Add_Mod_Path
- CNC_Init
- CNC_Config
- CNC_Start_Instance_Variation
- CNC_Set_Home_Cell
- CNC_Set_Difficulty
- CNC_Advance_Instance
- CNC_Handle_Input
- CNC_Handle_Sidebar_Request
- CNC_Get_Game_State