imdying Posted January 26, 2012 Share Posted January 26, 2012 Kerbal Grass and Grain are happy to introduce the first small step in their journey to help Kerbal kind.The KSP Factory is a simple part.cfg editor.You can download the latest version here: http://www./?1l3er3gni8q62lbIt requires .NET to run, I expect most if not all of you will have that.Proposed features include:- Rename multiple parts Manufacturer and Author field at once- Target a number of part folders at once- Backup the part.cfg to allow restore to stock added- KSP Loader function (select the parts you want to use, load the game... to reduce load time and number of parts in VAB)- .craft validator (ensure you have all the parts required to use a .craft file before loading the game)- Craft pack file (.zip) creator (ensure all the parts required to use a .craft file and included in your release .zip file- Creator mode type (unlimited: no limits on values, strict: limit values to what KSP can actually use, balanced: limit values to keep parts in balance)- Interaction with the KSP Repository type websites to allow downloading of new parts directly into your library- Visual display of nodes vs collision mesh/object mesh to make tuning those connection points faster and easierKeen to hear what people think the right limits are for each value. HarvesteR, an official list would be great. Link to comment Share on other sites More sharing options...
OtherDalfite Posted January 27, 2012 Share Posted January 27, 2012 This should shake things up a bit in the modeling industry. ;D Thanks for making this! Link to comment Share on other sites More sharing options...
technoguy33 Posted January 27, 2012 Share Posted January 27, 2012 Wow, I can\'t wait to start making disgustingly amorphous parts! 8) Link to comment Share on other sites More sharing options...
imdying Posted January 27, 2012 Author Share Posted January 27, 2012 I can assume that two people have tried it without it falling into a screaming heap then ;DIt\'s light on error trapping, message boxes, and generally any sort of friendliness, but it\'s also pretty straight forward. Bit of luck once people get epic cheater rocket making out of their system, it should help them fine tune their parts, and also remind them of all the applicable properties for the module. Beats being careful with text files at least 8) Link to comment Share on other sites More sharing options...
imdying Posted January 27, 2012 Author Share Posted January 27, 2012 Bit of luck I\'ll get some time on it tonight, so I\'ll add a popup that displays the config that would be written. Hell you could even copy n paste from that in the meantime. When I do, please sing out if you see anything that isn\'t kosher, or that you believe would break your part. Link to comment Share on other sites More sharing options...
venku122 Posted January 27, 2012 Share Posted January 27, 2012 Bravo! I don\'t think cfg editing is that hard but others cringe at the site of notepad. Your efforts to improve their lives are admirable! Link to comment Share on other sites More sharing options...
Douglasdtlltd Posted January 27, 2012 Share Posted January 27, 2012 I\'ll DL it tomorrow. This should be interesting. Link to comment Share on other sites More sharing options...
MC3craze Posted January 27, 2012 Share Posted January 27, 2012 cfgs are easy to edit, you just need to know the syntax. Link to comment Share on other sites More sharing options...
Moach Posted January 27, 2012 Share Posted January 27, 2012 easy to edit and understand, indeed - they are....but then - not very easy to make sure everything is set in a way that doesn\'t mess up the balance of the game and/or get your attach points aligned rightthis device can really go a long way for the parts standardization effort :thumbup:thanks for making it! :cheers: Link to comment Share on other sites More sharing options...
Katalliaan Posted January 27, 2012 Share Posted January 27, 2012 Wish I had this earlier, when I was trying to fix up an old part. Guessing at the coordinates you need for attach points isn\'t fun, especially when you have to open the .cfg file, change a value, save file, open KSP to check it, find it was wrong, close KSP, and repeat until right. Link to comment Share on other sites More sharing options...
GoDamitt Posted January 27, 2012 Share Posted January 27, 2012 .cfg files aren\'t hard at all, but what this tool will allow is to make the job a whole lot easier.For a start, being able to open, backup, edit, save any .cfg from one window (interface) is a bonus.Select the manufacturer, author etc from a drop down menu if it\'s in the list. You\'d be surprised how many minor errors there are in the consistency of some .cfg files out there.Eventually a parts loader where you can slide you connecting node into place in a real time visual display interface. It\'ll turn node setups into a 1 minute job. Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 Eventually a parts loader where you can slide you connecting node into place in a real time visual display interface. It\'ll turn node setups into a 1 minute jobGoDamitt has more faith in my abilities than I do! Although I have to admit that would be neat.Nobody needs a config editor, but from what I\'ve seen after looking through hundreds of config files, almost everybody could use a little angel on their shoulder ensuring they\'ve used the same spelling of author/manufacturer etc at the very least. I\'ve also seen things like vectors with missing commas, misspelt properties, and properties applied to modules which don\'t support them. If you guys can help me figure out what\'s legit and what isn\'t, I\'ll give you a way to easily make sure your files always are.Here\'s an updated version. It\'ll save a file. I\'ve looked at the output for a few modules and it seems ok. Backup your files first, or duplicate the folder. The first time you save a part it creates a part.bak file to which you can always revert... but be smart, don\'t rely on that.http://www./?c7ctnymupet27p4I\'ve only got less than a week of spare time in it so expect some personality 8) Link to comment Share on other sites More sharing options...
jgjiscool Posted January 28, 2012 Share Posted January 28, 2012 Great work! I\'ve just decomissioned my project so that you can have total supremacy! Link to comment Share on other sites More sharing options...
Tiberion Posted January 28, 2012 Share Posted January 28, 2012 I am sure you know of it, but if not: http://kerbalspaceprogram.com/~kerbalsp/wiki/index.php?title=CFG_File_DocumentationIts not 100% up to date, but we can probably fill in what isn\'t. Link to comment Share on other sites More sharing options...
jgjiscool Posted January 28, 2012 Share Posted January 28, 2012 Yeah the ASAS is missing. And RCS. And RCS fuel. Who wants to go first? Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 I am sure you know of it, but if not: http://kerbalspaceprogram.com/~kerbalsp/wiki/index.php?title=CFG_File_DocumentationIts not 100% up to date, but we can probably fill in what isn\'t.Yeah, I\'d have been knackered without it. I think it\'s out of date now; it looks like a dev would have to go through it. Next port of call for me has been to search for HarversteR\'s posts with the name of the attribute. After that, guess ;D Link to comment Share on other sites More sharing options...
Klime22 Posted January 28, 2012 Share Posted January 28, 2012 Great program. ;DJust something I\'ve noticed though - not sure if it\'s human/my laptop\'s error or the program\'s, but sometimes it takes a few tries to get it to start right. What I mean is, sometimes when it starts and I load the part list, I can choose parts on the left, but clicking on them produces nothing to the right; just grayed-out entry lines.I\'m running Windows 7 64-bit so that may have something to do with it. I tried running it in Windows XP (SP3) mode, and it seems to start correctly more often, but it will still have issues sometimes.Just letting you know in-case it is a bug. Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 Yeah the ASAS is missing. And RCS. And RCS fuel. Who wants to go first?ASAS is there, load a parts folder and select an AdvSASModule part. When that is displayed you\'ll get these properties on the Module tab: fuelCrossFeed, maxTorque, Kp, Ki, Kd, iconCenterRCSModule gives you: fuellCrossFeed, fuelConsumption and 6 thrust vectorsRCSFuelTank gives you: fuellCrossFeed, fuel, fullExplosionPotential, emptyExplosionPotential, dryMassThere\'s a bug in as much as changing the module doesn\'t update the Module tab with the specifics for that module, I\'ll fix that. Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 Great program. ;DJust something I\'ve noticed though - not sure if it\'s human/my laptop\'s error or the program\'s, but sometimes it takes a few tries to get it to start right. What I mean is, sometimes when it starts and I load the part list, I can choose parts on the left, but clicking on them produces nothing to the right; just grayed-out entry lines.I\'m running Windows 7 64-bit so that may have something to do with it. I tried running it in Windows XP (SP3) mode, and it seems to start correctly more often, but it will still have issues sometimes.Just letting you know in-case it is a bug. Not sure, but if you can reproduce it I can probably fix it. You\'ll need to run it in administrator mode on a 7 machine. I\'m developing it on an XP machine at the moment, so I don\'t have an easy way to test a change to that.Here\'s a fix for the changing module type bug: http://www./?4em0tboj0835gt9It also adds a text box for cutting the part list down to just items with titles containing the search text. Link to comment Share on other sites More sharing options...
Klime22 Posted January 28, 2012 Share Posted January 28, 2012 Not sure, but if you can reproduce it I can probably fix it. You\'ll need to run it in administrator mode on a 7 machine. I\'m developing it on an XP machine at the moment, so I don\'t have an easy way to test a change to that.Here\'s a fix for the changing module type bug: http://www./?4em0tboj0835gt9It also adds a text box for cutting the part list down to just items with titles containing the search text.Thanks for the quick reply. Running it in Admin mode in addition to XP compatibility seems to help. I\'ve found something else now though haha. When the program saves a modified part (at least the 2 I fooled around with), it saves the 'attachRules =' in a comma-space format (ex. attachRules = 1, 1, 1, 1, 0) while normal parts files are saved with no spaces (attachRules = 1,1,1,1,0). The spaces have the interesting effect of not allowing me to attach anything to my modified parts unless it\'s on top of it.Obviously, the simple fix is to remove the spaces and the attachments work correctly again.Keep up the good work with the program. 8) Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 Ok, I\'ll fix that. Might be worth raising a bug report on KSP, the presence of spaces shouldn\'t make a difference . Link to comment Share on other sites More sharing options...
imdying Posted January 28, 2012 Author Share Posted January 28, 2012 Rev 5, removes attach spaces on saving: http://www./?1l3er3gni8q62lb Link to comment Share on other sites More sharing options...
Gojira Posted January 28, 2012 Share Posted January 28, 2012 add a version for mac, please. Link to comment Share on other sites More sharing options...
imdying Posted January 29, 2012 Author Share Posted January 29, 2012 Work in progress:- Double check node size is working- Recheck what\'s allowable for FX syntax, maybe enable some more options- Rename multiple parts Manufacturer and Author field at once- Target a number of part folders at once (list is now a tree view)- KSP Loader function (select the parts you want to use, load the game... to reduce load time and number of parts in VAB)It\'ll be a couple of days, but should be an improvement. Link to comment Share on other sites More sharing options...
imdying Posted January 29, 2012 Author Share Posted January 29, 2012 add a version for mac, please.It\'s a .NET program, perhaps you can use Mono to run it? I\'m not sure if that\'ll work or if it\'ll still work when I add 3D stuff (although I expect the XNA libraries have already been ported. I won\'t be releasing directly on any platforms I can\'t support though, and that includes Mac, but if you try it and have trouble I\'ll at least see if there\'s something I can do to help you. Link to comment Share on other sites More sharing options...
Recommended Posts