---------------------------------------
--- unipatch v0.8 by epithetic --------
---------------------------------------

changelog:
			0.8		added support for linux & 32 bit architectures
			-->		initial release


unipatch is a lightweight suite of tools to handle automated binary diff patching of folders with modding in mind. unipatch uses HDiffPatch (https://github.com/sisong/HDiffPatch). current releases and faq are available at https://sketchy.work/unipatch

usage:

	QUERY UNIP INFO
	---------------------------------------
	run-unip.bat ? unippath
	run-unip.sh ? unippath
	
		checks for valid unipatch folder and displays any associated description and install information.
		
		unippath -
			-unip folder path to check


	INSTALL OR EXTRACT UNIP FOLDER
	---------------------------------------
	run-unip.bat install|extract unippath [destination]
	run-unip.sh install|extract unippath [destination]
	
		install -
			apply unipatch folder to destination (working directory by default). generates backup files in unip-backup.
		extract -
			generate non-differential files for further modification or to backup for safekeeping (path-unip > path). recommended if the source files are subject to change.
		unippath -
			-unip folder path to apply
		[destination] -
			optional: target root directory. (working directory by default)


	UNINSTALL/REVERT ALL PATCHES
	---------------------------------------
	revert-unip.bat [destination]
	revert-unip.sh [destination]
	
		reverts all patches that have been applied via generated backups.
		
		[destination] -
			optional: target root directory. (working directory by default)
	
	
	BUILD UNIP INSTALLER
	---------------------------------------
	build-unip.bat sourcedir destdir
	build-unip.sh sourcedir destdir
	
		sourcedir -
			path to the original unmodified files to reference (suggest root dir of program)
		
		destdir -
			path to the modified files to make an installer for (suggest analogous to root dir)
	
	
	upon building the unip folder, you can give your installer a...
		
		unip ID -
			unique identifier for this installer (used to determine pathname, as well)
		
		unip prerequisites -
			suggested prior patches by IDs in install order. installer will alert if they're not installed or installed out of order.
		
		unip title -
			descriptive name/title for the installer, will be shown when run.
		
		unip description -
			description of the patch contents, will be shown when run.
	
	the finished installer ([unip ID]-unip\) can be distributed alongside unipatch.

	
contact & support:

	if you've found unipatch useful and would like to buy me a coffee or something, feel free to do so at https://sketchy.work/donate 