-
-
Notifications
You must be signed in to change notification settings - Fork 345
Use of older versions of Mods for Lastest Version of KSP not being installed and Not showing when done manually. #2533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which mods did you attempt to import? Which mods had this problem? |
Here is a list of the mods i tried to import;
I refreshed Ckan's Mod listing to see if, they would show up and Nothing. I even went as far a exiting out of CKAN and restarting the program and still nothing. Usually they would show up with 'AD' next to them. This is the first time i have run into this problem with CKAN. Older version(s) would show the Mod as an 'AD' when detected. In earlier version of CKAN (v1.2-1.23) i never had a problem with adding mods in manually even when they were for an earlier version of KSP. What has changed in CKAN (v1.24+) for it not to detect them? |
OK, it sounds like there are two points here.
Is that an accurate summary? Did I miss anything? |
I checked using these mods to answer question #2;
Even if, the mod is or is not compatible with KSP and those mod have a '.dll' or '.version' file, CKAN should pick it up and show that it is "Auto-Detect". Now i have had OPT Legacy Space Plane installed before and it did not come with a '.dll' file just a '.version' file it showed as "Auto-Detect" and this occured when KSP was at Version 1.4.3 and i think CKAN was Version 1.23. So, why is it now that this mod does not show? In addition, i checked with another mod called OPT Reconfig. This mod also comes with a ".version' file and it also states; |
So when you said "KSP v1.1.2", you did not mean that those mods were released for KSP v1.1.2? That's why I thought that they weren't compatible, because that's an old game version and almost no mods from back then would be compatible with KSP 1.4.5. If those are instead the version numbers of those mods, and the text "KSP" was added in error, then that completely changes what this problem report is about. As for AD, no it hasn't changed as I've already said; CKAN has never checked .version files for that. The data structure that tracks AD mods has "Dlls" in its name, and CKAN has never tracked the info that would be required to do what you describe (see my comments in #949). |
I just read your post #949 and understand where your coming from. This still does not answer the question, "How can CKAN in previous versions see Mods with Version files and then not see them in later Versions." |
I shortened the name of Kerbal Space Program to KSP to save on typing. |
Previous versions did not work that way. |
Ok, i've done more digging. I've looked in the registry.json file and it lists the OPT Reconfig Mod several times. It stops at Max KSP Version 1.4.4. Now, this information is from the "https://github.com/KSP-CKAN/CKAN-meta/archive/master.tar.gz file. Now, there is a version mismatch coming from what it shows as listed from Spacedock.info and the included Version file of said Mods. I have been playing Kerbal Space Program since it was at Version 0.90.0 Beta and 1235 in-game hours since purchasing it on Steam and have used CKAN since Version 1.21. Now, i have in those years have seen CKAN Auto-Detect files that did not have a Dll file just a Version file. That is because of the registry file getting it information form the Meta-Data Base Archive for KSP-CKAN and yes i have kept track over the years it has Auto-Detected those files. To say it has not is not Correct. |
I've been playing KSP since version 0.23, and using CKAN since v1.0.1. Your move. 😁 |
No move just stating. So, how do we resolve this problem with CKAN and the Information it receives? |
@HebaruSan I examined the .version file for OPTReconfig and came across these fields specifically these lines; "KSP_VERSION":{"MAJOR":1,"MINOR":4,"PATCH":5}, I draw your attention to line 3 where it states the KSP_VERSION_MAX {"MAJOR":1,"MINOR":4,"PATCH":9}. Now when i checked the URL listed it showed a different Version number for the Max Version of KSP this Mod will work with; This is where IMHO is where the problem lies. Since this states that it will work with KSP v1.4.0 to KSP v1.4.4 when the Version files states it will work with KSP v1.4.0 to KSP v1.4.9. Even thou version file has the Current Version for KSP at the moment. It's the Max Version that is keeping it from showing-up in CKAN under the Compatible Section. Now i was also reading about the CKAN/spec.md and i found a section that speaks about the .version file. The $vref field indicates that version data should be filled in from an external service provider. Only one $vref field may be present in a document. If present, a $vref symbol of #/ckan/ksp-avc states that version information should be retrieved from an embedded KSP-AVC .version file in the file downloaded by the download field. The following conditions apply:
When used, the following fields are auto-generated:
Version information is generated in such a way as to ensure maximum compatibility. For example if the .version file specifies that the mod is compatible with KSP version 1.0.2 but the existing version specifies 1.0.5 then the version information generated will give a ksp_version_min of 1.0.2 and a ksp_version_max of 1.0.5. If (and only if) no mod version number has been identified (eg a #/ckan/http/:url), then the following field will also be auto-generated:
Now i do not know how this plays into the problem that i found. Any insight you might have is greatly appreciated. Thanks. I think i found out why this Mod will not install. Any insight on this is greatly appreciated. |
Yes, it's using http://ksp-avc.cybutek.net/version.php?id=572 to get the latest version info. This is to allow mod authors to control it after release without having to change their downloads. The mod author would need to update the file at that URL to resolve this. |
Ah, that is what i figured out after i read more here on the CKAN Github in the .md file for CKAN on how it reads that information. So, if a Modder sets the Min & Max Version of the Mod that is where CKAN will determine wither or not the mod is Valid/Compatible for that Version of KSP. But, if those Values/Fields are not filed out then CKAN would read the .version file for said information and determine if, the mod is Valid/Compatible with a Current version of KSP. This is what i determined from reading up on the Spec.md file for CKAN. |
After all was said and done i just ran into another problem/issue. CKAN did not Auto-Detect Manually installed Mods (OPT_Reconfig and OPT_Legacy) that i Manually installed. |
Update; |
See above;
|
I figured as much. Thanks again for the help. Also, i did post my suggestion in the proper area. What do you think of it? |
I think reducing the size of So is there anything we still need to figure out for this issue? |
Not aat this time. If, any other problems i will submit a New Issue. Thanks again. |
Background
CKAN Version:
v1.25.3
KSP Version:
v1.45.2243
Operating System:
Win10-64-Bit
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
yes, Manual addition of Mods when CKAN's failure to import files.
Problem
What steps did you take in CKAN?
What did you expect to happen?
Mods to be installed wither or not they are for current version of KSP.
What happened instead?
Mods did not install with CKAN and did not show as 'AD' when manually installed.
Screenshots:
No
CKAN error codes (if applicable):
No Errors.
The text was updated successfully, but these errors were encountered: