KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network
https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*
Other
1.99k stars 348 forks source link

Trying to change a mod from AD to installed #2672

Closed MikeLyno closed 5 years ago

MikeLyno commented 5 years ago

Background

CKAN Version: 1.25.4

KSP Version: 1.6.1

Operating System: Windows 10 Pro x64

Have you made any manual changes to your GameData folder (i.e., not via CKAN)? Yes. Have Module Manager installed manually (it's the only mod I do have manually installed). Shows as AD in ckan. I wanted to try to get it installed through ckan like all my other mods are and get rid of the AD.

Problem

What steps did you take in CKAN?

  1. Installed mods depending on ModuleManager (manually installed)
  2. Deleted ModuleManager in ksp gamedata folder
  3. Went back to ckan and refreshed it and AD was gone and the box was there
  4. I checked it and clicked to apply changes

What did you expect to happen?

Get Module Manager installed through ckan without having to uninstall other mods

What happened instead?

Then got a list of about 25 of my mods to be uninstalled to get Module Manager installed. Needless to say I'm not going to do that.

Screenshots:

after clicking install box

HebaruSan commented 5 years ago

Similar to #2186, but this is more specific and has the more modest goal of just being able to install a deleted AD mod.

@MikeLyno, can you share a screenshot of the list of 25 mods to be uninstalled, to make sure we're understanding the issue properly?

MikeLyno commented 5 years ago

after clicking install box

HebaruSan commented 5 years ago

Thanks! Confirmed that those all depend on ModuleManager. DockingCamKURS is for KSP 1.3.1, the rest are for 1.4 or later.

HebaruSan commented 5 years ago

OK, I've set this up for testing and reproduced it. The good news is that I think I found a workaround; it seems the command line interface is immune to this problem, so you can run:

ckan install modulemanager

... and it should work, or at least it did for me. And that should help us figure out what's wrong in GUI.

In case you're not familiar with command line stuff, here's the general idea for Windows:

  1. Start -> Run
  2. Cmd
  3. cd to wherever your ckan.exe file is
  4. ckan install modulemanager
MikeLyno commented 5 years ago

Ok I will give it a try. I'm a command line idiot. I don't even know how to change directory in cmd. My ckan.exe is in E:\Steam\SteamApps\common\Kerbal Space Program\CKAN

HebaruSan commented 5 years ago

Yeah, Windows makes that a bit of a pain. Try:

E:
cd "\Steam\SteamApps\common\Kerbal Space Program\CKAN"
MikeLyno commented 5 years ago

Here is where I'm stuck module manager cmd

HebaruSan commented 5 years ago

Try what I said in my previous comment. With the quotes and everything.

DasSkelett commented 5 years ago

Go the easy way: Navigate to your CKAN folder in the Explorer, click in the address/path bar on the top so that the text is selected and type 'cmd' and press enter. Opens a command prompt right in the folder where you currently are.

MikeLyno commented 5 years ago

module manager cmd 2

HebaruSan commented 5 years ago

Sorry, my previous comment was wrong so I deleted it. Do you select your game instance every time you run CKAN?

HebaruSan commented 5 years ago

Try this:

ckan install modulemanager --kspdir ..

MikeLyno commented 5 years ago

Woah, that friggin worked dude! Module Manager is now installed through ckan without having to uninstall those other mods. Thank you so much for working with my dumb ass.