Skip to content

Auto-updater for the GNT4 Quality of Life Edition (QOLE) mod

License

Notifications You must be signed in to change notification settings

NicholasMoser/qole-patcher

Repository files navigation

QOLE Patcher

QOLE Patcher is an auto-updater for the GNT4 Quality of Life Edition (QOLE) mod. For more info on the contents of this mod, please see the GNT4 QOLE Releases Repository.

How to Use

Windows

Download the latest Windows release zip, extract it, and run QOLE-Patcher.exe.

Mac

Download the latest Mac release zip and extract it. Then make sure you have the following installed:

  • Homebrew
  • xdelta
    • To install run brew install xdelta

Then run QOLE Patcher like so:

./QOLE-Patcher

Linux

Download the latest Linux release zip and extract it. Then make sure you have the following installed:

  • xdelta3
    • To install run sudo apt-get install xdelta3

Then run QOLE Patcher like so:

./QOLE-Patcher

Common Questions

Why does it say my vanilla ISO needs to be modified?

When you create an ISO of a game, you read the data from the disc into a file. It is possible during this process that a few bytes are different than expected. This is due to errors when reading the disc. When the bytes differ, this is called a "bad dump" since it doesn't match the original game 1:1. In many cases, bad dumps are perfectly fine because the bytes that changed are in places that are unused. Furthermore, sometimes it is benefitial to create a bad dump, in order for the ISO to compress better.

QOLE Patcher expects that the GNT4 ISO used is a particular bad dump. A good dump uses random bytes as padding on the disc, which is unable to be compressed and results in a larger zip size. The bad dump used by QOLE Patcher uses zeroes instead of random bytes so that it compresses cleanly. When you use QOLE Patcher with a good dump, it will ask you if you're okay with modifying it to be the expected "bad dump".

When QOLE Patcher asks to modify your good dump GNT4 ISO you have a few options. If you don't care just hit enter and let it modify the file. If you are particularly concerned with keeping your good dump ISO, consider creating a copy of it to be modified instead and use that with QOLE Patcher.

It says I'm already on the latest version but I want to reinstall it

Open the data folder, delete the file named current_version, and restart QOLE Patcher.

Building

To build the code, first make sure you have go 1.16+ installed.

Then install pb and goversioninfo by running:

make get

Finally, build the code with:

make platform

Currently Windows, Linux, and Mac are supported with respectively

windows
linux
mac

Different build environments can be targeted by using the GOOS env entry.

Powershell Example

$Env:GOOS = "windows"; $Env:GOARCH = "amd64"
make windows
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"
make linux
$Env:GOOS = "darwin"; $Env:GOARCH = "amd64"
make mac

Legal

This software is licensed under the GNU General Public License v3.0.

The bundled xdelta for Windows is licensed under Apache Public License version 2.0.

The icon for the application is owned by thedemonknight

About

Auto-updater for the GNT4 Quality of Life Edition (QOLE) mod

Resources

License

Stars

Watchers

Forks

Packages

No packages published