Git Product home page Git Product logo

Comments (14)

HebaruSan avatar HebaruSan commented on July 17, 2024

Try ckan install -c modpack.ckan from the command line.

Edit: -c, not -f.

from ckan.

wright avatar wright commented on July 17, 2024

I tried both -c and -f, and both just showed the usage options as if they were not recognized. This is how I am running it:

./CKAN.app/Contents/MacOS/CKAN instance default lifeboat
Successfully set "lifeboat" as the default game instance

./CKAN.app/Contents/MacOS/CKAN -c lifeboat-modpack.ckan
CKAN-CmdLine 1.31.2
Copyright © 2014–2022
Usage: ckan <command> [options] 
... [text deleted]

Setting the instance from the command like this way looks like it worked.

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

@wright You missed the install part of the command

from ckan.

wright avatar wright commented on July 17, 2024

Thanks! There is some progress. It runs if I give it an absolute path to the .ckan file. But, it complains about unsatisfied dependencies and the two suggested workarounds don't seem to do anything:

./CKAN.app/Contents/MacOS/CKAN install --allow-incompatible -c /Applications/addons/games/KSP_osx_1.12.5_lifeboat/lifeboat-modpack.ckan
lifeboat-modpack dependency on AT-Utils version (any) not satisfied
If you're lucky, you can do a `ckan update` and try again.
Try `ckan install --no-recommends` to skip installation of recommended modules.
Or `ckan install --allow-incompatible` to ignore module compatibility.

CKAN update` says that everything is up to date.

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

Try updating your compatibility to match what the modpack file says in the ksp_version_min and ksp_version_max properties.

from ckan.

wright avatar wright commented on July 17, 2024

The mod pack says:

"ksp_version_min": "1.12.5",
"ksp_version_max": "1.12.5",

I updated the compatibility in CKAN to list 1.12.5.3190 (as suggested in the drop down box, although it displays after adding it as 1.12.5.319) and 1.12.5 (manually), and got the same result.

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

That's very odd, since AT-Utils apparently only goes up to 1.10, so it wouldn't normally be installable in the original copy of hte game with those settings. Maybe the mod was installed via the checkbox in the Versions tab to override the compatibility?

from ckan.

wright avatar wright commented on July 17, 2024

I'm not sure, I did not generate the mod list. I would expect --allow-incompatible to work around that in any case.

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

--allow-incompatible only affects the mods immediately listed on the command line, not dependencies.

from ckan.

wright avatar wright commented on July 17, 2024

Is there a way to skip dependencies?

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

No. Going by AT-Utils' compatibility, you could try this instead:

ckan compat add 1.10
ckan compat add 1.11
ckan compat add 1.12

from ckan.

wright avatar wright commented on July 17, 2024

That worked to get passed the AT-Utils problem, but it failed on another dependency.

Thanks for the many suggestions, but I think that my bad example .ckan file is obscuring the actual issue: the ConsoleUI does not support importing a mod list from an exported .ckan file.

The command line process (even if it worked with a good .ckan file) is not the ideal user experience, and it is currently the only option available for MacOS KSP CKAN users. It might save a lot of exasperation if the ConsoleUI could be expanded to:

  • add an "Import mod list" menu item,
  • that prompts for a .ckan file to read,
  • then the file name is passed to the existing code that processes the list

Check Boxes could be added near the file name prompt for options such as --allow-incompatible. Error messages could be displayed in the same manner as other ConsoleUI errors.

from ckan.

HebaruSan avatar HebaruSan commented on July 17, 2024

Don't worry, nothing's being obscured; this issue is still a marker for adding that feature to ConsoleUI. I'm just trying to provide workarounds to get you going while the functionality does not exist.

from ckan.

wright avatar wright commented on July 17, 2024

I appreciate your help. I am going to give up on this particular .ckan file.

from ckan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.