Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Xdelta"

From PCGamingWiki, the wiki about fixing PC games
m
(Corrected grammar and unified spelling of Xdelta where appropriate.)
Line 13: Line 13:
 
{{mm}} [[Wikipedia:xdelta|Xdelta on wikipedia]]
 
{{mm}} [[Wikipedia:xdelta|Xdelta on wikipedia]]
  
{{Image|Xdelta - explanation.png|General explanation how xdelta works.}}
+
{{Image|Xdelta - explanation.png|General explanation how Xdelta works.}}
'''Xdelta''' is utility which is used to generate file of differences between two binary files. This essentially means, only modifications made between two binary files are saved as an file, this file is then easily shared to another user which can use it to generate modified file out from original file. This is especially useful if original file contains copyrighted material (e.g. game executable, rom) or if original files filesize is huge. In the example is used regular windows executable, <code>.exe</code>, but it can be used with any kind of binary file.  
+
'''Xdelta''' is utility which is used to generate a file of differences between two binary files. This effectively means only modifications made between the two binary files are saved; the resulting file is easily shared to another user, who can use it to generate a modified file from the original file. This is especially useful if the original file contains copyrighted material (e.g. game executable, rom) or the original file's filesize is huge. While the examples in this article use regular Windows executables (<code>.exe</code>), Xdelta can be used with any kind of binary file.  
  
 
==General use==
 
==General use==
 
{{ii}} For more options, use <code>xdelta -h</code>.
 
{{ii}} For more options, use <code>xdelta -h</code>.
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Apply xdelta patch}}
+
{{Fixbox/fix|Apply Xdelta patch}}
 
# Open command line
 
# Open command line
#* In windows navigate to xdelta path
+
#* In windows navigate to Xdelta path.
 
# Use the following while replacing filenames:<br/><code>xdelta -d -s old_file delta_file decoded_new_file</code>
 
# Use the following while replacing filenames:<br/><code>xdelta -d -s old_file delta_file decoded_new_file</code>
 
'''Notes'''
 
'''Notes'''
{{ii}} It may be easier to rename original file to <code>*.bak</code> beforehand to avoid confusion between original and modified files.  
+
{{ii}} It may be easier to rename original file extension to <code>*.bak</code> beforehand to avoid confusion between original and modified files.  
{{ii}} Xdelta file doesn't require any file extension, but it's adviced to use <code>*.xdelta</code> to make it easier to distinguish.  
+
{{ii}} Xdelta file doesn't require any file extension, but it's advised to use <code>*.xdelta</code> to make it easier to distinguish.  
 
}}
 
}}
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Generate xdelta patch}}
+
{{Fixbox/fix|Generate Xdelta patch}}
# Open command line
+
# Open command line.
#* In windows navigate to xdelta path
+
# From the command line, navigate to Xdelta path.
 
# Use the following while replacing filenames:<br/><code>xdelta3.exe -e -s old_file new_file delta_file</code>
 
# Use the following while replacing filenames:<br/><code>xdelta3.exe -e -s old_file new_file delta_file</code>
 
}}
 
}}
Line 37: Line 37:
 
===[http://www.romhacking.net/utilities/598/ xdelta UI]===
 
===[http://www.romhacking.net/utilities/598/ xdelta UI]===
 
{{ii}} Includes basic patch applying and creation.
 
{{ii}} Includes basic patch applying and creation.
{{++}} Really small filesize makes it easy to bundle with xdelta patches.
+
{{++}} Really small filesize makes it easy to bundle with Xdelta patches.
{{ii}} Included xdelta may be old. Simply download binary from official site and replace supplied executable with updated one and rename it the same.
+
{{ii}} Included Xdelta may be outdated. Simply download binary from official site and replace supplied executable with updated one and rename it the same.
  
 
===[http://sourceforge.net/projects/xdelta3-gui/ Xdelta3 GUI]===
 
===[http://sourceforge.net/projects/xdelta3-gui/ Xdelta3 GUI]===
{{ii}} Only for xdelta patch creation.
+
{{ii}} Only for Xdelta patch creation.
 
{{++}} Includes advanced options, including patching batch of files and automatic windows batch file creation for end user.  
 
{{++}} Includes advanced options, including patching batch of files and automatic windows batch file creation for end user.  
  

Revision as of 17:55, 30 August 2015

Windows October 12, 1997
Xdelta
Release dates

Key points

Cross platform solution.
Doesn't give false antivirus flags unlike some automatic patchers in windows executable.
Isn't automatic and doesn't feature GUI. Though can be bypassed e.g. user made windows batch file or external tools.

General information

Official site
Xdelta on wikipedia
General explanation how Xdelta works.
General explanation how Xdelta works.

Xdelta is utility which is used to generate a file of differences between two binary files. This effectively means only modifications made between the two binary files are saved; the resulting file is easily shared to another user, who can use it to generate a modified file from the original file. This is especially useful if the original file contains copyrighted material (e.g. game executable, rom) or the original file's filesize is huge. While the examples in this article use regular Windows executables (.exe), Xdelta can be used with any kind of binary file.

General use

For more options, use xdelta -h.
Instructions
Instructions

Graphical user interface

xdelta UI

Includes basic patch applying and creation.
Really small filesize makes it easy to bundle with Xdelta patches.
Included Xdelta may be outdated. Simply download binary from official site and replace supplied executable with updated one and rename it the same.

Xdelta3 GUI

Only for Xdelta patch creation.
Includes advanced options, including patching batch of files and automatic windows batch file creation for end user.

xDelta GUI

Automatic patcher for Steam titles

Still under construction. Initial Windows patch file made for Batman Arkham Asylum, in to do list to modify windows batch file to contain more variables making it easier to use across multiple titles and creation linux bash file.