|
I would like to write a program to be able to do a not-very simple diff of two .scene files at the object level and a simple "same/different". A simple byte-wise diff doesnt work. Anyone know how the .scene files are serialized? Its not BinaryFormatter. If I could deserialize them I could diff them.
(comments are locked)
|
Erm, you could just compare each byte of the files. If two bytes are different, then yes, it's a different file. If the file lengths are different, then yes, it's a different file. :D that's true of course, but Unity sometimes updates assets that haven't changed (or just generate a new GUID). Your solution meets the "very simple diff" requirement and for most cases it would do the job.
Apr 20 '11 at 08:48 PM
Bunny83
Yes, ok, my bad. not quite that simple.
Apr 20 '11 at 10:45 PM
jamie 1
It's a common problem people dislike with unity. Devoid of easy merge scenes.
Apr 21 '11 at 01:13 AM
Statement ♦♦
(comments are locked)
|
