Jump to content

Question to the creator or new person keeping CKAN working.


Recommended Posts

Contributors

HebaruSan and JackOfHertz

Or the original creator of CKAN.

There's a lot of other games that don't have a good mod mgr like CKAN.
Other mod mgrs are required and CKAN just assists mods.

Is it possible to make this compatible with other games.
Link to comment
Share on other sites

Posted (edited)

Yes. For example, it already supports both KSP1 and KSP2, and in the past I've looked at adding support for Juno New Origins, KitHack Model Club, and Factorio.

(JackOfHertz seems to be a random GitHub user who made a fork of the CKAN repo. I don't think they've actually contributed.)

Edited by HebaruSan
Link to comment
Share on other sites

1 hour ago, HebaruSan said:

Yes. For example, it already supports both KSP1 and KSP2, and in the past I've looked at adding support for Juno New Origins, KitHack Model Club, and Factorio.

(JackOfHertz seems to be a random GitHub user who made a fork of the CKAN repo. I don't think they've actually contributed.)

How would 1 go about doing that? I've tried to code but I'm stuck in tutorial mode.
I learn better hands on.

I would appreciate anyone who is able to do it. I'll help but it will be a learning experience for me.
Understanding how code works and actually making it all work together are a different story.

Link to comment
Share on other sites

1 hour ago, LTL King said:

How would 1 go about doing that? I've tried to code but I'm stuck in tutorial mode.
I learn better hands on.

I would appreciate anyone who is able to do it. I'll help but it will be a learning experience for me.
Understanding how code works and actually making it all work together are a different story.

Well, here are the changes that added KSP2 last year; the code changes are in the "Files changed" tab if you want to take a look:

There's a lot there, but the core of it is to create a new class that implements the CKAN.Games.IGame interface to define how to handle the new game, then add an object of that type to CKAN.GameInstanceManager.knownGames. Beyond that, we'd also need to create two new metadata repositories per game (one for the .netkan files and one for the .ckan files), and a few other points of bookkeeping in the infrastructure.

Link to comment
Share on other sites

Posted (edited)
48 minutes ago, HebaruSan said:

Well, here are the changes that added KSP2 last year; the code changes are in the "Files changed" tab if you want to take a look:

There's a lot there, but the core of it is to create a new class that implements the CKAN.Games.IGame interface to define how to handle the new game, then add an object of that type to CKAN.GameInstanceManager.knownGames. Beyond that, we'd also need to create two new metadata repositories per game (one for the .netkan files and one for the .ckan files), and a few other points of bookkeeping in the infrastructure.

I don't know what I'm looking for in all of that. Everything those pages shows has something to do with different game saves of KSP.
I don't know how to write out an entire page of code.
I only understand how it works and types of commands.

Getting them to do something is completely different.

Edited by LTL King
Link to comment
Share on other sites

37 minutes ago, LTL King said:

I don't know what I'm looking for in all of that. Everything those pages shows has something to do with different game saves of KSP.
I don't know how to write out an entire page of code.
I only understand how it works and types of commands.

Getting them to do something is completely different.

Well, I'm not sure what kind of response you were hoping for; that's how it works, and my computer does not have a "make programming easier" button that I could press for you.

Though having said that, maybe an AI assistant could help to explain the code to you?

Link to comment
Share on other sites

  • 2 weeks later...
On 6/4/2024 at 5:40 PM, HebaruSan said:

Well, I'm not sure what kind of response you were hoping for; that's how it works, and my computer does not have a "make programming easier" button that I could press for you.

Though having said that, maybe an AI assistant could help to explain the code to you?

How would someone go about making it work for other games?
Those link go to updates. Not to instructions on what files to look at.
There's to many files to go through to even start trying to figure it out or something I could give to someone who knows more about coding and have them work on it.
Would need something to show them to just use this.

Link to comment
Share on other sites

Posted (edited)
On 6/4/2024 at 5:40 PM, HebaruSan said:

Well, I'm not sure what kind of response you were hoping for; that's how it works, and my computer does not have a "make programming easier" button that I could press for you.

Though having said that, maybe an AI assistant could help to explain the code to you?

After awhile I found a folder.
CKAN-1.34.4\Core\Games
Creating a new file is the base of it and netkan does the heavy lifting. 
Is there much more than creating a new file.

I found a thread on github about an igame interface.
Is that what's needed?
Where would I get the interface? Is it an application or the file where you put all your information in?
 

Edited by LTL King
Link to comment
Share on other sites

11 hours ago, LTL King said:

I found a thread on github about an igame interface.
Is that what's needed?
Where would I get the interface? Is it an application or the file where you put all your information in?

The IGame interface is in the IGame.cs file in that folder you found.

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...