PDA

View Full Version : patcher.exe Windows File Patcher



tdavis80
01-10-2004, 09:13 PM
Hi guys,

I am so new to TiVo series 2 that I do not own one or to be honest, I have never seen one. However, I find your discussions interesting but I have noticed a flaw. There seems to be lots of confusion when it comes to applying patches to files. Many people do not know how to find and apply binary changes to binary files. I have thrown together a small app which should make life a wee bit easier when it comes to documenting changes.

-- from the readme.txt --

Jan 10, 2004

Patcher.exe is a program designed to make it easy for coders/patchers to document and distribute patches to binary files.

The author of a patch simply needs to create a small text file that contains
a few lines of text. The recipient places the text file into the same directory
as the patcher.exe program.

Some notes about the fields in the .patch file

"Name:" This will be displayed in the drop down box
"File:" Default filename to be patched (user can BROWSE to actual file)
"Comments:" Displayed onscreen before the user clicks on [Patch !!] button

"Patch:" Name of this specific patch
"Find:" List the decimal values of the original code
"Replace:" List the decimal values of what you want for the new code
"Findhex:" List the hex value of the original code
"Replacehex:" List the hex value of what you want for the new code

As you can see, a file can have multiple patches. Note that you do not specify 'where' the
patch lives in the file. Patcher.exe searches the binary file looking for the sequence of
bytes and makes the changes when they are found. In the case of the Hu CAMID fix, the same
patch file finds the sequence (in different places) in different versions of the TiVo
software.

Be careful to include enough bytes to make the patch find one and only one location in the file.
For example: Asking it to change "00 03" to "00 04" might find over 200 occurrences in the original
binary file (which would be bad!).

David Bought
01-10-2004, 09:17 PM
Patch: Hu Fix
...

Patch: Removing chalupz fake no-zkt patch located at $xxxxx
...

SERVICE THEFT DISCUSSIONS ARE NOT TOLERATED HERE. Remove this material from your post and from the archive NOW or we will do it for you.

tivomaster
01-10-2004, 09:33 PM
tdavis80
Thanks for the program. It looks great and it looks like it would be of great benifit. Thanks for sanitizing your post.....

tdavis80
01-10-2004, 09:33 PM
should be 'ok' now.

I apologize; I thought it was safe since it only contained info that is already posted in this forum.

mrblack51
01-11-2004, 02:31 PM
should be 'ok' now.

I apologize; I thought it was safe since it only contained info that is already posted in this forum.

since when is an "hu fix" for an s2 available on this forum? if there is one, let me know, because it needs to be removed