This software and its source code (if available) are licensed under the Apache-2.0 license (unless otherwise specified) which DOES NOT APPLY to any third-party code (such as zlib for example) and borrowed Assembler code (ripped code from other software executable files).
RTPatchX v1.6 - RTPatch apply tool
(c) CTPAX-X Team 2013,2016,2017,2020,2021,2024
http://www.CTPAX-X.org/
This tool allows you to apply RTPatch files to the modified files while avoiding the following error:
> Old File not found. However, a file of the same name was found.
> No update done since file contents do not match.
For modified versions of programs in areas which do not overlap with the patch changes.
Warning!
This tool requires PATCHW32.dll from "RTPatch Apply" package - get it here (version v6.03):
http://siberian-studio.ru/files_pakers.html#rtpatch
Or here (version v12.00 and v12.21) from "myRTP command-line interface" package:
http://aluigi.altervista.org/mytoolz.htm#myrtp
DON'T FORGET TO BACKUP YOUR FILES!
THIS PROGRAM IS PROVIDED AS-IS, WITHOUT ANY WARRANTY!
This tool works with both .RTP and .EXE (all-in-one) files from RTPatch.
You'll need to put this tool and the patch file (.RTP or .EXE) to the same folder
as the program to be patched and run.
Usage: rtpatchx <rtp-file.ext> [/force]
Where:
rtp-file.ext - RTPatch file (.RTP or all-in-one .EXE)
/force - force patch (for modified files with THE SAME SIZE as original)
In the normal mode (without /force switch) this tool just tries patching as usual RTPatch does.
But in the force mode (/force switch) patch will be installed even on modified files,
skipping all possible errors.
Keep in mind that:
1) RTPatch may be applied only to files with THE SAME SIZE as original ones required by patch.
2) If some changes in the original files overlap the patched area they WILL BE LOST.
For example, we have the following sequence of bytes from the original file:
01 74 45 00 21 49 EB
changed to this:
01 74 _00_ 00 21 49 EB
If RTPatch removes:
01 00 21 49 EB
or replaces:
01 FF FF 00 21 49 EB
this sequence, then original program may not work correctly after patching.
History:
v1.6 [2024.03.25]
- support for PATCHW32.DLL v12.21 and above
- shortened RTPatchApply32() arguments line
- fixed link to v6.03
- add dates to this history
v1.5 [2021.04.29]
- fixed work with the .RTP patches, since /Z key required only for .EXE (thanks to kim for report)
v1.4 [2020.06.27]
- program completely rewritten in C
- add RTPatch message output
- auto search for code to patch - should work with any version of PATCHW32.DLL
v1.3 [2017.07.25]
- add support for PATCHW32.DLL v4.10
v1.2 [2017.05.11]
- reworked tool code
- add support for PATCHW32.DLL v4.00, v5.01, v5.20 and v6.50
v1.1 [2016.11.12]
- add support for PATCHW32.DLL v12.0
v1.0 [2013.11.24]
- first public release