🚚 Rename patcher-installer to patch-installer
This commit is contained in:
parent
2299d8ed6e
commit
1897ab3813
4 changed files with 5 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
.vscode
|
||||
patcher-installer
|
||||
patch-installer
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
```patcher-installer``` is a command-line application that can be used to extract a single file from the disk files (.z01, .z02 etc.). This tool is very low-level and assumes that you have already read the .zip file and know the location, size and decryption keys of the specific file you want to extract.
|
||||
```patch-installer``` is a command-line application that can be used to extract a single file from the disk files (.z01, .z02 etc.). This tool is very low-level and assumes that you have already read the .zip file and know the location, size and decryption keys of the specific file you want to extract.
|
||||
|
||||
If this is not a ```-1to0``` patch, the disk file may only contain the differences to the previous release. In this case, you can supply the location of this file's previous version, and this tool will generate the new version using VCDIFF/xdelta3.
|
||||
|
||||
|
@ -16,7 +16,7 @@ To use:
|
|||
|
||||
```
|
||||
wget http://cdn-patch.swtor.com/patch/assets_swtor_main/assets_swtor_main_-1to0/assets_swtor_main_-1to0.z08 &&
|
||||
./patcher-installer --disk assets_swtor_main_-1to0.z08 --offset 267071107 --size 165738618 --keys 3393608425,2820264972,3930508185 > ../swtor_main_gfx_1.tor &&
|
||||
./patch-installer --disk assets_swtor_main_-1to0.z08 --offset 267071107 --size 165738618 --keys 3393608425,2820264972,3930508185 > ../swtor_main_gfx_1.tor &&
|
||||
stat swtor_main_gfx_1.tor
|
||||
rm assets_swtor_main_-1to0.z08
|
||||
```
|
||||
|
|
2
build.sh
2
build.sh
|
@ -1 +1 @@
|
|||
gcc -Wall -m64 -o patcher-installer lib/miniz/miniz.c src/*.c src/*/*.c && chmod +x patcher-installer
|
||||
gcc -Wall -m64 -o patch-installer lib/miniz/miniz.c src/*.c src/*/*.c && chmod +x patch-installer
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
void errorAndExit() {
|
||||
fprintf(stderr, "\nUsage:\n");
|
||||
fprintf(stderr, " ./patcher-installer --disk main.z01 --offset 456z --size 1000 [--keys 123,456,789] [--previous oldfile.tor]\n");
|
||||
fprintf(stderr, " ./patch-installer --disk main.z01 --offset 456z --size 1000 [--keys 123,456,789] [--previous oldfile.tor]\n");
|
||||
fprintf(stderr, "Options:\n");
|
||||
fprintf(stderr, " -d, --disk: The path to the disk file that contains the file we want to extract.\n");
|
||||
fprintf(stderr, " -o, --offset: The offset into the disk, given in bytes, where the local file header of the file we want to extract starts.\n");
|
||||
|
|
Loading…
Reference in a new issue