Skip to content

Save and replay TiberianDawn missions through a console app. For debugging

License

Notifications You must be signed in to change notification settings

JimmyHeartbreaker/CnC_Remastered_Collection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAndCDebugger

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.

How to use:

  • 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.

Methods recorded

  • 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

About

Save and replay TiberianDawn missions through a console app. For debugging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.7%
  • C 3.9%
  • Assembly 2.4%