Jump to content

Are there any resources available for utility creation? (c#)


fronbow

Recommended Posts

Hi All

So I decided to add C# to my list of languages by teaching it to myself last weekend (I come from a php, python, pascal, c/c++ background, basic).

To this end I'm writing an application to make tree.cfg editing easier (I hope?!!!).

Are there any libraries or game dlls I can import to make life easier and more future-proof if Squad change anything in-game dramatically?

My application synopsis:

Given a KSP directory it reads the GameData directory for all the part.cfg files and will then parse the necessary data for use in Tech Trees.

It will also allow you to create or open a tree.cfg file from a save directory.

I'm leaving the idea of visualisation ala KSP TreeCreator till later, much later probably!

So,

  • are there any existing resources that will help parsing the part.cfg and tree.cfg files or do I continue to roll my own?
  • is there a way of utilising the game's tree icons?
  • is there a specification anywhere of the rules on tree.cfg creation/saving?

Fingers crossed somebody can help or give me some stuff to think about!

Cheers

Edited by fronbow
formatting
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...