Category:Save Data: Difference between revisions
Red-EyeX32 (talk | contribs) |
Red-EyeX32 (talk | contribs) |
||
| Line 35: | Line 35: | ||
== SAVEGAME.SVG == | == SAVEGAME.SVG == | ||
=== World at War === | |||
<source lang="cpp"> | |||
struct qtime_s | |||
{ | |||
int tm_sec; | |||
int tm_min; | |||
int tm_hour; | |||
int tm_mday; | |||
int tm_mon; | |||
int tm_year; | |||
int tm_wday; | |||
int tm_yday; | |||
int tm_isdst; | |||
}; | |||
struct SaveHeader | |||
{ | |||
int saveVersion; | |||
int gameCheckSum; | |||
int saveCheckSum; | |||
int saveId; | |||
bool isUsingScriptChecksum; | |||
int scrCheckSum[3]; | |||
char mapName[256]; | |||
char buildNumber[128]; | |||
char campaign[256]; | |||
char screenShotName[64]; | |||
char description[256]; | |||
char filename[64]; | |||
int health; | |||
int skill; | |||
bool internalSave; | |||
qtime_s time; | |||
int server_bodySize; | |||
int client_bodySize; | |||
}; | |||
=== Black Ops II === | |||
enum SaveType | |||
{ | |||
SAVE_TYPE_INTERNAL = 0x0, | |||
SAVE_TYPE_AUTOSAVE = 0x1, | |||
SAVE_TYPE_CONSOLE = 0x2, | |||
}; | |||
struct SaveHeader | |||
{ | |||
int saveVersion; | |||
int gameCheckSum; | |||
int saveCheckSum; | |||
int saveId; | |||
bool demoPlayback; | |||
bool splitscreen; | |||
int scrCheckSum[3]; | |||
char mapName[256]; | |||
char buildNumber[128]; | |||
char gametype[256]; | |||
char buildVersionSuffix[16]; | |||
unsigned int networkProtocol; | |||
char screenShotName[64]; | |||
char description[256]; | |||
char filename[64]; | |||
SaveType saveType; | |||
qtime_s time; | |||
int bodySize; | |||
unsigned int pad[8]; | |||
}; | |||
=== Ghosts === | |||
<source lang="cpp"> | <source lang="cpp"> | ||
enum SaveType | enum SaveType | ||
Revision as of 00:16, 20 February 2015
GPAD Files (Modern Warfare 2, Modern Warfare 3, Ghosts, Advanced Warfare)
These files (GPADX_MP.PRF, GPADX_CM.PRF, GPADX_SP.PRF) contain variables related to game settings.
enum GamerProfileDataType
{
TYPE_INVALID = 0x0,
TYPE_BYTE = 0x1,
TYPE_BOOL = 0x2,
TYPE_SHORT = 0x3,
TYPE_INT = 0x4,
TYPE_FLOAT = 0x5,
TYPE_STRING = 0x6,
TYPE_BITFIELD = 0x7,
};
union GamerProfileDataUnion
{
char byteVal;
bool boolVal;
__int16 shortVal;
int intVal;
float floatVal;
const char *stringVal;
};
struct GamerProfileData
{
GamerProfileDataType type;
GamerProfileDataUnion u;
};SAVEGAME.SVG
World at War
struct qtime_s
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
struct SaveHeader
{
int saveVersion;
int gameCheckSum;
int saveCheckSum;
int saveId;
bool isUsingScriptChecksum;
int scrCheckSum[3];
char mapName[256];
char buildNumber[128];
char campaign[256];
char screenShotName[64];
char description[256];
char filename[64];
int health;
int skill;
bool internalSave;
qtime_s time;
int server_bodySize;
int client_bodySize;
};
=== Black Ops II ===
enum SaveType
{
SAVE_TYPE_INTERNAL = 0x0,
SAVE_TYPE_AUTOSAVE = 0x1,
SAVE_TYPE_CONSOLE = 0x2,
};
struct SaveHeader
{
int saveVersion;
int gameCheckSum;
int saveCheckSum;
int saveId;
bool demoPlayback;
bool splitscreen;
int scrCheckSum[3];
char mapName[256];
char buildNumber[128];
char gametype[256];
char buildVersionSuffix[16];
unsigned int networkProtocol;
char screenShotName[64];
char description[256];
char filename[64];
SaveType saveType;
qtime_s time;
int bodySize;
unsigned int pad[8];
};
=== Ghosts ===
<source lang="cpp">
enum SaveType
{
SAVE_TYPE_INTERNAL = 0x0,
SAVE_TYPE_AUTOSAVE = 0x1,
SAVE_TYPE_CONSOLE = 0x2,
SAVE_TYPESCOUNT = 0x3,
};
struct qtime_s
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
struct SaveHeader
{
int saveVersion;
int gameCheckSum;
int saveCheckSum;
int saveId;
bool demoPlayback;
bool splitscreen;
int scrCheckSum[3];
char mapName[256];
char buildNumber[128];
unsigned int omnvarPerGameCount;
unsigned int omnvarPerClientCount;
char gametype[128];
char buildVersionSuffix[16];
unsigned int networkProtocol;
char screenShotName[64];
char description[256];
char filename[64];
SaveType saveType;
qtime_s time;
int bodySize;
unsigned int pad[6];
};This category currently contains no pages or media.