View Single Post
Old 08-02-2009, 07:21 AM   #133
Join Date: Sep 2004
Posts: 41
Originally Posted by jott View Post
As we touch every line of speech I am not quite sure how the legal point in redistributing a patch is (as it will include nearly all of the text lines) so using scummtr is less problematic for that matter.
If you use a binary diff tool like bsdiff to create a patch, it will only store the differences between the patched & original files. Technically, none of the lines of text are actually getting changed, just the bits of code inside or surrounding them.

Here's a simplified example:

printEgo("Hi there!^255^3My name's Guybrush Threepwood.")

printEgo("Hi there!")
printEgo("My name's Guybrush Threepwood.")

difference (contents of the patch):
remove ^255^3
insert ") printEgo("
For your own purposes you will need to use scummtr etc to get the speech code into the game, but for final distribution you can just release a patch file (plus the tools for handling the SE stuff).
jestar_jokin is offline   you may: quote & reply,