-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement Launchpad functionality #1
Comments
Wishlist item: The mod manager should check if a mod would conflict with any enabled mods (with the caveat that it would not treat the parents of a deriving mod as conflicting, nor would it show said mod as being disabled). If this is the case, it should display an error when the user tried to enable it. |
Note: If a newly-selected game folder hasn't been upgraded to OpenSR, ask the user if they want to upgrade now. (The upgrade process should rename any existing SR2 executables in order to allow modders to run the Steam client and upload their mods to the Workshop.) |
- Did a major cleanup pass on the whole project. - Added nullable/not-nullable annotations just about everywhere. - Extracted each screen into its own FXML file with corresponding controllers. - Resolved a zillion issues IDEA and SonarLint were bugging me about. - Added the option to install mods into the user folder. Pending UI support, this can only be enabled via config editing. - Added the option to uninstall the currently active mod. (TODO: Maybe disable if the mod doesn't seem to be installed?) - Should have replaced all references to SR2MM with the OpenSR Launchpad. Also removed the Patreon link for the same reason. - Possibly fixed some bugs. It's been ages since I first did most of this commit, and I never committed it because it wasn't finished at the time. (And arguably still isn't, since I'm pretty sure I intended to commit working versions of the new screens!)
Regarding multimod support: Instead of searching the repository for modinfo files, the Launchpad will check the metadata file for a new field, An example showing the new metadata structure, using a handful of the mods in my old SR2Mods repository: {
"mods": {
"[OBSOLETE] ABEM Modding Toolkit": {
"rootFolder": "ABEMTool"
},
"Jraenar Imperium": {
"rootFolder": "Jraenar"
},
"Koprulu Emergency Coalition": {
"rootFolder": "KECSet",
"dependencies": [
{
"name": "Trader Emergency Coalition",
"repository": "github.com/DaloLorn/SR2Mods",
"branch": "TECSet"
},
{
"name": "Koprulu Navy",
"repository": "github.com/DaloLorn/SR2Mods",
"branch": "TerranSet",
}
]
}
"Multiple Theme Enabler": {
"rootFolder": "MultiTheme"
},
"Khalai Unity": {
"rootFolder": "ProtossAdventSet",
"dependencies": [
{
"name": "Unity of the Advent",
"repository": "github.com/DaloLorn/SR2Mods",
"branch": "All-Mods",
"modName": "Unity of the Advent"
},
{
"name": "The Firstborn",
"repository": "github.com/DaloLorn/SR2Mods",
"branch": "All-Mods",
"modName": "The Firstborn"
}
]
}
}
} |
- Settings are now correctly loaded before the UI starts loading. - On first run, user will be asked if they want to install OpenSR. - Added more detailed progress tracking to Git/FS operations during mod installation.
Copy-pasted from the original repo.
Each of the below screens should be placed on a separate tab. (Except "Shared UI", which appears outside the tab container.)
The tab order is shamelessly (if occasionally inaccurately) stolen from the FreeSpace SCP's "Knossos" launcher, but I have neither the technical nor the artistic proficiencies required to make it look that good. 😦 (Though if we're going with a more thematic name for the launcher, I suspect "Atrozal" or "Orathi" might be a decent choice. 😏)
mods.txt
[ ] OpenSR Modpack (OpenSR)
HEAD
of the currently installed branch without any further messing around with the mod installer.modinfo.txt
in the repository, and put them in a multi-select list (maybe add checkboxes if possible, to make it extra clear) containing the name of each folder.The text was updated successfully, but these errors were encountered: