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 . Here's what I understand about the files format so far:

PROF_SAVE_header (8 bytes):

Code:

uint8 header[8]; // no idea what these are for

PROF_SAVE_body (1024000 bytes):

Code:

uint8 header[8]; // no idea what these are forstruct 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

The biggest problem for me so far is figuring out why sometimes the name_value_pair struct has additional data coming before the value_type field. Does anyone have more information on this file type and/or how to read/write it? I have attached a copy of these 2 files. Thanks in advance .

Attachments:

You do not have the required permissions to view the files attached to this post. Register to gain access.

Well the first 4 bytes of each if an MC02 hash, I think. Its that on xbox(well in an MC02 package) but never seen on PC before.In fairly sure the int in header is the could of property collections, not 100% tho.

I'm sorry for asking in such old thread, but I'm interested in format of this file as well.Anyone know how to calculate this hash value for PROF_SAVE_body?If I change something and keep old hash - game reset all progress to default.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum