Sign in to follow this  
Followers 0
Tyrope

[Python, All OS]KSP-AVC: Kerbal Space Program Add-on Version Checker

4 posts in this topic

This little project started a way better one, and as such I have officially discontinued this program. This means no more updates & no more support!

The better project mentioned above is the KSP-AVC Plugin by Cybutek.

Kerbal Space Program Add-on Version Checker, or KSP-AVC for short is a small program written in Python to compare a local version with with one on the internet.

Clarification as required by forum rules:

If you contact a website or other network or computer system with your plugin, you must tell users exactly what you're sending or receiving in a clear and obvious way. This means no fine text and no big words.

This plug-in contacts web-pages listed in the .version file provided by the add-ons installed, including KSP-AVC.version in the program's own directory. The data of the online equivalent is only stored in RAM memory. This means no information is stored on your hard drive by running this program. (with the exception of the config file, see below). For an example of what data is received exactly, see the example.version file.

Your plugin must not edit, delete, or create files outside of the KSP installation folder. This will, again, help protect user privacy and avoid destructive behavior.

This program creates a configuration file to remember where you installed Kerbal Space Program. This file can be found in ~/.KSP-AVC and can be opened in any text editor. Example

Links:

Source Code

Licensed under the Apache License Version 2.0.

Changelog & downloads:

[0.3.1]Bugfix release.

[0.3]Add support for third digit version number & comparing KSP versions.

[0.2]Fixed SyntaxError (Thanks @vosechu ), Added sanity check for invalid JSON files.

[0.1]Initial release

Known add-ons with compatible .version file:

Edited by Tyrope

Share this post


Link to post
Share on other sites
So, how did you test this?

It uses it's own systems to check for it's own version. I also made a mock mod locally (Just the version file) that checked against a link on my web server.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0