GithubHelp home page GithubHelp logo

laundmo / northstar-updater Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 46 KB

UI-less auto-updater for the Northstar Titanfall 2 client and its mods.

License: MIT License

Python 98.47% PowerShell 1.53%
modding titanfall-2 titanfall2 northstar-client

northstar-updater's Introduction

ARCHIVED

please use a launcher like VTOL https://github.com/BigSpice/VTOL

northstar-updater

Auto-updater for the Northstar Titanfall 2 client

Installation and Usage

You can run it without Northstar installed, and it will install it.

Configuration:

After the first launch, it will have generated a updater_config.ini which you can edit to allow it to update mods.

Add one of these sections to it. The Github Repository needs to utilise releases for this to work.

[BetterServerbrowser]
repository = F1F7Y/Better.Serverbrowser
last_update = 0001-01-01T00:00:00
key explanation
repository The GitHub username and repository of the mod (should contain releases)
last_update by default this is 0, and will be overwritten whenever the updater has completed an update
ignore_prerelease (optional, default is true) true by default, this will prevent the autoupdater from updating to a prerelease version
file (optional) This is pointing to some file in the mod, used to verify the correct zip was downloaded and whether the mod is already installed.
install_dir (optional, default is ./R2Northstar/mods) the directory into which the release will be unpacked. This is obviously different for other non-mod things like the updater itself
exclude_files (optional) A pipe | seperated list of files to exclude when extracting the zip. can be useful for config files.

Working princple:

The udpater is just a fancy automatic way to download and extract zip archives from github. It first fetches the releases and tries to determine whether there is a newer version available. Then, it tries to very naively guess which release asset to use, and downloads it. The downloaded zip file will get inspected whetehr it contains file to check that it was the correct one. Then, it will extract all fiels except those listed in exclude_files into the install_dir. The last step is calling NorthstarLauncher which will also be passed every commandline argument given to the updater.

northstar-updater's People

Contributors

laundmo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

itsdaviper

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.