📄 Add comments to documentation
This commit is contained in:
parent
2c8aff8153
commit
53b07c1b53
1 changed files with 8 additions and 5 deletions
13
README.md
13
README.md
|
@ -4,20 +4,23 @@ If this is not a `-1to0` patch, the disk file may only contain the differences t
|
||||||
|
|
||||||
If a target location is specified, the extracted file is saved to that location, otherwise it is written to stdout. From there, you can either dump it to disk or process it in memory.
|
If a target location is specified, the extracted file is saved to that location, otherwise it is written to stdout. From there, you can either dump it to disk or process it in memory.
|
||||||
|
|
||||||
# Usage
|
# Installation
|
||||||
|
|
||||||
To compile:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Download repository
|
||||||
|
git clone https://git.jedipedia.net/swtor/patch-installer.git
|
||||||
|
# Go into repository folder
|
||||||
|
cd patch-installer
|
||||||
|
# Compile source code
|
||||||
./build.sh
|
./build.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
To use:
|
# Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Download disk
|
# Download disk
|
||||||
wget http://cdn-patch.swtor.com/patch/assets_swtor_main/assets_swtor_main_-1to0/assets_swtor_main_-1to0.z08 &&
|
wget http://cdn-patch.swtor.com/patch/assets_swtor_main/assets_swtor_main_-1to0/assets_swtor_main_-1to0.z08 &&
|
||||||
# Extract file
|
# Extract file from disk
|
||||||
./patch-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 &&
|
||||||
# Verify that file exists
|
# Verify that file exists
|
||||||
stat swtor_main_gfx_1.tor
|
stat swtor_main_gfx_1.tor
|
||||||
|
|
Loading…
Reference in a new issue