<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=KPatcher</id>
		<title>KPatcher - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=KPatcher"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=KPatcher&amp;action=history"/>
		<updated>2026-05-01T17:03:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=KPatcher&amp;diff=78&amp;oldid=prev</id>
		<title>Mysterious: Created page with &quot;{{infobox/software |caption=KPatcher |heading=250px&lt;br&gt;KPatcher with default skin after minimal configuration. |developer=ProjectRO Development Team |ve...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=KPatcher&amp;diff=78&amp;oldid=prev"/>
				<updated>2013-01-13T03:29:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{infobox/software |caption=KPatcher |heading=&lt;a href=&quot;/wiki/File:KPatcher.png&quot; title=&quot;File:KPatcher.png&quot;&gt;250px&lt;/a&gt;&amp;lt;br&amp;gt;KPatcher with default skin after minimal configuration. |developer=ProjectRO Development Team |ve...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{infobox/software&lt;br /&gt;
|caption=KPatcher&lt;br /&gt;
|heading=[[Image:KPatcher.png|250px]]&amp;lt;br&amp;gt;KPatcher with default skin after minimal configuration.&lt;br /&gt;
|developer=ProjectRO Development Team&lt;br /&gt;
|version=2.4.4437.61917 / February 23, 2012&lt;br /&gt;
|os=Windows 2000/XP/Vista/7&lt;br /&gt;
|lang=Multilingual (7)&lt;br /&gt;
|type=Patch Client&lt;br /&gt;
|license=unknown (closed source)&lt;br /&gt;
|web=unknown}}&lt;br /&gt;
'''KPatcher''' is a Ragnarok Online auto-patcher, written in Embarcadero C++ Builder XE2. It was originally developed in the Russian eAthena community[http://www.eathena.ws/board/index.php?showtopic=216716], but later released as multi-language version[http://www.eathena.ws/board/index.php?showtopic=247878], currently supporting Russian, English, Spanish, Japanese, Chinese, Portuguese and Indonesian, with further languages being planned. It consists of the patcher binary itself and a tool for creating configuration. It works on Windows 2000, Windows XP and higher.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Fast merge GRF/GPF files;&lt;br /&gt;
* Defragment GRF file;&lt;br /&gt;
* Delete files from the GRF on the mask;&lt;br /&gt;
* Deleting files from your client on a mask;&lt;br /&gt;
* Unpack the RGZ/RAR archives;&lt;br /&gt;
* The ability to patch any GRF file in the folder with patcher;&lt;br /&gt;
* Unique auto update;&lt;br /&gt;
* Support for the official patch server;&lt;br /&gt;
* Simple skinning;&lt;br /&gt;
* Remote file settings and auto update;&lt;br /&gt;
* Support for custom buttons.&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
#Patcher folder contents:&lt;br /&gt;
#* '''KPatcher.exe''' (''Patcher's executable file'')&lt;br /&gt;
#* '''ConfigTool.exe''' (''used to add your config, custom icon file and generate a CRC32 sum of any file'')&lt;br /&gt;
#* Simple config file ''Example.kpsf''&lt;br /&gt;
#* Simple skin files&lt;br /&gt;
#* Simple icon file&lt;br /&gt;
#* Language files&lt;br /&gt;
#Web folder contents:&lt;br /&gt;
#* Simple ''kpatcher.php''&lt;br /&gt;
#* Simple remote settings ''settings.ini''&lt;br /&gt;
#* Simple auto update ''update.ini''&lt;br /&gt;
#* Simple patch lists ''plist.ini'' and old format ''plist.plt''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
To get a workable version of the patcher you will need to follow a few simple steps:&lt;br /&gt;
# Make a skin (''optional'');&lt;br /&gt;
# Write own ''.kpsf'' file using ''Example.kpsf'';&lt;br /&gt;
# Using '''ConfigTool.exe''' pack the own ''.kpsf'' file into the patcher exe;&lt;br /&gt;
# Write ''settings.ini'';&lt;br /&gt;
# Write own ''.php'' file using as example ''kpatcher.php'';&lt;br /&gt;
# Upload ''.kpsf'' and ''.php'' files to your webserver;&lt;br /&gt;
# Create patch list and upload to your webserver.&lt;br /&gt;
&lt;br /&gt;
===Skins===&lt;br /&gt;
To control the skins patcher uses a special file style.ini, the structure of which we analyze.&lt;br /&gt;
# The dimensions of the main window, buttons, and information lines are changed automatically, depending on the content;&lt;br /&gt;
# For skin use *.bmp or *.png with transperence color $ff00ff, all other formats without transperence;&lt;br /&gt;
# For buttons use *.png with AlphaTransperence.&lt;br /&gt;
# All elements of the skin using the same parameters to specify the size and spacing:&lt;br /&gt;
#* Left - Number of pixels to the left;&lt;br /&gt;
#* Top - Number of pixels away from the top;&lt;br /&gt;
#* Width - Width of the element;&lt;br /&gt;
#* Height - Height of the element;&lt;br /&gt;
# All the buttons has at least three states, the buttons that trigger a specific action have a additional state:&lt;br /&gt;
#* Active - button is active and can be pressed;&lt;br /&gt;
#* Inactive - button is not active at all (only for buttons that trigger the feature);&lt;br /&gt;
#* Hover - pointer hovers over the button;&lt;br /&gt;
#* Pressed - button is pressed, the action will be taken after releasing the button.&lt;br /&gt;
# Text elements ('''[Status]''' and '''[Info]''') has two of its parameters which are responsible for the color and font size:&lt;br /&gt;
#* Color - color of the text;&lt;br /&gt;
#* FontSize - text size.&lt;br /&gt;
&lt;br /&gt;
===Patch List===&lt;br /&gt;
The patch list is a simple text file, which uses one line for each patch. Patches are distinguished by a unique id (abbreviated with '''PID''' in examples below), which must increase with each patch, usually starting with 1. Lines beginning with // are considered a comment and ignored, which can also be used for disabling patches. Following patch types exist:&lt;br /&gt;
* '''PAU'''&amp;lt;br&amp;gt;Specifies patch for updating the patcher.&amp;lt;pre&amp;gt;PAU:CRC:patcher.upd&amp;lt;/pre&amp;gt;CRC is the checksum of the new patcher executable '''patcher.upd'''. If the CRC of the current patcher differs, update of the patcher will occur. Might{{unsure}} appear everywhere in the patch list, but preferably at the beginning.&lt;br /&gt;
* '''GRF'''&amp;lt;br&amp;gt;Specifies a patch, which will be applied to a GRF archive. This type has two forms; the first applies the patch to the main archive as specified in settings, the other applies the patch to the GRF archive specified before the type.&amp;lt;pre&amp;gt;PID:GRF:2010-09-30palettefix.gpf&amp;lt;/pre&amp;gt;&amp;lt;pre&amp;gt;PID:adata.grf:GRF:2010-09-30palettefix.gpf&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''ARCH'''&amp;lt;br&amp;gt;Specifies, that the patch is a ZIP archive, which will be extracted into the folder, where the patcher resides, including the folder structure stored inside the archive.&amp;lt;pre&amp;gt;PID:ARCH:newclient.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''GDF'''&amp;lt;br&amp;gt;Specifies a file, to be removed from the main GRF archive.&amp;lt;pre&amp;gt;PID:GDF:data\clientinfo.xml&amp;lt;/pre&amp;gt;This type also accepts [http://en.wikipedia.org/wiki/Regular_expression regular expressions], such as deleting all palette files (*.pal), would be:&amp;lt;pre&amp;gt;PID:GDF:^.+\.pal$&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''CDF'''&amp;lt;br&amp;gt;Specifies a local file to be deleted from the folder, where the patcher resides.&amp;lt;pre&amp;gt;PID:CDF:dinput.dll&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
 PAU:CRC:patcher.upd&lt;br /&gt;
 //1:GRF:pal.gpf&lt;br /&gt;
 2:GRF:rdata.grf&lt;br /&gt;
 3:ARCH:lib.zip&lt;br /&gt;
 //4:ARCH:data.zip&lt;br /&gt;
 5:GDF:data\clientinfo.xml&lt;br /&gt;
 6:CDF:dinput.dll&lt;br /&gt;
 7:name.grf:GRF:patch.grf&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://www.eathena.ws/board/index.php?showtopic=247878 Official KPatcher Topic (English)]&lt;br /&gt;
* [http://www.eathena.ws/board/index.php?showtopic=216716 Official KPatcher Topic (Russian)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Patchers]]&lt;/div&gt;</summary>
		<author><name>Mysterious</name></author>	</entry>

	</feed>