Making v2 patches with xdelta3

I AM VERY VERY FAMILIAR WITH THIS PROCESS (THANKS KNK AND TORADORA) AND I WILL BESTOW THIS KNOWLEDGE UPON OTHERS OKAY. WE USE THIS THING CALLED XDELTA! IT COMPARES 2 FILES AND MAKES A DIFF! Obviously this is useful for far greater endeavors than fansub patching but everything is worded for relevance and if you know about xdelta already anyway you shouldn’t need to read this. D:

Things you need:
- xdelta3.exe
- Both the v1 and the v2 files.
- Knowledge of how to use the command prompt window. At the very least, the ability to use “cd [path]” to navigate to the directory where you have all of these files. D:

Command line to make the diff file:

xdelta3 -e -9 -s v1filename v2filename v2patch.xdelta

-e: Compress.
-9: dryfire said this is even better A+++ compression.
-s: Source file.
v1filename: Put name of v1 file here.
v2filename: Put name of v2 file here.
v2patch.xdelta: Name whatever you’d like, etc.

.bat file:

xdelta3.exe -d -s v1filename v2patch.xdelta v2filename
@pause

-d: Decompress.
@pause: When using .bat file, this will prompt the user to press any key. Used as an indicator that patching is done.

With .mkv’s, since like 99.8% of the file size comes from the video/audio, and ideally all your changing is the script, the patches for mkv subs are extremely small. I have never used this for avi files, but I remember Aiorous doing it before ages ago! You’d probably need to make the v2 by doctoring/splicing stuff together though, as to minimize the size of the actual patch.

11 Comments
November 11, 2008 in Subbing
Tagged

11 Responses

  1. BSS needs some of this knowledge… They make us demux and remux to correct phailures :(… They didn’t even release Michiko 03 v2’s script separately so we could at least fix it ourselves and leave us no option other than downloading the whole .mkv again D:

    • the script is on their newspost. D:
      also i think most people are too lazy to bother to make these :shobon:

      • hurr hurr hurr >.< the other scripts had “v2″ in their names and since this one didn’t, I thought it was v1. Also, I looked for the ending karaoke at the end of the script and couldn’t find it… I didn’t know one could put in the beginning… arrg!! stupid me *rage* thanks BSS.

  2. PenisEngineMechanic

    real pro sub groups don’t have v2’s in the first place ( ´∀`)

  3. Human make mistake.
    Seems you’re not human.

  4. can somebody tell me what soft that i need to make the diff or the patch.xdelta?

  5. hello when i type the command it always give the error
    file open field read:v201v2.ass the system cannot find the specified
    why?

  6. or sometime show me this massege
    too many filenames v2patch.xdelta3

  7. if it says too many filenames then you need to quote the filenames, ie.

    xdelta3 -e -9 -s “some show v1.mkv” “some show v2.mkv” “v2patch.xdelta”

    like that. it’s a good habit to always quote because of how spaces in filenames are treated.

Leave a Reply

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>