You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started working on several simple DGD-related tools (https://github.com/noahgibbs/dgd-tool). One of them is an XML Diff tool for SkotOS LPC objects. We have multiple object dumpers (e.g. https://github.com/noahgibbs/vaulttool_drop_in and the Tree of WOE) and they don't always produce exactly identical results. We have different versions of different games, and different object revisions from different times... So it's useful to get a summary of which bits are different.
I've built dgd-tools as a Ruby gem. If you have Ruby installed (like you Mac folks) then you can "gem install dgd-tools" -- if it gets permission denied, you may need to "sudo gem install dgd-tools". Make sure you have at least version 0.1.4 of dgd-tools.
Right now the comparison is pretty simple - pretty-print the XML of the two objects, ignore a few fields known to change (the root object's "clone", "program" and "owner" for instance) and then just take a normal context diff between them. The tool can also go through directories doing the same. And it ignores files ending in ",v" or called anything with "-backup-DATE.xml".
I'm very open to other changes. I've only started looking through a few XML dumps with the tool and I'm sure we'll want to do more over time. But this seems like a good, useful start to me. And of course, if it doesn't seem useful to you then you don't have to use it ;-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've started working on several simple DGD-related tools (https://github.com/noahgibbs/dgd-tool). One of them is an XML Diff tool for SkotOS LPC objects. We have multiple object dumpers (e.g. https://github.com/noahgibbs/vaulttool_drop_in and the Tree of WOE) and they don't always produce exactly identical results. We have different versions of different games, and different object revisions from different times... So it's useful to get a summary of which bits are different.
I've built dgd-tools as a Ruby gem. If you have Ruby installed (like you Mac folks) then you can "gem install dgd-tools" -- if it gets permission denied, you may need to "sudo gem install dgd-tools". Make sure you have at least version 0.1.4 of dgd-tools.
Right now the comparison is pretty simple - pretty-print the XML of the two objects, ignore a few fields known to change (the root object's "clone", "program" and "owner" for instance) and then just take a normal context diff between them. The tool can also go through directories doing the same. And it ignores files ending in ",v" or called anything with "-backup-DATE.xml".
I'm very open to other changes. I've only started looking through a few XML dumps with the tool and I'm sure we'll want to do more over time. But this seems like a good, useful start to me. And of course, if it doesn't seem useful to you then you don't have to use it ;-)
Beta Was this translation helpful? Give feedback.
All reactions