Six Patches of Pain is an auto-updater for the Super Clash of Ninja 4 mod. The name comes from the Six Paths of Pain.
To download the latest version and patch it, run the program as specified below for your OS
Download the latest Windows release zip, extract it, and run Six-Patches-Of-Pain.exe
Download the latest Mac release zip and extract it. Then run Six Patches of Pain like so:
./Six-Patches-Of-Pain
Download the latest Linux release zip and extract it. Then run Six Patches of Pain like so:
./Six-Patches-Of-Pain
To specify which available version to download and patch to run the program as specified below for your OS, and follow the on screen instructions
Six-Patches-Of-Pain.exe -specific
./Six-Patches-Of-Pain -specific
./Six-Patches-Of-Pain -specific
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.
Six Patches of Pain 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 Six Patches of Pain uses zeroes instead of random bytes so that it compresses cleanly. When you use Six Patches of Pain with a good dump, it will ask you if you're okay with modifying it to be the expected "bad dump".
When Six Patches of Pain 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 Six Patches of Pain.
Nkit ISOs are compressed versions of normal game ISOs. Six Patches of Pain expects a normal game ISO, and therefore the Nkit ISO must be converted to a normal game ISO.
CISOs are compressed versions of normal game ISOs. Six Patches of Pain expects a normal game ISO, and therefore the CISO must be converted to a normal game ISO.
Open the data
folder, delete the file named current_version
, and restart Six Patches of Pain.
First get the Github repository API URL to download it from, such as: https://api.github.com/repos/Super-GNT4/SCON4-Betas/releases
Run the executable with argument <executable> -r <repository>
For windows this would look like:
six-patches-of-pain.exe -r https://api.github.com/repos/Super-GNT4/SCON4-Betas/releases
Make sure you've run Six Patches of Pain at least once. After you've do so, open the folder titled data
. You should see a file titled git_repository
. Right click on this file and select Open with. Select Notepad. Replace the URL in this file with the new URL and save the file.
You are now done, downloads will now come from this location instead of the previous.
To build the code, first make sure you have go 1.16+, and a c/c++ compiler installed for your target system installed.
Then install pb
, goversioninfo
and go-xdelta
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.
$Env:GOOS = "windows"; $Env:GOARCH = "amd64"
make windows
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"
make linux
$Env:GOOS = "darwin"; $Env:GOARCH = "amd64"
make mac
This software is licensed under the GNU General Public License v3.0.
The icon for the application is owned by thedemonknight