
I was wondering if anyone has looked into the BF3 PROF_SAVE_body/PROF_SAVE_header files yet (located in the folder C:\Users\<username>\Documents\Battlefield 3 Open Beta\settings\)? I've been trying to parse PROF_SAVE_body but I'm having a bit of difficulty understanding what the meaning of certain bytes are

PROF_SAVE_header (8 bytes):
Code: Select all
uint8 header[8]; // no idea what these are for
Code: Select all
uint8 header[8]; // no idea what these are for
struct name_value_pair[?] // array of what seems to be key-value pairs
{
// sometimes there are 1 or more uint32 values that come before value_type
// no idea what they are for or how to predict them during parsing
uint32 value_type; // not 100% sure, seems to indicate the data type of the value in value_str
uint32 name_length;
char name_str[name_length];
uint32 value_length;
char value_str[value_length];
};
uint8 unknown[?]; // lots of null bytes, not sure if they are there just to fill 1024000 bytes
