Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide pruner batch file for all affected mods #18

Open
Gordon-Dry opened this issue May 29, 2019 · 4 comments
Open

Provide pruner batch file for all affected mods #18

Gordon-Dry opened this issue May 29, 2019 · 4 comments

Comments

@Gordon-Dry
Copy link
Contributor

An OS dependent batch file for each supported OS and also a Janitor's Closet import file would be handy.

Those should prune (rename) every affected texture and model files which belong to the PART configs which are removed by ROEngines.

So the no more used textures and models are not loaded by KSP and waste RAM.

--

There is a slight chance that I will provide it, but don't rely on it.

@Gordon-Dry
Copy link
Contributor Author

So ... for now there is:
https://www.dropbox.com/sh/sgom7nwwr0z2xnk/AADs39fXB21vx87UR66A0AbLa?dl=1

Two files inside, to be placed in the KSP root folder.

@Gordon-Dry
Copy link
Contributor Author

I also created a .prnlst file for Janitor's Closet but have to test it first.
I'm not sure about the path, if it has to be complete and absolute then I cannot provide that file.

@Gordon-Dry
Copy link
Contributor Author

Well, no, I don't provide a .prnlst file for Janitor's Closet.
Because the .prnlst does not contain path infos, but part names.
And why launch KSP, import a .prnlst, apply it, permaprune it and then restart KSP?

So my solution is:

I added a .prnl file for good 'ol Autopruner; the latest build is here: https://github.com/Kerbas-ad-astra/AutoPruner

Autopuner\PRNLs\ROEngines.prnl and the according batch files Autopruner\prune_ROEngines.cmd and Autopruner\unprune_ROEngines.cmd

Finally I also updated the ROEngines_Autopruner.cmd and ROEngines_Unpruner.cmd to have the files renamed into *.pruned instead of *.prune - to make it compatible to Autopruner.

So now you can prune with the one and unprune with the other and vice versa.

Download updated, here is the link again:
https://www.dropbox.com/sh/sgom7nwwr0z2xnk/AADs39fXB21vx87UR66A0AbLa?dl=1

@Capkirk123
Copy link
Member

This seems rather aggressive, and many mods such as BDB share textures such that pruning them may break other parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants