Jump to content

[112.4] Adjustable Mod Panel (KAMP) v1.5.99.1-prerelease `<Thank you Morse>` edition [12 Jan 2023]


zer0Kerbal

Recommended Posts

Adjustable Mod Panel (KAMP) KSP version License
Curseforge GitHub SpaceDock CKAN
Pages

Code

Adjustable Mod Panel (KAMP)

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

This plugin 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 add-ons themselves, and should work with whichever add-ons it encounters.

By zer0Kerbal and originally by @Morse

Adopted with explicit permission and brought to you by KerbSimpleCo

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 mod Choose which mod buttons in which screens you want to see (KSC, Editors, Flight, Map View, > and Tracking Station) That's it!

See more

  Reveal hidden contents

YouTube showcase

Cabin Notes

  • The Janitor's Closet can be installed alongside Adjustable Mod Panel (AMP) - only use ONE or the other to manage buttons otherwise the kraken will come to eat the buttons and they might be lost forever! (well, at least until you restart the game). Obviously we would prefer you only using Adjustable Mod Panel (KAMP).
  • TUFX seems particularily resistant to KAMPing. Reports have alleged that it has made a deal with the kraken to grab the TUFX button and refuse to return it.

Help Wanted

  Reveal hidden contents

Localization

  • English American English <us-en.cfg>
  • your translation here

Installation Directions 1

  Reveal hidden contents

Dependencies

Recommends

Suggests

Tags

plugin, convenience

*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

Legal Mumbo Jumbo (License provenance)

  Reveal hidden contents

How to support this and other great mods by zer0Kerbal

  Reveal hidden contents

Connect with me

Track progress: issues here and projects here along with The Short List

zer0Kerbal | kerbalspaceprogram.comzer0Kerbal | CurseForgezer0Kerbal | redditzer0Kerbal | Patreonzer0Kerbal | YouTubezer0Kerbal | Twitchzer0Kerbal | PayPalzer0Kerbal | Buy Me a Coffeezer0Kerbal | Twitter

 

Release Schedule
  Reveal hidden contents
  1. this isn't a mod. ;P↩︎

  2. may work on other versions (YMMV)↩︎

Edited by zer0Kerbal
update links and lasso the birds
Link to comment
Share on other sites

Thanks @zer0Kerbal for taking this over.  I can't wait to download it!  

But FYI, CKAN still points to the old thread.  This thread's title still says v1.5.3, but ckan says newest is v1.5.5, not sure what to trust, so I'm going to hold off until that's sorted.  Keep up the good work!

Link to comment
Share on other sites

  On 3/18/2022 at 11:01 AM, wreckreation said:

Thanks @zer0Kerbal for taking this over.  I can't wait to download it!  

But FYI, CKAN still points to the old thread.  This thread's title still says v1.5.3, but ckan says newest is v1.5.5, not sure what to trust, so I'm going to hold off until that's sorted.  Keep up the good work!

Expand  

CKAN is most likely correct

Link to comment
Share on other sites

  On 3/14/2022 at 7:33 AM, zer0Kerbal said:

Original (0) - Author: [name deleted so original author doesn't get bothered with notifications]

Forum: Thread

Expand  

@zer0Kerbal  Thanks for adopting this.

The link quoted above sends me to an old Pteron Micro Shuttle thread. You probably wanted this instead: https://forum.kerbalspaceprogram.com/index.php?/topic/169087-18-adjustable-mod-panel-ver-153/

I assume you're still in the process of adopting it and things are still in flux, so I'll hold off on other nitpicky comments about version numbers, etc. between this thread vs github vs CKAN.

 

Link to comment
Share on other sites

  On 3/20/2022 at 6:11 PM, DeadJohn said:

link

Expand  

Thank you @DeadJohn! +1 :rep: 

Templates are great, unless you miss one of the checkboxes. :lol:

  On 3/20/2022 at 6:11 PM, DeadJohn said:

process of adopting

Expand  

Fully compiled and ready to go - just crossing the t's, dotting the i's, and zipping the z's. The release should be this week (shortly) and it's version will be 68747470733a2f2f696d672e736869656c64732e (well actually, 1.5.99.0-adoption), and that is all that matters to me. :D

Edited by zer0Kerbal
Link to comment
Share on other sites

  • 2 weeks later...

@zer0Kerbal In the 1.5.5 version (and KSP 1.12.3), some mods don't seem to like to be "removed" via AMP/KAMP. If I do that and change the scene to where they aren't supposed to be shown, they show up anyway -while others are properly hidden- and create a single NRE. Is that something you are aware of? Do you want me to create a proper bug report for it on GitHub? Or should I even wait for the new version to be compiled?

Just asking before I compile a proper bug report since I'm not gonna do it on my current heavily modded game... I probably won't have time to do it before the weekend, though.

Link to comment
Share on other sites

  On 3/29/2022 at 9:31 PM, caipi said:

@zer0Kerbal In the 1.5.5 version (and KSP 1.12.3), some mods don't seem to like to be "removed" via AMP/KAMP. If I do that and change the scene to where they aren't supposed to be shown, they show up anyway -while others are properly hidden- and create a single NRE. Is that something you are aware of? Do you want me to create a proper bug report for it on GitHub? Or should I even wait for the new version to be compiled?

Just asking before I compile a proper bug report since I'm not gonna do it on my current heavily modded game... I probably won't have time to do it before the weekend, though.

Expand  

+1 :rep:

@caipiyes, bug report kindly.

Link to comment
Share on other sites

  On 3/29/2022 at 9:42 PM, zer0Kerbal said:

yes, bug report kindly.

Expand  

Bug reported: https://github.com/zer0Kerbal/AdjustableModPanel/issues/30

Sorry it took so long. I didn't really find any time* before today. It seems like TUFX is the culprit/incompatable mod that breaks KAMP functionality. Let me know if you need anything else from me. I hope I didn't forget anything essential.

*turns out time was hiding in my watch all along. I just had to look for it there. Silly me.

Link to comment
Share on other sites

  On 4/3/2022 at 11:57 AM, caipi said:

Bug reported: https://github.com/zer0Kerbal/AdjustableModPanel/issues/30

Sorry it took so long. I didn't really find any time* before today. It seems like TUFX is the culprit/incompatable mod that breaks KAMP functionality. Let me know if you need anything else from me. I hope I didn't forget anything essential.

*turns out time was hiding in my watch all along. I just had to look for it there. Silly me.

Expand  

:rep: :science:

Thank you @caipi!

Seems this issue is resolved with the new version, which I am working diligently to release as soon as possible and @caipigets to use early! 

Edited by zer0Kerbal
Link to comment
Share on other sites

Adjustable Mod Panel Version
KSP version License
AVC .version files GitHub Pages


Version 1.5.99.0-adoption - <Peekaboo> edition

13 Mar 2022
Released for Kerbal Space Program [KSP 1.12.x]

DO A CLEAN INSTALL:
DELETE EXISTING INSTALLATION THEN RE-INSTALL


Download from CurseForge

Changes

  • adopted by zer0Kerbal

 

  Reveal hidden contents

 

 


See More

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

Localization

  • 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 Patreon Github Sponsor Buy zer0Kerbal a snack


*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

Kerbal Space Program 1.12.3 — C# 10.0 — Unity 2019.2.2f1 — .NET Framework 4.7.2


Link to comment
Share on other sites

  • 4 weeks later...

Yesss!  I've been waiting for this.  Thanks so much for all your hard work bringing this up to date.  

FYI - all the mod buttons hide/appear as expected, except for TUFX.  The button shows whether 'checked' in KAMP or not.   

Reproduced in a pristine KSP install, with only KAMP, TUFX and Module Manager installed, with slightly different results.  In the KSC scene, the TUFX button disappears as expected when unchecked in KAMP, but doesn't show when re-checked.  In all other scenes, the TUFX button doesn't disappear when unchecked in KAMP (same behavior as my main KSP install).  

This is only a very minor inconvenience, as I'm able to hide the TUFX button using Janitor's Closet. 

If you want any logs, let me know, I'll post them.

Thanks again!

Link to comment
Share on other sites

  On 5/7/2022 at 9:24 AM, wreckreation said:

Yesss!  I've been waiting for this.  Thanks so much for all your hard work bringing this up to date.  

Expand  

You are most certainly welcome @wreckreation! Credit goes to @Morse, and well written code is a pleasure to update!

  On 5/7/2022 at 9:24 AM, wreckreation said:

If you want any logs, let me know, I'll post them.

Expand  

Please, create a bug report and drag-n-drop a zipped copy of your KSP.log into it on the GitHub repo.

Link to comment
Share on other sites

  On 5/7/2022 at 4:34 PM, zer0Kerbal said:

Please, create a bug report and drag-n-drop a zipped copy of your KSP.log into it on the GitHub repo.

Expand  

Done.  Thanks for looking at this!

I've got another, separate issue where KAMP and Janitor's Closet don't seem to play nicely together (one doesn't know what the other is doing and they both get confused and misbehave), but that seems like a much bigger can of worms (Linuxgurugamer would likely need to get involved), and don't know if you'd want to get into that.

Link to comment
Share on other sites

  On 5/8/2022 at 12:42 PM, wreckreation said:

Done.  Thanks for looking at this!

I've got another, separate issue where KAMP and Janitor's Closet don't seem to play nicely together (one doesn't know what the other is doing and they both get confused and misbehave), but that seems like a much bigger can of worms (Linuxgurugamer would likely need to get involved), and don't know if you'd want to get into that.

Expand  

Not going to happen.  The two mods essentially are doing the same thing behind the scenes, you can't have both installed at the same time. 

I suppose they need to be listed as incompatible with each other in CKAN @HebaruSan

I also have no idea how KAMP will work with the ToolbarController, I've never tested that, but since I haven't heard anything bad, I assume they work ok together

Edited by linuxgurugamer
Link to comment
Share on other sites

  On 5/8/2022 at 12:54 PM, linuxgurugamer said:

you can't have both installed at the same time.

Expand  

Yes, you can. Just don't use both to hide/show buttons. One or the other. 

  On 5/8/2022 at 12:54 PM, linuxgurugamer said:

ToolbarController

Expand  

Adjustable Mod Panel (KAMP) handles life with or without TBC just fine. @Morsedid a great job coding it.

 private bool ToolbarControllerAvailable = true

@HebaruSanI see no issue to adding Janitor's Closet to the ### Conflicts with (Already added to OP) - kindly see note above.

Thank you @wreckreation ! +1 :rep: I received the KSP.log and doesn't show anything misbehaving (okay there is one possible issue with TUFX) Will take some time to diagnose. I suspect (without proof just conjecture). I will add a Known Issue with in the readme and OP - something to the effect of: TUFX doesn't conflict with, just KAMP doesn't seem to have an effect on TUFX (It's one TUFF mod... bad pun). 

There is a config.xml (<KSP_ROOT>/GameData/AdjustableModePanel/Plugins/PluginData/AdjustableModPanel/config.xml) there should be five entries (including the first) to manually remove an entry.

<string name="module16">JanitorsCloset</string>
    <string name="method16">&lt;OnGuiAppLauncherReady&gt;m__0</string>
    <bool name="hashNeeded16">0</bool>
    <int name="scenes16">63</int>
    <bool name="pinned16">0</bool>
    <int name="count">16</int>

For me it does a wonderful job of hiding even the toughest cookies.

  On 3/14/2022 at 7:33 AM, zer0Kerbal said:

Cabin Notes

  • Janitor's Closet can be installed alongside Adjustable Mod Panel (AMP) - only use ONE or the other to manage buttons.
  • TUFX seems particularily resistant to KAMPing. Reports have shown it doesn't like it's button hidden. 
Expand  
Edited by zer0Kerbal
finger dyslexia
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...