/PriconeTL_Updater

A script to automate PriconeTL installation

Primary LanguagePowerShell

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