Skip to content
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

Add Adjustable Mod Panel (KAMP) from SpaceDock #9033

Merged
merged 3 commits into from
May 3, 2022

Conversation

netkan-bot
Copy link
Member

@netkan-bot netkan-bot commented Mar 13, 2022

This pull request was automatically generated by SpaceDock on behalf of zer0Kerbal, to add Adjustable Mod Panel (KAMP) to CKAN.

Please direct questions about this pull request to zer0Kerbal.

Mod details

Key Value
Name Adjustable Mod Panel (KAMP)
Author zer0Kerbal
Abstract Pick which mod buttons to show or hide on the stock toolbar. This plugin for Kerbal Space Program (KSP) allows you to pick which buttons on the stock toolbar you want to see. You can show/hide mod stock toolbar buttons on different screens separately. It requires no additional support from the mods themselves, and should work with whichever mods it encounters.
License SimpleBSD-2-Clause
Homepage https://forum.kerbalspaceprogram.com/index.php?/topic/207263-*
Source code https://github.com/zer0Kerbal/AdjustableModPanel

Description

AdjustableModPanel KSP version License
Curseforge CKAN GitHub SpaceDock
Code KSP-AVC Validate AVC .version files

GitHub Pages

Adjustable Mod Panel (KAMP)

Pick which mod buttons to show or hide on the stock toolbar.

This plugin for Kerbal Space Program (KSP) allows you to pick which buttons on the stock toolbar you want to see. You can show/hide mod stock toolbar buttons on different screens separately. It requires no additional support from the mods themselves, and should work with whichever mods it encounters.

By zer0Kerbal and originally by Morse

Adopted with explicit permission.

Adjustable Mod Panel

Preamble by Morse

This mod allows you to pick which buttons on the mod panel you want to see. You can disable mods on different screens(game scenes) separately.

It requires no additional support from the mods themselves, and should work with whichever mods it encounters.

That being said, I should issue an additional warning:

Since mods can behave unpredictably, and since this mod meddles with the internals of ApplicationLauncher (i.e. stock mod panel), all kinds of weird stuff might happen when you start forcefully disabling the mod buttons. I tried to fail-safe it as much as possible, but since there are literally more than 9000 mods, I can't prepare for everything. But even in the worst-case scenario, it shouldn't affect gameplay, savefiles, and everything else that matters.

Using this mod is easy:

Install the mode
Choose which mod buttons in which screens you want to see (KSC, Editors, Flight, Map View, and Tracking Station)
That's it!


Localization - work in progress

  • English English - in progress
  • your translation here

HELP WANTED - See the README in the Localization folder for instructions for adding or improving translations. GitHub push is the best way to contribute. Additions and corrections welcome!


How to support this and other great mods by zer0Kerbal

Support Github Sponsor Patreon Buy zer0Kerbal a snack


See More

  • Discussions and news on this mod: See Discussions or KSP Forums
  • Changelog Summary for more details of changes : See ChangeLog
  • Known Issues for more details of feature requests and known issues : See Known Issues
  • GitHub Pages : See Pages

Installation Directions

Use
CurseForge/OverWolf App (currently does not install dependencies) 1

CurseForge/OverWolf App

or CKAN 1

Dependencies


*red box below is a link to forum post on how to get support*

How to get support

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

Credits and Special Thanks

  • Morse for creating this mod

Legal Mumbo Jumbo (License provenance)

Current (1) - zer0Kerbal

Forum: Thread - Source: GitHub
License: License

Disclaimer(s)

All bundled mods are distributed under their own licenses
All art assets (textures, models, animations, sounds) are distributed under their own licenses

Original (0) - Author: Morse

Forum: Thread - Download: GitHub - Source: GitHub
License: License

Footnotes

  1. this isn't a mod. ;P 2

  2. may work on other versions (YMMV)

This is an automated commit on behalf of zer0Kerbal
@HebaruSan
Copy link
Member

HebaruSan commented Mar 14, 2022

That's weird, it looks like SpaceDock just has the already existing download by Morse, but uploaded under zer0Kerbal's name (same version number, even same hashes). 😕 Wouldn't make sense to merge this until there's a new release that actually has some work done by zer0Kerbal, since merging would change the metadata for the existing download with values that wouldn't be accurate.

@HebaruSan
Copy link
Member

It's been 4 days. If a new release was coming, it probably would have shown up already. We can re-open this if there's some activity in the future.

@HebaruSan HebaruSan closed this Mar 16, 2022
@HebaruSan HebaruSan deleted the add/AdjustableModPanelKAMP branch March 16, 2022 23:19
@HebaruSan HebaruSan restored the add/AdjustableModPanelKAMP branch April 3, 2022 13:11
@zer0Kerbal
Copy link
Contributor

.

@HebaruSan HebaruSan reopened this May 3, 2022
@HebaruSan
Copy link
Member

HebaruSan commented May 3, 2022

image

False positive; that file weirdly has XML style comments in it 😕 (which will probably confuse the heck out of the KSP/MM parsers as well), not MM syntax:

image

@HebaruSan HebaruSan merged commit f10b989 into master May 3, 2022
@HebaruSan HebaruSan deleted the add/AdjustableModPanelKAMP branch May 3, 2022 21:28
@HebaruSan
Copy link
Member

HebaruSan commented May 3, 2022

After KSP-CKAN/CKAN#3525, the XML will just cause parsing to fail and the warning will be gone:

$ netkan.exe NetKAN/AdjustableModPanel.netkan --verbose
2666 [1] INFO CKAN.NetKAN.Validators.ModuleManagerDependsValidator (null) - Validating that metadata dependencies are consistent with cfg file syntax
2688 [1] INFO CKAN.NetKAN.Services.CachingConfigParser (null) - GameData/AdjustableModPanel/Localization/en-us.cfg:1:1: Expected '<EndOfStream>' but was '<<0x3C>'

(But the auto-population of the localizations list in the metadata will also fail.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants