All of this started off with IDA loading the executable for 14 hours until it had finished. At that point, I had researched enough to know roughly what I was looking to do and set in memory that I could play the game offline for 5 minutes offline until it closed itself with some battle. net crash…
It initially gave a few errors and other minor annoyence of messages
Few errors came and saw then came’nt
We were winning… until the game closes itself after 5 minutes, never bothered to look into why as it was kind of a silly project didn’t expect it to be that simple though.
The What
Finding all the needed offsets was fairly simple the only long part about it all was loading the Cold War executable in IDA as it is 550MB and decompiled it was a full 15GB. All i mostly had to find was what I called S_NetworkMode
which is simply a thing to determine if you are in offline play or online play, I also needed to find CMDBuffer
as I called it which was basically a simple way of executing console commands such as devmap (opens a map), and the last thing was GameType
which I needed to set to zclassic
which is for the zombies mode.
Thank you Black Ops 2 PDB (Program Debug Database) that helped me coordinate all the needed properties in Cold War (these games are just shy of a decade apart too lol).