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