EternalPatcherGo

command module
v1.4.2-0...-9271f81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

README

EternalPatcherGo

Build Status

DOOM Eternal executable patcher, rewritten in Go.

Patches

The patches are defined in a patch definitions file (EternalPatcher.def), which is downloaded by the tool using the update server specified in the configuration file (EternalPatcher.config). For more information, check out the original EternalPatcher here. The config file uses the JSON format, and it should look like this:

{
    "updateServer" : "dcealopez.es"
}

Usage

EternalPatcher [--update] [--patch /path/to/DOOMEternalx64vk.exe]
  • --update - Checks for updates and downloads them if available.

  • --patch - Patches the given game executable using the downloaded patch definitions.

Compiling

The project requires the go toolchain to be compiled.

To compile, run:

go build -o EternalPatcher -tags netgo -ldflags="-s -w" .

To set a version number, build with:

go build -o EternalPatcher -tags netgo -ldflags="-s -w -X 'main.Version=vX.Y.Z'" .

(replace vX.Y.Z with the version number you prefer).

Additionally, you may use UPX to compress the binary:

upx --best EternalPatcher

Credits

  • proteh: For creating the original EternalPatcher.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL