Thor Patcher - ettoreleandrotognoli/rathena GitHub Wiki

Thor Patcher is a third-party software developed by Aeomin back in 2007. It's a Patcher designed to download update files from a Web Server directly to a Player client folder, placing all designed files in the correct folders and sub-folders or GRFs.

Thor uses a .thor proprietary format which can be way better compressed than GPFs or RGZs.

Files

After downloading one of the appropriate versions of Thor, a series of folders are included in the package, the relevant ones are:

  • Additional Skins\
    • An extra Skin included by Aeomin as an alternative option to the default one.
  • Patcher\
    • Thor.exe is the main file and the one that will be distributed to Players.
  • Tools\
    • CheckSum useful to get Hash of the files you're dealing with, you'll have to keep this one if you want to update your Patcher and/or Client using the designed functions for it.
    • ThorGenerator.exe used to make .thor files, it's highly obsolete now that GRF Editor supports the creation of .thor files, and it's way more efficient in doing so.
  • Web\
    • main.ini will be the file which will communicate to the patcher from your web host, where the files will be stored.
    • plist.txt will list the files to be downloaded by the patcher.

Categories

There are different models of content that can be configured and customized accordingly to the final design of the patcher. Some of those settings must be filled mandatorily in order for the patcher to work.

  • Status\
    • FontColor is the color input for the font that displays the current status of the update. It must be prefixed with $. It is important to notice that the colors are read BGR instead of RGB for some reason.

Known Issues

  • Version 2.6.4.8 is stable but can't open the Client unless it's run with Admin Privileges.
  • Version 2.6.4.13b is stable but can't update itself through its own patches.