Author Topic: How to create a patch file?  (Read 427 times)

Online Krudda

  • Member
  • Posts: 4039
  • repent
    • My Anime List
How to create a patch file?
« on: October 28, 2013, 06:15:08 AM »
I am in need of teaching how to create a patch file for something I updated from v1 to v2.
Can anyone help? I read up on xdelta and browsed their wiki, but the CLI they gave failed me...

So far the only thing I could work out to do was this:
Code: [Select]
C:\Users\Krudda>xdelta3.exe -e -s H:\_BBT Troll\v2\Birthday boy(DVD)[EGGS] [7412
00FC].mkv H_BBT Trollv2\Birthday boy(DVD)[EGGS]v2 [7F87EEB6].mkv H:\_BBT Troll\v
2\Birthday boy(DVD)[EGGS]v2.xdelta

But it returns errors:
'xdelta3.exe' not recognized as an internal or external command, operable program or batch file.

I'm completely confused.

Ignore the directory, it was just a convenient empty directory from last year some time (April). In no way whatsoever is this a joke file or anything.

Edit: Just noticed a > in the code, instead of a \
as well as a few other directorial issues, wtf windows...
Maybe that was the issue...
« Last Edit: October 28, 2013, 06:18:04 AM by Krudda »
I'll do the flipping on webcam so people know it's legit.

Online Bozobub

  • Member
  • Posts: 955
  • Demon Lord of Clowns
Re: How to create a patch file?
« Reply #1 on: October 28, 2013, 07:34:37 AM »
In the future - assuming you've fixed your issue and don't still need help - you probably would get more mileage on this kind of encoding issue in the more-appropriate Uploaders' Forum.

Online macros74

  • Member
  • Posts: 1871
  • Swear it! No more School Days!
Re: How to create a patch file?
« Reply #2 on: October 28, 2013, 04:45:17 PM »
I use this proggie lately, never had trouble with it...

http://www.romhacking.net/utilities/917/

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: How to create a patch file?
« Reply #3 on: October 28, 2013, 08:50:50 PM »
Edit: Just noticed a > in the code, instead of a \
as well as a few other directorial issues, wtf windows...
Maybe that was the issue...

I was just gonna mention that. Give it a try with this fix. Make sure the executable is in the specified directory (actually it's usually better practice to cd into the directory containing the exe and running it without the full path).

You may also need to put quotes around your filenames, since they seem to contain spaces.
« Last Edit: October 28, 2013, 08:53:03 PM by Freedom Kira »

Online Krudda

  • Member
  • Posts: 4039
  • repent
    • My Anime List
Re: How to create a patch file?
« Reply #4 on: October 29, 2013, 04:36:20 AM »
Thanks for the replies guys.
Found the issue thanks to GrygrFlzr.
Had some help from Al_Sleeper too.

It turns out, that the issue (aside from the malformed addresses) was xdelta3.exe was not the full pathnane. The second issue, was as Freedom Kira said; I require quotations.

Thanks everyone, I'll edit this post when I get home to include what I did, so anyone else who reads this, may benefit from it.
I'll do the flipping on webcam so people know it's legit.

Offline anonymlol

  • Member
  • Posts: 33
Re: How to create a patch file?
« Reply #5 on: October 29, 2013, 12:54:41 PM »
I use this proggie lately, never had trouble with it...

http://www.romhacking.net/utilities/917/
I recommend this too. Easy to use and saves time.

Doki Patch Ceator ftw!