Jump to content

[Auto-pruner/RP 0/others] Make a "non RP 0" list from my database


AlKiir

Recommended Posts

Hello,

I've just installed Ubuntu just to play KSP.

I've got a heavy moded stable game (using around 8Go RAM!) using RSS/RO/RP0 and all of their dependencies, recomendations and suggestions that CKAN propose.

I want to remove all the "NON RP-0" parts, it would take ages to do manualy.

I'd like to know if there is a tool (mod/pluggin?) to make a spreadsheet with all the parts I have installed, with their ingame name and install folder so I could make a Autopruner list quite easilly.

Thanks!

Link to comment
Share on other sites

Some parts--particularly Ven's redone stock parts and FASA parts, and Porkjet's new parts in .25 and .90--share textures between models, so you can't just delete 'one folder per part'. That's not always true--many parts do hold to the old 'one folder per part' paradigm--but it's true enough to make this complicated.

Since you're on Linux and RAM isn't an issue, have you considered just hiding non-RP0 parts rather than removing their assets? That can be done with a very simple ModuleManager script.

Link to comment
Share on other sites

That would do the job :)

I've got poor knowledge in programing, but I've been trying to figure it out.

I found a procedure in the "NonRP0.cfg": I've added @category = -1

I added a NON RP-0 tech node on the comunity tree cfg adding the @TechRequired = NonRP0

It look like it worked, am I missing something? Is there something wrong?

Thanks a lot for your time (and your amazing mods ;) )

Link to comment
Share on other sites

  • 1 month later...
That would do the job :)

I've got poor knowledge in programing, but I've been trying to figure it out.

I found a procedure in the "NonRP0.cfg": I've added @category = -1

I added a NON RP-0 tech node on the comunity tree cfg adding the @TechRequired = NonRP0

It look like it worked, am I missing something? Is there something wrong?

Thanks a lot for your time (and your amazing mods ;) )

As someone who doesn't know how to do the scripting, how would I go about doing this? Or is there somewhere you could direct me for general instructions?

Link to comment
Share on other sites

  • 8 months later...

Ok. Open your GameData/RP-0/NonRP0.cfg file. Find the section that is highlighted here: https://github.com/KSP-RO/RP-0/blob/master/GameData/RP-0/NonRP0.cfg#L30-L54

Now, after each @description = (whatever) line in that block, make two new lines like so:

@category = -1

@TechRequired = ORPHANS

 

so for example the first block would look like this:

@PART[*]:HAS[~RP0conf[],#RSSROConfig[true]]:FINAL

{

    @title ^=:^:non RP-0 - :

    @description ^=:$: (PART NOT SUPPORTED BY RP-0):

    @category = -1

    @TechRequired = ORPHANS

}

 

When done, save the file. That's it!

Link to comment
Share on other sites

  • 3 months later...
On 3-2-2016 at 6:53 PM, NathanKell said:

Ok. Open your GameData/RP-0/NonRP0.cfg file. Find the section that is highlighted here: https://github.com/KSP-RO/RP-0/blob/master/GameData/RP-0/NonRP0.cfg#L30-L54

Now, after each @description = (whatever) line in that block, make two new lines like so:

@category = -1

@TechRequired = ORPHANS

 

so for example the first block would look like this:

@PART[*]:HAS[~RP0conf[],#RSSROConfig[true]]:FINAL

{

    @title ^=:^:non RP-0 - :

    @description ^=:$: (PART NOT SUPPORTED BY RP-0):

    @category = -1

    @TechRequired = ORPHANS

}

 

When done, save the file. That's it!

Does this still apply?

Currently, the mentioned file already contains the lines:

@category:NEEDS[NoNonRP0] = -1
@TechRequired:NEEDS[NoNonRP0] = ORPHANS

I tried changing these to:

@category = -1

@TechRequired = ORPHANS

But no effect. Non RP-0 and nocost RP-0 parts still show up in different nodes and in my parts list in the VAB.

Is there a good solution to hide Non RP-0 and nocost RP-0 parts?

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