This is a python script able to patch any version to any other available at S2 patch server, or just fetch any version for any (arch,os)
help:
Code:
usage: honpatch.py [-h] [-t TMPDIR] [-s HONDIR] [-d DESTDIR] [-v DESTVER] [-l]
[--nofetch] [--noapply] [--no-cleanup] [--no-perm-copy]
[--os OS] [--arch ARCH] [--resume]
HoN Patcher
optional arguments:
-h, --help show this help message and exit
-t TMPDIR, --tmpdir TMPDIR
directory used for temporary files, needs to have
patch_size+hon_size space, defaults to OS default
-s HONDIR, --hondir HONDIR
source HoN directory, if you do not set this you need
to set --os and --arch to patch from 'empty' version
-d DESTDIR, --destdir DESTDIR
destination directory, if is not set defaults to
source
-v DESTVER, --to-version DESTVER
destination version, defaults to latest available
-l, --list list changes between versions
--nofetch skip fetching files(if you have already fetched them
somehow f.e.)
--noapply skip applying patch
--no-cleanup do not cleanup temporary directory
--no-perm-copy do not copy permissions from files in source directory
--os OS os to fetch files for, used if source directory is not
set
--arch ARCH arch to fetch files for, used if source directory is
not set
--resume resume downloading, makes sense with non-empty tmpdir
Examples:
Update to latest version:
Code:
python honpatch.py -s path_to_hon_directory
Patch to 2.1.7.0 version (yeah you can downgrade, np) and save result to other directory (existing):
Code:
python honpatch.py -s path_to_hon_directory -v 2.1.7.0 -d path_to_target_directory
Fully fetch windows version 2.1.9.0
Code:
python honpatch.py -v 2.1.9.0 -d path_to_target_directory --os wac --arch i686
Disclaimers
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
This is not affilated with S2 Games
Code, while being fugly, is Public Domain
Download
For those who don't know what python is and are on windows .... One-click update package for Windows: http://ompldr.org/iYW8wOQ , just unpack it into hon's directory and run update.cmd to update to latest version
This is a Python script, it needs Python 3.2 to operate.
edit: now is backwards compatible back to 2.7
Should be platform-agnostic, even though I never tested it outside of Linux
I repeat, NOone provides WARRANTY for any damage to your HoN folder, use at your own risk, backup your hon folder if anything ...
Make sure you have enough disk space (enough to fit hon + ~50Mb ) on your disk drive where your temporary directory is located ( C:\Documents and Settings\blablabla\Temp is usually true for recent windozes, /tmp/ for linuces )
Linux users should be tech savy enough to figure out usage themselves,
If you are a windows user and just want to try it as a 'one click to update hon to latest version' fetch win32-pack , unpack it into hon's folder ... run update.cmd
I can't and won't provide tech support but I WILL try to fix any errors in the script if you have one and provide output of the script