Jump to content

CKAN (The Comprehensive Kerbal Archive Network); v1.28.0 - Dyson


politas

Recommended Posts

6 minutes ago, captainb said:

Is there a way to manage mods for multiple installs separately?

Yup. I don't know how it works in the GUI, but if you use the commands under "ckan ksp", you can add, remove, and select the install you want to manipulate.

$ mono ~/Downloads/ckan ksp list
Name       Version     Default  Path
---------  ----------  -------  -------------------------------------------------------------
steam      1.3.0.1804  Yes      /home/user/.steam/steam/SteamApps/common/Kerbal Space Program
1.2.2      1.2.2.1622  No       /media/DataTrove/Games/KSP-1.2.2
Dakar      1.2.2.1622  No       /media/DataTrove/Games/KSP-1.2.2_Dakar
RSS        1.2.2.1622  No       /media/DataTrove/Games/KSP-1.2.2_RSS
1.2.1      1.2.1.1604  No       /media/DataTrove/Games/KSP-1.2.1
1.2        1.2.0.1586  No       /media/DataTrove/Games/KSP-1.2
1.1.3      1.1.3.1289  No       /media/DataTrove/Games/KSP-1.1.3
1.0.5      1.0.5.1028  No       /media/DataTrove/Games/KSP-1.0.5
1.0.5-64k  1.0.5.1028  No       /home/user/.ksp-1.0.5
1.0.2      1.0.2.842   No       /home/user/.ksp-1.0.2
0.90       0.90.0.705  No       /home/user/.ksp-0.90

 

Link to comment
Share on other sites

1 minute ago, HebaruSan said:

Yup. I don't know how it works in the GUI, but if you use the commands under "ckan ksp", you can add, remove, and select the install you want to manipulate.

Good to know.  I haven't bothered with the command prompt version yet, but I bet there's a version for the GUI as well.  Does it work well?  No confusion between different installs?

Link to comment
Share on other sites

Just now, captainb said:

Good to know.  I haven't bothered with the command prompt version yet, but I bet there's a version for the GUI as well.  Does it work well?  No confusion between different installs?

It has worked well for me, yes. There's a "ckan ksp default" command that switches which install you're manipulating, and I've never had it install a mod to the wrong instance or get confused about which versions to install.

My only complaint is something recently addressed on this thread, that the CKAN/download folders are kept separate, which can cause redundant downloads and take up extra disk space if you install the same version of a mod in multiple instances. I have manually set up a shared download folder using symbolic links, and that seems to work OK so far, but I wouldn't recommend it to a beginner. It would be ideal if this folder was moved into the user's profile somewhere, but I don't know enough to comment on how difficult that would be across all the supported platforms.

Link to comment
Share on other sites

7 hours ago, HebaruSan said:

It has worked well for me, yes. There's a "ckan ksp default" command that switches which install you're manipulating, and I've never had it install a mod to the wrong instance or get confused about which versions to install.

My only complaint is something recently addressed on this thread, that the CKAN/download folders are kept separate, which can cause redundant downloads and take up extra disk space if you install the same version of a mod in multiple instances. I have manually set up a shared download folder using symbolic links, and that seems to work OK so far, but I wouldn't recommend it to a beginner. It would be ideal if this folder was moved into the user's profile somewhere, but I don't know enough to comment on how difficult that would be across all the supported platforms.

In the GUI, it's File - Select KSP Install, which brings up a dialog box that lets you add, remove and choose KSP instances, including setting a default instance to open on launch. On the command line, you can perform operations on the non-default instance by using the `--ksp` option (as opposed to the `ksp` subcommand), for example:

ckan.exe install <modname> --ksp <name>

The question of being able to set a download location is one that I'm working on currently (my first attempt was a complete disaster, so it may be a while) Hopefully, that'll be in the next release! Symbolic links are a functional workaround on all platforms, to my understanding.

12 hours ago, eragon333 said:

Is it possible to make in local files in CKAN folder, history of all Status Logs? It would help to detect mods that're causing game crash or when we want to find mods we uninstalled.

You mean the KSP log files? I suppose we could make an attempt to archive the current log when you launch KSP from within the CKAN GUI client. If you think that would be useful, please raise a feature request on GitHub

Link to comment
Share on other sites

hi,

here is a really small bug report:

the link to the forum page in the Help/about/Forum Thread seems broken to me:

and thank you for you efforts on this project :)

Link to comment
Share on other sites

https://spacedock.info/mod/899/MaErDa Corp Beta Testers Pack

Look like i still CKAN Enabled ? Or it's only on Spacedock's side ?

I wrote my MaErDa.netkan

Spoiler

{
    "spec_version" : 1,
    "identifier"   : "<MaErDa>",
    "$kref"        : "#/ckan/spacedock/<899>",
    "license"      : "<"CC-BY-NC-ND-4.0">"
}

All look okay ?

Edited by Warsoul
Link to comment
Share on other sites

I have two active installs of KSP, a 1.2.2 and a 1.3, both of which I manage with the same installation of CKAN 1.22.3.

CKAN wont show me several mods in the 1.3 instance. For example, with the filter set to all, and filter by mod name containing mks my a.2.2 version includes RoverDude's MKS colonization. With the same filters the 1.3 version doesn't show it. It does appear in the database .json file, just not in the gui.

Link to comment
Share on other sites

5 hours ago, tomf said:

CKAN wont show me several mods in the 1.3 instance. For example, with the filter set to all, and filter by mod name containing mks my a.2.2 version includes RoverDude's MKS colonization. With the same filters the 1.3 version doesn't show it. It does appear in the database .json file, just not in the gui.

Afaik that's due to a bug in ckan where it won't show mods that have outdated dependencies (MKS is updated to 1.3 but Ground Construction, while there is an update that is bundled with MKS, had not been officially updated)

Link to comment
Share on other sites

Keep getting this opon launch.

Exeption of type CKAN.ModuleNotFoundKrakenwas thrown.

When I click details i recieve a wall of text that I dont understand.

when I click continue It goes to the normal Ckan, but says that I have 128 mods installed, and that exact 128 compatible.When I click on any mod, it shows me the same pop up as at the start! HEEELP!!!!

 

 

 

Link to comment
Share on other sites

On 2017-6-3 at 6:31 AM, Skalou said:

hi,

here is a really small bug report:

the link to the forum page in the Help/about/Forum Thread seems broken to me:

Thanks for your help, however I tried the link you pointed and it is not working. 

Nonetheless there is an option on menu: HELP>REPORT AN ISSUE that is working. 

 

Link to comment
Share on other sites

Hello i have this bugmessage:

Failed to connect to repository. Exception: Trying to write E:/Steamssdgames/steamapps/common/Kerbal Space Program/GameData/InterstellarFuelSwitch/Resources/ModuleFuelJettison.cfg but it already exists. Have test delet (copy to a other dir ) this but not help. Have you a tip to correct this or is it a bug from interstellar ?

Edited by Prismatech
Link to comment
Share on other sites

Hello, I want to develop a CKAN plugin, I haven't followed the work on CKAN's plugin or API, I only read the wiki and some plugin code example.

One of my mod can deleted or pruned all the MiniAVC plugins at KSP's start. When I want to update one of the mods which uses MiniAVC, CKAN is blocked by an error "MiniAVC not found". The easy idea I have, is to un-prune/un-delete MiniAVC before a mod update/deletion. And if possible delete MiniAVC directly after a mod install.

I found that CKAN.Main.modChangedCallback can be used for the after mod install/update/deletion. I wanted to know if there had an event on CKAN which are triggered before a mod install/update/deletion? Thanks :wink:

Edited by Malah
Link to comment
Share on other sites

I'm having a problem with CKAN. It keeps telling me "cannot install HangarExtender, module not available."  Problem is I don't have HangarExtender installed.  If I can get help, here is the installed mods CKANhttps://mega.nz/#!nJt12IoZ!2Bjep0mXs0FFEsy9pn2Dcn6IBf_087IPLJvcuz-mPC0.  Crash log:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
CKAN.ModuleNotFoundKraken: Cannot install HangarExtender, module not available
   at CKAN.CkanModule.FromIDandVersion(IRegistryQuerier registry, String mod, KspVersionCriteria ksp_version)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at CKAN.RelationshipResolver..ctor(IEnumerable`1 module_names, RelationshipResolverOptions options, IRegistryQuerier registry, KspVersionCriteria kspversion)
   at CKAN.MainModList.ComputeConflictsFromModList(IRegistryQuerier registry, IEnumerable`1 change_set, KspVersionCriteria ksp_version)
   at CKAN.Main.<UpdateChangeSetAndConflicts>d__77.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at CKAN.Main.<ModList_CellValueChanged>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ckan
    Assembly Version: 1.22.0.0
    Win32 Version: 1.22.3
    CodeBase: file:///C:/Users/dan/Downloads/ckan%20(2).exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2093.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2094.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

Link to comment
Share on other sites

48 minutes ago, Benjamin Kerman said:

Is it possible to track the number of downloads of a mod by CKAN?

If you run the host server, you could try checking your logs for CKAN's user agent string:

public static string UserAgentString = "Mozilla/4.0 (compatible; CKAN)";

https://github.com/KSP-CKAN/CKAN/blob/master/Core/Net/Net.cs#L20

Otherwise, probably not.

Link to comment
Share on other sites

23 hours ago, HebaruSan said:

Otherwise, probably not.

You could also do the setup so that CKAN is pointing at a different address to get the same file, that would let you simply count the downloads for "...downloads/CKAN/mod_version.zip", (which is a symlink to "...downloads/mod_version.zip").

Link to comment
Share on other sites

Can someone take a look at Github?  It's failing on builds with the following error:

Running basic sanity tests on metadata.
If these fail, then fix whatever is causing them first.
t/inflate.t ... skipped: Not a travis pull request

#   Failed test 'Snacks - spec_version v1.4+ required for install with 'find''
#   at t/metadata.t line 139.

 

There was a problem on the snacks netkan, I fixed that last night, but it is still happening,  So either it's somewhere else, or a file is cached somewhere.

This error seems to be happening on any new attempted merge, although I'm trying to rebuild GravityTurn

Edited by linuxgurugamer
Link to comment
Share on other sites

Is there a way to list the installation dates of mods?

My brother installed a few mods in this late weekend and now KSP is crashing all the time. 

I am using Win7 64+8gb and running KSP64.

Bellow is the error.log but I deleted the stack info to make it short, if you need it I can repost the full data.

Thanks

------------------------------------

 

Unity Player [version: Unity 5.4.0p4_b15b5ae035b7]

KSP_x64.exe caused an Access Violation (0xc0000005)
  in module KSP_x64.exe at 0033:3fb050a8.

Error occurred at 2017-06-09_144938.
C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64.exe, run by Felipe.
58% memory in use.
8191 MB physical memory [3380 MB free].
16380 MB paging file [10655 MB free].
8388608 MB user address space [8384385 MB free].
Read from location 367cff78 caused an access violation.

Context:
RDI:    0x00000000  RSI: 0x00000498  RAX:   0x0014ea88
RBX:    0xdae0d240  RCX: 0x367cfec8  RDX:   0x0410f4e0
RIP:    0x3fb050a8  RBP: 0x0014eb90  SegCs: 0x00000033
EFlags: 0x00010202  RSP: 0x0014e9c0  SegSs: 0x0000002b
R8:    0x0014ef90  R9: 0x00000007  R10:   0x40a22930
R11:    0x409ca8c8  R12: 0x0410f4e0  R13:   0x0470f660
R14:    0x0014ef90  R15: 0x367cfec8

Bytes at CS:EIP:
41 8b 97 b0 00 00 00 e8 9c 7b fa ff 48 8b 43 10 

 

Module 1
C:\Windows\system32\xinput1_3.dll
Image Base: 0x00400000  Image Size: 0x0001e000
File Size:  107368      File Time:  2007-04-04_185422
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® DirectX for Windows®
   FileDesc:   Microsoft Common Controller API
   FileVer:    9.18.944.0
   ProdVer:    9.18.944.0

Module 2
C:\Windows\system32\detoured.dll
Image Base: 0x0f000000  Image Size: 0x00006000
File Size:  20360       File Time:  2017-03-16_191612
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft Research Detours Package
   FileDesc:   Marks process modified by Detours technology.
   FileVer:    21.19.525.258
   ProdVer:    2.1.0.207

Module 3
C:\Program Files (x86)\Steam\tier0_s64.dll
Image Base: 0x672a0000  Image Size: 0x0036d000
File Size:  338208      File Time:  2017-06-08_024244
Version:
   Company:    Valve Corporation
   Product:     tier0_s Dynamic Link Library
   FileDesc:   tier0_s Dynamic Link Library
   FileVer:    4.0.6.0
   ProdVer:    1.0.0.1

Module 4
C:\Program Files (x86)\Steam\steamclient64.dll
Image Base: 0x67610000  Image Size: 0x00d63000
File Size:  13808192    File Time:  2017-06-08_024242
Version:
   Company:    Valve Corporation
   Product:    Steam
   FileDesc:   Steamclient.dll
   FileVer:    4.0.6.0
   ProdVer:    3.0.0.1

Module 5
C:\Windows\system32\atiumd6a.dll
Image Base: 0x68380000  Image Size: 0x00bfb000
File Size:  12375088    File Time:  2017-03-16_191304
Version:
   Company:    Advanced Micro Devices, Inc. 
   Product:    Advanced Micro Devices, Inc. Radeon Video Acceleration Universal Driver
   FileDesc:   Radeon Video Acceleration Universal Driver
   FileVer:    21.19.525.258
   ProdVer:    8.14.10.577

Module 6
C:\Program Files (x86)\Steam\vstdlib_s64.dll
Image Base: 0x69800000  Image Size: 0x0006b000
File Size:  347424      File Time:  2017-06-08_024244
Version:
   Company:    Valve Corporation
   Product:    Steam
   FileDesc:   vstdlib_ s.dll
   FileVer:    4.0.6.0
   ProdVer:    3.0.0.1

Module 7
C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\steam_api64.dll
Image Base: 0x69c10000  Image Size: 0x0003e000
File Size:  235600      File Time:  2017-05-15_150212
Version:
   Company:    Valve Corporation
   Product:    Steam Client API
   FileDesc:   Steam Client API
   FileVer:    3.42.61.66
   ProdVer:    1.0.0.1

Module 8
C:\Windows\system32\ksuser.dll
Image Base: 0x73810000  Image Size: 0x00006000
File Size:  5120        File Time:  2015-12-08_160732
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® Windows® Operating System
   FileDesc:   User CSA Library
   FileVer:    6.1.7601.19091
   ProdVer:    6.1.7601.19091

Module 9
C:\Windows\system32\USER32.dll
Image Base: 0x77710000  Image Size: 0x000fa000
File Size:  1009152     File Time:  2016-11-10_133242
Version:
   Company:    Microsoft Corporation
   Product:    Sistema operacional Microsoft® Windows®
   FileDesc:   DLL de cliente API de usuário Windows para multiusuários
   FileVer:    6.1.7601.23594
   ProdVer:    6.1.7601.23594

Module 10
C:\Windows\system32\kernel32.dll
Image Base: 0x77810000  Image Size: 0x0011f000
File Size:  1163264     File Time:  2017-04-27_221004
Version:
   Company:    Microsoft Corporation
   Product:    Sistema Operacional Microsoft® Windows®
   FileDesc:   DLL cliente da API BASE do Windows NT
   FileVer:    6.1.7601.23796
   ProdVer:    6.1.7601.23796

Module 11
C:\Windows\SYSTEM32\ntdll.dll
Image Base: 0x77930000  Image Size: 0x001aa000
File Size:  1732864     File Time:  2017-04-27_221150
Version:
   Company:    Microsoft Corporation
   Product:    Sistema Operacional Microsoft® Windows®
   FileDesc:   DLL de nível do NT
   FileVer:    6.1.7601.23796
   ProdVer:    6.1.7601.23796

Module 12
C:\Windows\system32\PSAPI.DLL
Image Base: 0x77af0000  Image Size: 0x00007000
File Size:  9216        File Time:  2009-07-13_224154
Version:
   Company:    Microsoft Corporation
   Product:    Microsoft® Windows® Operating System
   FileDesc:   Process Status Helper
   FileVer:    6.1.7600.16385
   ProdVer:    6.1.7600.16385


== [end of error.log] ==
 

Link to comment
Share on other sites

2 minutes ago, felcas said:

Is there a way to list the installation dates of mods?

My brother installed a few mods in this late weekend and now KSP is crashing all the time. I am using Win7 64+8gb and running KSP64.

If you actually mean installed instead of updated--simply check the date on the directory that holds the mod.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...