• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Updating a .patch file

jonmii

Enthusiast
Hi ED,

I need help or a link with a tutorial of how update a .patch file.
I have a old .patch file but when a new commit is made, it never works
How can i keep updated a C++ .patch file?
regards
 

Rochet2

Moderator / Eluna Dev
You dont really update patch/diff files.
You either get a source they were made for, apply them and update the source and fix conflicts that appear when updating
or you have your source and force apply the patch on it and fix the conflicts and problems.

After doing this work you should be able to get a diff/patch generated from the new source against the old source to get the new diff/patch.

In any case you have to do manual work to fix the conflicts most likely.

What I do with my releases is that I have a fork of TC that has the code changes. Then I have github generate the diff between original TC and my fork.
This way anyone can get the diff and they can also see what version it is for and can even just use git pull to merge my fork to their own TC and just solve the conflicts if any.
 

jonmii

Enthusiast
You dont really update patch/diff files.
You either get a source they were made for, apply them and update the source and fix conflicts that appear when updating
or you have your source and force apply the patch on it and fix the conflicts and problems.

After doing this work you should be able to get a diff/patch generated from the new source against the old source to get the new diff/patch.

In any case you have to do manual work to fix the conflicts most likely.

What I do with my releases is that I have a fork of TC that has the code changes. Then I have github generate the diff between original TC and my fork.
This way anyone can get the diff and they can also see what version it is for and can even just use git pull to merge my fork to their own TC and just solve the conflicts if any.

Thanks, this helped me too much :happy (2):

Regards
 
Top