Skip to main content

patch1337

PyPI Status PyPI version linting: Ruff Code style: black pre-commit

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

Metadata

Release files for patch1337 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patch1337 0.5.1
File Size Uploaded
patch1337-0.5.1.tar.gz 42.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patch1337 0.5.1
File Interpreter ABI Platform
patch1337-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.5 kB

Release files / patch1337-0.5.1.tar.gz

Download URL patch1337-0.5.1.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e69513ad8dacf5e9fbdb86d821dc232dd18a009155a7b16fb80e55bbbbde83f6
BLAKE2b-256 checksum
How to use checksums
f06e8223b12f52c3817acece682b835a280404bb903e544bab0dfad81bc2e8f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / patch1337-0.5.1-py3-none-any.whl

Download URL patch1337-0.5.1-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
096dac650318d94c816868361b4f4612fe48622b33f574ad8f5fb5be25d161bd
BLAKE2b-256 checksum
How to use checksums
3d7cf6ad0bc9d791c0e4455fbefa3ec5077e749f2fcb6cd555b05ddec53dcc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page