idRehashGo

command module
v1.4.3-0...-57c6354 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

README

idRehashGo

Build Status

DOOM Eternal .resources rehasher, rewritten in Go.

Usage

First, idRehashGo needs to generate an idRehash.map file to get the resource hash offsets. You can generate one by running:

./idRehash --getoffsets

After that, you can rehash the resource offsets on meta.resources by running:

./idRehash

Compiling

The project requires the go toolchain to be compiled. Additionally, a GCC toolchain such as MinGW is required on Windows.

To compile, run:

go build -o idRehash -ldflags="-s -w" .

To set a version number, build with:

go build -o idRehash -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 idRehash

Credits

  • proteh and emoose: For creating the original idRehash.

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