-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
[Feature] KSP2 support plans #2863
Comments
We already had plans to split CKAN-meta up to lower the download burden. I'd like to see a system where there is a separate metadata file for each major point version, downloaded according to KSP version compatibility settings and merged as required. That would make supporting KSP 2 pretty seamless. |
There is an unmerged branch in the old bot where I came up with some logic for this. That was extendable based on some JSON config. It will need a slight re-think, but I reckon we could come up with something with the new architecture (though we've got a bit of a backlog to clean up and get merged in). |
New timeline from the devs:
Players may be expected to treat this as a full release in terms of expecting CKAN support. So we'll probably have to cough up fifty bucks to keep up with that, unless we can get onto some kind of closed beta team. |
Could it be an idea to rewrite the history on the metadata repo so that you have one branch for each game? Then you could do a dumb pull to get the refs for each branch and only download the data for each. Could also move older versions of mods to a separate repo. |
Summary of current situation:
It should stabilize significantly once the official mod loader is completed and released. |
A user donated me the game!
|
The This might be how to access that programmatically (not tested yet): I'm going to call that a silver lining; it's potentially a lot nicer than having to parse buildID.txt or a readme file. We won't have to maintain a |
Of the mods currently on SpaceDock, 3 use BepInEx and 10 use SpaceWarp. They install mods at:
So if we try to support these, we'd effectively need to have two replacements for Of course, we'd also need to be able to install SpaceWarp and BepInEx themselves, into:
|
Oh lovely, SpaceWarp and BepInEx have a file conflict! They both want to create [UnityDoorstop]
# Specifies whether assembly executing is enabled
enabled=true
# Specifies the path (absolute, or relative to the game's exe) to the DLL/EXE that should be executed by Doorstop
targetAssembly=BepInEx\core\BepInEx.Preloader.dll # General options for Unity Doorstop
[General]
# Enable Doorstop?
enabled=true
# Path to the assembly to load and execute
# NOTE: The entrypoint must be of format `static void Doorstop.Entrypoint.Start()`
target_assembly=SpaceWarp/Core/SpaceWarp.dll So if you try to install both manually, presumably only the second one you install will work. And CKAN would just barf during the second install, if these were both CKAN modules. |
Scroll down to a post by rofl47 discussing a possible solution. BepInEx seems to have a SpaceWarp loader inside it. Mixed results in following posts below, but it might lead to something... |
I guess if these were to be added to CKAN metadata today, we'd:
|
@techman83, after hacking on this for a couple of hours, I This creates a nice clean separation between the two games. Then we should be able to configure new instances of the Scheduler, Inflator, and Indexer to use these once the Inflator is updated with multi-game support (in progress now). |
One wrinkle that'll likely need massaging: GitHub gave us Also the User Guide will need some attention to incorporate the differences between the games. |
Sounds like a sensible plan. And yes, I agree, time to move us to https://github.com/KSP-CKAN/CKAN/blob/master/Core/Games/KerbalSpaceProgram.cs#L201 |
For historical compatibility, if you want to change the historical versions to use |
Motivation
KSP2 has been announced:
This raises the question of how CKAN should handle the sequel. I'll assume for now that we want to index mods for it and will be able to do so. (If we decide we want nothing to do with KSP2, or if we can't due to some hypothetical exclusive deal with Twitch, then that's obviously far simpler.)
This is a WIP issue to track discussion and hash out a concrete plan. Please reply with further thoughts, considerations, etc.
Questions
https://forum.kerbalspaceprogram.com/index.php?/topic/193978-kerbal-space-program-esa-110-update-sharedhorizons/
Issues
Tasks
Client updates to support the new game:
Infrastructure:
NetKAN/KSP1
andKetKAN/KSP2
subdirs?The text was updated successfully, but these errors were encountered: