A heads up for modders that support this:I'm tweaking the .version file format slightly in the next release. Specifically, I'm removing the unused "starsectorVersion" and adding a "modThreadId" field. This will be used to launch directly from Starsector to your mod's update thread.
The value you'd enter for this field is the number at the end of the forum thread URL, up until the period. For example, this thread's URL is
fractalsoftworks.com/forum/index.php?topic=8181.0, so its thread ID would be
8181.
Both fields (removed and added) are
optional. You don't have to make any changes to your .version file if you don't want to, this is just an added feature to make things more convenient for users.
Here's an example .version file using the new field:
{
# Points toward the online master .version file. This mod works by comparing
# the local and online version to see if there is a newer version available.
#
# The master file must be:
# - Online (duh)
# - Directly reachable (the URL goes to the raw file, not a redirect page)
# - Permanently linked and editable without the URL itself changing
#
# Bitbucket, GitHub, and other online repositories make excellent hosts.
# If you have a Dropbox account that's a few years old, that will also work.
# Just make sure it is in your Public folder and that you get the URL by
# right-clicking and selecting "Copy public link". Free Dropbox accounts
# created after October 2012 will not have a Public folder, unfortunately.
#
# Example links for common hosts:
#"masterVersionFile":"https://bitbucket.org/LazyWizard/version-checker/raw/tip/versionchecker.version",
#"masterVersionFile":"https://bitbucket.org/LazyWizard/version-checker/downloads/versionchecker.version",
#"masterVersionFile":"https://github.com/LazyWizard/VersionChecker/blob/master/versionchecker.version",
#"masterVersionFile":"https://github.com/LazyWizard/VersionChecker/releases/download/0.1/versionchecker.version",
"masterVersionFile":"https://dl.dropboxusercontent.com/u/32722116/Version%20Files/versionchecker.version",
"modName":"Version Checker",
# The ID of the thread where updates to this mod can be found (optional).
# This is used to launch directly to the forum thread from in the game.
# The ID is the set of digits at the end of the forum thread URL before the dot.
# For example: fractalsoftworks.com/forum/index.php?topic=8181.0 has an ID of 8181
"modThreadId":8181,
# The current patch number
# Notation is major.minor.patch, trailing zeros are ignored
# This means version 2.1.0 shows up as v2.1, version 4.0.0 as v4, etc
# If you use major.minor notation you can just leave patch as 0
"modVersion":
{
"major":1,
"minor":2,
"patch":0 # Can also be a character or string (a, b, "-RC2", etc)
}
}
And here's a rough WIP of how it looks in-game: