Index: source/network/NetClientTurnManager.cpp =================================================================== --- source/network/NetClientTurnManager.cpp +++ source/network/NetClientTurnManager.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 2017 Wildfire Games. +/* Copyright (C) 2018 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -123,6 +123,10 @@ m_Simulation2.DumpDebugState(file); file.close(); + std::ofstream binfile (OsString(oosdumpPath.ChangeExtension(L".dat")).c_str(), std::ofstream::out | std::ofstream::trunc | std::ofstream::binary); + m_Simulation2.SerializeState(binfile); + binfile.close(); + std::stringstream playerNamesString; std::vector playerNamesStrings; playerNamesStrings.reserve(playerNames.size());