📄 Add comments to documentation

This commit is contained in:
C-3PO 2018-10-07 20:23:27 +02:00
parent 2c8aff8153
commit 53b07c1b53
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -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.
# Usage
To compile:
# Installation
```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
```
To use:
# Usage
```bash
# Download disk
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 &&
# Verify that file exists
stat swtor_main_gfx_1.tor