Crates.io | kspconfigtool |
lib.rs | kspconfigtool |
version | 0.1.0 |
source | src |
created_at | 2023-04-04 02:26:39.995958 |
updated_at | 2023-04-04 02:26:39.995958 |
description | KSP1 ConfigNode parser and block removal tool |
homepage | https://github.com/lamont-granquist/kspconfigtool |
repository | https://github.com/lamont-granquist/kspconfigtool |
max_upload_size | |
id | 829721 |
size | 27,844 |
This is a rust "script" for removing parts/modules/resources from KSP1 craft files.
Its primary purpose is to clean up invalid stuff from 'stock' crafts for use in RSS/RO/RP-1.
For example:
kspconfigtool remove module TweakScale Ships/VAB/*.craft
kspconfigtool remove remove module ModuleColliderHelper Ships/VAB/*.craft
kspconfigtool remove resource LiquidFuel Ships/VAB/*.craft
kspconfigtool remove resource Oxidizer Ships/VAB/*.craft
kspconfigtool remove part sensorAccelerometer Ships/VAB/*.craft
It can also be used to read and write a craft file and 'clean' it up:
kspconfigtool clean Ships/VAB/*.craft
.orig1
, .orig2
, etc.