Page 1 of 1

Editing the bins

Unread postPosted: Sat Feb 20, 2016 5:19 am
by _o_OOOO_oo-Kanawha
When editing the bin files in their xml form, one often changes the values between the > and <.

I usually remove the d:alt_encoding and d:precision values, leaving only d:type="sFloat32" and the actual value between > and <.
This way, I know where my edits have been made and don't have to worry about the values not matching up anymore.

Is there a penalty to this? I assume the BlueprintEditor2.exe puts those encoded values into the line.
What are their purpose? Is hexadecimal quicker interpreted than float by the GameManager.dll?

One cannot recreate or edit the hexadecimal by hand?

How does RW_Tools handle its editing of the encoded part of bin values?

Re: Editing the bins

Unread postPosted: Sat Feb 20, 2016 8:08 pm
by harryadkins
I use RW Tools to edit .bin files. It helps me create flawless files.

Harry

Re: Editing the bins

Unread postPosted: Sat Feb 20, 2016 9:54 pm
by Chacal
These are attributes of XML data fields. It is possible that they are useless, and itis possible that some functions in TS uses them. Impossible to know. I prefer to leave them untouched.

Re: Editing the bins

Unread postPosted: Sat Feb 20, 2016 10:34 pm
by jalsina

Re: Editing the bins

Unread postPosted: Sun Feb 21, 2016 2:32 am
by _o_OOOO_oo-Kanawha
jalsina wrote:You may want to take a look to this:
http://ftp.uktrainsim.com/viewtopic.php?f=314&t=118114&p=1455599


UKTS seems to be down at the moment. But I'll check again later.

Edit: I have checked and the consensus over there is that it is safe to delete the encoded value.

Does RW_Tools update the hex values by itself?

Edit: Yes it does, but the changes are only visible when you re-open your .bin file after you've first saved it.

So I shall continue to remove the encoded value in NotePad++ which I prefer for editing larger .xml files since you can collapse the .xml file structure.

Re: Editing the bins

Unread postPosted: Sun Feb 21, 2016 12:23 pm
by Chacal
Good explanation by AndiS as usual.