Patches files using .1337 patch files
Project description
patch1337
Cross-platform 1337 patcher in Python. Initially designed to be used for nvidia-patch.
Installation
From pypi
Suggested to install via pipx with:
pipx install patch1337
or pip with:
pip install patch1337
From repo
Clone the repo with:
git clone https://github.com/OMEGARAZER/patch1337.git
cd ./patch1337
Suggested to install via pipx with:
pipx install -e .
or pip with:
pip install -e .
Running
Once installed the patcher can be run with:
patch1337
When no arguments are passed the defaults settings will patch nvEncodeAPI
and nvEncodeAPI64
in the current directory.
To specify locations pass patch files with -p
and patch targets with -t
.
patch1337 --patch nvencodeapi.1337 --target C:\Windows\SysWOW64\nvEncodeAPI.dll -offset true
Arguments
There are three arguments that can be passed to the patcher:
-p, --patch
- The path to a 1337 patch file.
-t, --target
- The path to the target file to patch.
-o, --offset
- Whether to apply the x64dbg offset (true by defualt)
-v
- Increase verbosity to debug output
Each can be specified multiple times to patch multiple files at once like this:
patch1337 --patch nvencodeapi.1337 --target nvEncodeAPI.dll -offset true --patch nvencodeapi64.1337 --target nvEncodeAPI64.dll -offset true
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patch1337-0.5.0.tar.gz
(41.9 kB
view hashes)
Built Distribution
patch1337-0.5.0-py3-none-any.whl
(29.3 kB
view hashes)
Close
Hashes for patch1337-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7f1ace2a211f3affed7f536d647133d09499dbf957aee2a51ad4be79890554 |
|
MD5 | ed06cd279236aa3e10b467de031ead2b |
|
BLAKE2b-256 | 5d3848882c1f77ba2438eebd17ee218163e162a444ec72e4284baeb1d6a161cf |