[Tool] File Deltas
Posted: Sun Sep 02, 2018 11:25 am
I wrote a Javascript (HTML/CSS) tool for comparing different versions of a file. If ever you can't remember what changes you made in your latest version, or what you overwrote in the Original Story files.
It works on .story and .character files and finds changes going from the first to the second (hence deltas.) Changes get highlighted, green for additions, red for deletions, and yellow for edits. In addition, "Delta" properties are inserted (I tried to make them not spammy) with values of 'added', 'deleted', or 'edited' so searching can work.
The unchanged content is left for context.
It should detect mid-array deletion / addition / edits. It's not the fastest, go give it a few seconds after selecting your files (particularly for larger files like Madison's.) It's just HTML+Javascript+CSS and should work fine in Chrome, Firefox, and other modern web browsers.
It works on .story and .character files and finds changes going from the first to the second (hence deltas.) Changes get highlighted, green for additions, red for deletions, and yellow for edits. In addition, "Delta" properties are inserted (I tried to make them not spammy) with values of 'added', 'deleted', or 'edited' so searching can work.
The unchanged content is left for context.
It should detect mid-array deletion / addition / edits. It's not the fastest, go give it a few seconds after selecting your files (particularly for larger files like Madison's.) It's just HTML+Javascript+CSS and should work fine in Chrome, Firefox, and other modern web browsers.