Various command-line tools for handling patches, written in TypeScript for Node.js
Find a file
2019-07-22 23:14:56 +02:00
.vscode 👷‍♂️ Update dependencies, add cspell settings 2018-10-25 07:03:50 +02:00
src ♻️ Be more explicit in RegExp parsing 2018-11-04 17:08:35 +01:00
.editorconfig 👷‍♂️ Prepare repo 2018-10-18 19:50:24 +02:00
.gitignore 🙈 Remove .vscode settings from gitignore 2018-10-25 03:17:37 +02:00
LICENSE 👷‍♂️ Prepare repo 2018-10-18 19:50:24 +02:00
package-lock.json 👷 Update dependencies, fix compilation error 2019-07-22 23:14:56 +02:00
package.json 👷 Ensure repository can't be published to NPM 2019-07-21 16:50:10 +02:00
README.md 📝 Update installation instructions, fix format 2019-07-21 16:53:52 +02:00
tsconfig.json 👷‍♂️ Prepare repo 2018-10-18 19:50:24 +02:00

ssn-tools

This repository contains command line tools for handling patches. It uses the functions exposed by the ssn library and makes them available for use on the shell.

Installation

Run the following commands in your Linux shell:

# Install TypeScript globally
sudo npm install -g typescript

# Download repository
git clone https://git.jedipedia.net/swtor/ssn-tools.git
cd ssn-tools

# Install dependencies and transpile TypeScript files to JavaScript
npm install && npm start

For a better command line experience, add the following to your ~/.bashrc file:

alias swtor_install='node /path/to/installation/ssn-tools/dist/installPatch.js'

complete -W 'assets_swtor_de_de assets_swtor_en_us assets_swtor_fr_fr assets_swtor_main assets_swtor_test_de_de assets_swtor_test_en_us assets_swtor_test_fr_fr assets_swtor_test_main eualas movies_de_de movies_en_us movies_fr_fr patcher2014 patcher2017 retailclient_liveqatest retailclient_swtor retailclient_publictest' 'swtor_install'

Usage

dist/getManifest.js --product assets_swtor_main
dist/getSolidPkg.js --product assets_swtor_main --from 126 --to 127
dist/getPatchZip.js --product assets_swtor_main --from 126 --to 127
dist/installPatch.js assets_swtor_main 126 127
swtor_install assets_swtor_main 126 127

License

Copyright (C) 2018 Jedipedia.net

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.