Afforess
The White Wizard
I re-organized (read: rewrote) most of my changes to RevDCM source code, to make it cleaner and to move new functions to the bottom of the code, instead of scattered everywhere.
When I was re-ordering the Read/Write functions, I made sure to keep them in the same relative locations and in the same order, but despite my best efforts, I got a Failure to Decompress Game Data error when I try to open saves.
I went and commented out the pairs of Read/Write functions in CvInfos, CvCity, and CvPlayer (Those were the main files I changed with Read/Write functions), one by one, and at the end, I had commented out every single non-firaxis code in the read/write sections, but I still got a the same error.
So, my question is, are there other factors that also affect save game integrity? Are the safe delete array calls in a particular order? Are there other calls that must be in order as well?
When I was re-ordering the Read/Write functions, I made sure to keep them in the same relative locations and in the same order, but despite my best efforts, I got a Failure to Decompress Game Data error when I try to open saves.
I went and commented out the pairs of Read/Write functions in CvInfos, CvCity, and CvPlayer (Those were the main files I changed with Read/Write functions), one by one, and at the end, I had commented out every single non-firaxis code in the read/write sections, but I still got a the same error.
So, my question is, are there other factors that also affect save game integrity? Are the safe delete array calls in a particular order? Are there other calls that must be in order as well?