Coder Social home page Coder Social logo

priconetl_updater's Introduction

PriconeTL_Updater

made-with-powershell

A script to automate PriconneRe-TL installation

Table of contents

How to use

Create shortcut

Right click anywhere on your Windows desktop > New > Shortcut

Location of the item:

powershell irm https://raw.githubusercontent.com/touanu/PriconeTL_Updater/main/PriconeTL_updater.ps1 | iex

example

After that, you can use this shortcut to update PriconeTL.

Run directly from powershell

Open Powershell and type the following command:

irm https://raw.githubusercontent.com/touanu/PriconeTL_Updater/main/PriconeTL_updater.ps1 | iex

or download code from here

Uninstallation

You can uninstall PriconeTL with -Uninstall command-line argument

This will also remove everything related to BepInEx!

Open game without DMM Game Launcher

Install fa0311/DMMGamePlayerFastLauncher. Script will run game via this FastLauncher with the first shortcut configuration it found

To use a specific shortcut configuration, you can set its filename in config

If the script doesn't detect executable file or you have it in different folder, you can set a custom path in config

Advanced Usage

Configuration

Config file is auto-generated and located in (Your priconner folder)\TLUpdater\config.json

Configuration Type Description
VerifyFilesAfterUpdate Bool Check if any files are missing or redundant after updating to new version
ForceRedownloadWhenUpdate Bool Redownload latest release instead of only downloading changed translation files
VerifyIgnoreFiles Array Avoid updater check, download or delete those listed files
DMMGamePlayerFastLauncherSupport Bool Use DMMGamePlayerFastLauncher to open game
DMMGPFLShortcutFileName String Specify filename of shortcut which is set in DMMGamePlayerFastLauncher
CustomDMMGPFLPath String Custom path for DMMGamePlayerFastLauncher.exe
Default config.json
{
    "DMMGPFLShortcutFileName":  "",
    "VerifyIgnoreFiles":  [
                              "Translation/en/Text/_AutoGeneratedTranslations.txt",
                              "Translation/en/Text/_Postprocessors.txt",
                              "Translation/en/Text/_Substitutions.txt"
                          ],
    "DMMGamePlayerFastLauncherSupport":  true,
    "CustomDMMGPFLPath":  "",
    "ForceRedownloadWhenUpdate":  false,
    "VerifyFilesAfterUpdate":  true
}

Arguments

You can pass those parameters to script via command line, which requires to download the script

To pass parameters to remote script, create a scriptblock from the script file and execute that:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/touanu/PriconeTL_Updater/main/PriconeTL_updater.ps1))) -Argument
Argument Alias Type Description
-Uninstall -U Switch Remove all PriconeTL and BepInEx files
-ForceRedownload -FR Switch Uninstall and redownload latest PriconeTL release
-Verify -V Switch Only check, download any missing files, delete redundant files

priconetl_updater's People

Contributors

touanu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

siddiqua1

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.