[eUtil Request] File builder utility

I spent quite some time modding my installation folder ( necessary as supported by this thread: https://forums.elementalgame.com/434780 ) and when 1.02 update appeared, I gathered all files I modded, replaced them with originals and updated. Now I face a major problem, namely trying to determine what was changed in the updates and add them to my files, OR try to determine what I changed and edit those into the originals.

It seems to me a small utility could be developed, probably with java or vb scripting, to read the lines 1 by 1 and write out lines with line numbers that are different into a 3rd file. This could make this task much easier. Anyone up to the task? Perhaps someone knows of an existing utility that would do this? fc.exe (file compare) included with Windows almost works, but fails to get back on track.

My motivation to repeat the modding process is whacked on the head until something like this happens ( or preferred: the devs fix the broken system ) :(

9,709 views 5 replies
Reply #1 Top

The very excellent free software Notepad++ ( http://notepad-plus-plus.org/ ) has a useful compare tool.

It also marks up XML and other coding languages and has a plethora of great utilities built in.

Reply #2 Top

I use winmerge for this purpose.

Reply #3 Top

Quoting JSchoeck, reply 1
The very excellent free software Notepad++ ( http://notepad-plus-plus.org/ ) has a useful compare tool.
End of JSchoeck's quote

/facepalm ... I've used notepad++ for years and never noticed this...just checked it out and it IS nice.

Quoting Heavenfall, reply 2
I use winmerge for this purpose.
End of Heavenfall's quote

I will search that and check it out, thanks.

 Ok winmerge looks nearly the same as notepad++ as far as compare goes. But do either have the ability to automate the task ( like set your mod file as master and copy all changes to source ) and do it intelligently ( line up matching lines again after inserting etc )?

Reply #5 Top

Quoting Heavenfall, reply 5
I don't know if winmerge has it.

Maybe this can be of help https://forums.elementalgame.com/434443
End of Heavenfall's quote

 

+1 Karma for that, nearly exactly what I am looking for!