ChickenBandit wrote:arhimmel wrote:I have started working on an editor, well right now all it does is read some values from the sav files.
Code: Select all
07 00 00 00 56 69 6E 63 65 6E 74
this is from the first information about the crew. the first 4 bytes are the length of the string that follows, which is the name of a crew member. all of the info stated like that. with the length of the field and then the field. before first crew member there is another number which is the number of crew member.
figuring out what each little area of code is a bit more hard because so little of it is actually legible.
ps. I wouldn't worry about the offsets as they change if have a different length field that precedes it.
So then is the 64 00 00 00 in front of all of the positional data the length of the positional data value that follows?
it should be. i think there is only one time when i found this not to be true but im not sure why, im investigating it. once i get a more complete picture of the data structure of the sav file ill share the code. all of the data is encoded in little-endian and the lengths are longs.
so far i can only read the crew memeber information. so what i said might change.