Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asn007/npatch
Simple patching library
https://github.com/asn007/npatch
Last synced: 11 days ago
JSON representation
Simple patching library
- Host: GitHub
- URL: https://github.com/asn007/npatch
- Owner: asn007
- License: gpl-3.0
- Created: 2015-06-11T08:50:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-12T12:46:30.000Z (over 9 years ago)
- Last Synced: 2023-03-22T12:50:48.653Z (almost 2 years ago)
- Language: Java
- Size: 227 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
nPatch
======Simple patching library for use with nLoader
The patch file is just a simple ZIP archive, which contains the following:
* patch.descriptor
* patch/
* new/
The first one is a patch descriptor, as you can get by the name. It contains the list of modified files alongside with their old hashes, so it can verify whether it can patch the file
It also contains an array of deleted files and patch notes.The second one is where the patch is stored. The directory structure inside the patch resembles the original directory structure. The filenames are kept the same, except for they have additional extension appended.
Therefore, /mc/game/game.jar becomes /mc/game/game.jar.patchThe last one, the "new" directory contains new files that has been added to the folder in the patch.