From 53b07c1b530adb35cf34f7eacac67ce0dc2ea4f1 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 7 Oct 2018 20:23:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=84=20Add=20comments=20to=20documentat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index feab2d7..538a154 100644 --- a/README.md +++ b/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. -# 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