Grey Wolf 
Join Date: Mar 2005
Location: Treading Water
Posts: 847
Downloads: 56
Uploads: 0
|
This is what I do when I want to look at a new variable and am unsure what it contains. Make a seperate dropdown, focus on the data, repeat it for every type. then you can look at the data and see what looks sane. Also, when adding new variables, there is precendent for storing multiple values at offsets other than 2, adding more fog. See below.
This snippet is from my cameras.dat.txt tweak file. The SH3 tweak file had two identically named vars (SubFolow) under FreeCam that according to the sh3 tweak file, contained multiple values each. This section looked at the first SubFolow with each data type, first with the standard offset of 2 bytes and then with the historic sh3 offsets of 14 and 18 for the two values.
// to figure out how these were used
// in sh3 they supposedly each held two longs at 14 and 18 byte offsets
// possible wrong values or offsets ?
[57]
Dropdownname=TEST FreeCam 1stSubFolow Unknown
absolute,single,63f,SubFolow1 Std Offset Single
absolute,double,63f,SubFolow1 Std Offset Double
absolute,long,63f,SubFolow1 Std Offset Long
absolute,integer,63f,SubFolow1 Std Offset Integer
absolute,byte,63f,SubFolow1 Std Offset Byte
absolute,single,64b,SubFolow1a Offset 14 Single
absolute,double,64b,SubFolow1a Offset 14 Double
absolute,long,64b,SubFolow1a Offset 14 Long
absolute,integer,64b,SubFolow1a Offset 14 Integer
absolute,byte,64b,SubFolow1a Offset 14 Byte
absolute,single,64f,SubFolow1b Offset 18 Single
absolute,double,64f,SubFolow1b Offset 18 Double
absolute,long,64f,SubFolow1b Offset 18 Long
absolute,integer,64f,SubFolow1b Offset 18 Integer
absolute,byte,64f,SubFolow1b Offset 18 Byte
For the record I still don't know how SubFolow should be used.
This tweakfile method of looking at a piece of data should help you play around a bit and see if things fall into place.
Last edited by U-Bones; 05-23-07 at 10:40 AM.
|