Giter Site home page Giter Site logo

thezoc / zpatcher Goto Github PK

View Code? Open in Web Editor NEW
46.0 10.0 19.0 837 KB

A suite to Create and Apply patches to application and games.

License: BSD 3-Clause "New" or "Revised" License

C 62.17% C++ 27.88% Makefile 0.38% PowerShell 0.10% Shell 0.04% Python 0.43% HTML 9.01%

zpatcher's Introduction

Build Status Build status

๐Ÿฉน ZPatcher Lib

The ZPatcher library provides a set of utilities to easily update applications and games using patch files.

It compares the contents of two different versions of the target software and creates a file with all the changes between these two versions. This file can be then distributed to users to update their copy of the software without needing to redownload the entire package.

An experienced developer can also add support to seamless update their software by adding the library to it.

๐Ÿ’ป ZPatcher Suite

ZLauncher Sample Screenshot

This repository also inclues a fully featured standalone implementation for the ZPatcher lib!

Features:

  • Multiplatform, currently supporting Windows, OSX and Linux.
  • Open Source
  • Easy to Create patch files for your game/application
  • Skinnable
  • Command line tools available to be easily included in deployment scripts
  • Client-Side automatic Download-and-Apply patching process
  • File backup when applying a patch, reducing the chances of a broken build on clients
  • (Launcher Only) Display the Change Log for your patches

๐Ÿš€ ZLauncher quick start guide: ZLauncherQuickStartGuide.md

๐Ÿ“– ZPatcher Suite user guide: ZPatcherSuiteApplications.md

โš™๏ธ Compiling

The application can be compiled in Windows, macOS and Linux with a few simple steps. Check Compiling.md for instructions on how to compile the for your target platform.

๐Ÿ–‹๏ธ Future features

While the application is stable and mature, there is always room from improvement. A few features are planned, but not yet implemented:

  • Add hash check of the files to be updated by a patch.
  • Add support for binary file deltas. Currently considering using minibsdiff, but suggestions are welcome.
  • Patch merger (i.e. Given two incremental patch files, merge them in a single patch file).

Please note these features are not listed in order of priority. Also, there isn't a timeframe for those features to be added.

Pull requests are very much welcome!

๐Ÿ“‘ Third Party libraries

ZPatcher uses a few external libraries to aid in it's functions:

CreatePatch and ApplyPatch uses ZPatcherLib, which uses LZMA SDK and Dirent.

ZUpdater also uses libcurl and RapidXML.

๐Ÿ“Œ Final Considerations

It is my desire to keep this project as a cross-platform lib and application. If you attempting to compile it for a new platform and run into issues and/or have a fix for it, please, don't hesitate to open a new Issue or Pull Request!

Contributions to the project are welcome! Get in touch if you want to contribute and be sure to send pull requests!

Last but not least, I'm not sure how to properly give credit to libraries used in this project. If it's done in a wrong way, I'd certainly appreciate some help on how to format and give credit in an appropriate way. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.