DanStaal / KPBStoMKS

MKS Compatbability Patches and addons for Kerbal Planetary Base Systems.
MIT License
5 stars 2 forks source link

Add .version File #17

Closed Merkov closed 7 years ago

Merkov commented 7 years ago

This should at least get us started.

Merkov commented 7 years ago

According to AVC's documentation, it isn't technically required, but I added it because 1) it's easy to remove if we don't want it, 2) some of the USI modules (like ground tethering) and stock modules (like XP management) that we're tapping into require being at least on KSP 1.2.0, and 3) the template had it, so I included it. Technically, the name is the only mandatory field, but that would be a pretty awful .version file. The changelog URL is optional as well. There is an option to actually include a changelog IN the .version file itself, but that just seems strange to me. Having the changelog URL gives players a button they can click underneath "update" if they are out-of-date. If you want to get rid of the KSP version stuff, just know that the KSP min and KSP max require the base KSP version section to be included. Having said that, it doesn't look like you need to have both min and max if you only want one. We could say that the patches were made for KSP 1.2.2, aren't supported with a version lower than 1.2.0, but have no KSP max, for example. Or we could just get rid of it.

DanStaal commented 7 years ago

Nope it wasn't - thanks.

DanStaal commented 7 years ago

(And I just pointed it at Dev for testing purposes - make sure the file works.)