hankinsohl
Warlord
Quick question - is the Civ4 SDK up to date with the game as it is currently released, for example through steam or GOG?
The reason I'm asking is that I've found a mismatch between CvGame.cpp and the binary save files created by the game. In particular, this code doesn't match my binary saves (line number 7769):
pStream->Write(m_eWinner);
pStream->Write(m_eVictory);
Instead, there's an undocumented 32-bit integer written in between m_eWinner and m_eVictory. The code that's actually producing my saved games is something like:
int iUndocumentedValue = 57;
pStream->Write(m_eWinner);
pStream->Write(&iUndocumentedValue);
pStream->Write(m_eVictory);
Note: I'm running an unmodified version of Civ4 I got off Good Old Games.
The reason I'm asking is that I've found a mismatch between CvGame.cpp and the binary save files created by the game. In particular, this code doesn't match my binary saves (line number 7769):
pStream->Write(m_eWinner);
pStream->Write(m_eVictory);
Instead, there's an undocumented 32-bit integer written in between m_eWinner and m_eVictory. The code that's actually producing my saved games is something like:
int iUndocumentedValue = 57;
pStream->Write(m_eWinner);
pStream->Write(&iUndocumentedValue);
pStream->Write(m_eVictory);
Note: I'm running an unmodified version of Civ4 I got off Good Old Games.