Atanvaryar
Members-
Posts
20 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Atanvaryar
-
Hey people, sorry for postponing the release. I had some IRL issues to be dealt with. I will be releasing a new version this Saturday, maybe earlier. It will support craft files! Cheers.
-
@grom - as of right now, craft files are linking directly to a part name. so if you change the part name ingame, but do not change the link to the part in the craft file, the craft file tries to find a non-existent part as far as the craft mechanics go. Right now I am working on some parser code to change the part links in the craft/sfs files. The craft files are staying broken only until you restore the original part names though, so it should be pretty safe to start a new game and play around, and then restore part names to enable craft files again. @amaroq - I am working on a craft/sfs file update method right now, although things aren't coming along very smoothly. But I'll figure it out. As of right now, I can add a simple hack for people to use their own sorting order as they wish. Thing is, I create the reverserename.ini file when you actually click the [sort] button to guarantee that it will have a reverse rename order if anything fails (although it seems access rights to the folder can still screw that up). I can create a rename file beforehand, when you scan for parts, but then you will have to manually plow through a file with this kind of syntaxis to sort things out: Part ingame name|Part category|Part CFG name|Part folder name|Part renamed to Advanced Canard|Aero|AdvancedCanard|advancedCanard|Aero_advancedCanard_Advanced_Canard Advanced S.A.S Module|Control|advSasModule|advSasModule|Control_advSasModule_Advanced_S.A.S_Module Standard Control Surface|Aero|StandardCtrlSrf|Ailerons|Aero_Ailerons_Standard_Control_Surface Tail Connector|Aero|airplaneTail|airplaneTail|Aero_airplaneTail_Tail_Connector XM-G50 Radial Air Intake|Aero|airScoop|airScoop|Aero_airScoop_XM-G50_Radial_Air_Intake Only thing that bugs me in this approach, is that I strive to make a more or less fully automated tool for people, who often add/remove parts to their installation, like I do. And manually plowing through the list every time is really a downside, especially if you have anything above 10 parts But I'll think it through, I might come up with an idea of how to enable the user to intervene with the name generation process maybe... All in all, thanks to all of you for the comments and reports. I'll do some more testing with your outlines situations for the next release. Edit: @Grom: I have previously tried renaming just the folder, but it was no good. Maybe it was an old version of the game or something. I have tried it now and it actually worked O_o Thanks for the tip. I think this will make things a lot more easier for me. Next release will include this, and it will definitely make thing more stable and less buggy for you people!
-
@Amaroq 1. It doesnt fix sfs files yet, nor does it fix craft files, but I am working on it. I realise, that many of you people out there might have a long persistence file behind you, so this is important. 2. I might mold this into a full fledged editor, but as for the sorting parts by diameter, I'm afraid it's not quite possible for me at this moment. Not everyone points out the diameter if the parts in the CFG, and those that do - often make it in a little bit different way than the next guy. I'm currently working on a more or less consistent accuracy of getting the real part diameter. 3. This is a standalone version for PC. I have no plans to develop for the mac at this moment, since I am not that familiar with the Mac OS scripting language, even less so with Cocoa. I might get into it when I get the PC version more stable. 4. The older parts that use the "Category=2" and others are still correctly placed in the gui, at least that is what I found out playing with the numbers. The categories go from 0 to 6 and stand for: 0 - Propulsion 1 - Control 2 - Structural 3 - Aero 4 - Utility 5 - Science 6 - Pods
-
Ok guys, I'll be waiting for the news. It's really important to me, and thanks for the feedback. I'll go double check my code for now... maybe I'll find something else that could be the cause of this >.<
-
Damn! Maybe that is the cause? I've been running it on 19.1 and I thought that was the latest game version O_o Well, yeah, the restore button is exactly for that and so far it worked flawlessly for my, except a couple of situations with special symbols in the parts name. You know, like the apostorophe (") or brackets [}. But I thought I fixed that in version 0.2 since I rewrote the way the program saves the stock folder and part names. I'm curious, could any one of you use skype screen sharing maybe? To show me what happens when you run the sorter? It will be a lot more visual for me to understand what exactly happens.
-
Wait what? 19.5? Is it out? O_o
-
@ahappydude: Well, you are welcome.. I guess... I hope the next version will be better for you. Oh, and please - this is an alpha still, so backup you game first. As for me, I have my KSP_win on my desktop and I tested it for performance with up to 500 parts ingame (when I decided to rewrite some code to test out the performance change, if any), and up to 1000 parts for just the rename / restore process. Damn, I even tried just now multiple rename - launch - restore launch sequences with 500 parts installed - everything works. YOu didnt say which version of the game you were running and on which OS? @Hocki: Could you please be a bit more specific about the part numbers? Are you saying, that after you ran a rename - restore you have more parts than you had originally? That is only possible if you have some issue with access rights to the game folder or to the part sorter. Specifically, the part of code that renames the folders is actually moving the folders to the same location but with a new name. Could you possibly test it out and narrow down the extra parts? They could be something with special symbols in the folder or part name. I can give you a version of my sorter with some extra debug calls which can help you narrow down the issue, if you are willing to lend me a hand here too
-
@ahappydude, - man, I'm really sorry it screwed up for you. I dunno what's wrong... I've tested this for a few days, constantly switching out all kinds of parts from the popular mods and never had any issue with it. What version of KSP do you use? the Steam version or the KSP Store? What version of OS do you use? A few screenshots of the game error would be cool too. Or a video if you can record it. I've only tested it on my PC, which is a Windows 7 64bit, KSP store version, extracted to my desktop. The only thing that comes to mind, is that maybe the game has somehow lost the rights to access the parts folder. Don't know how that would happen though. But check it out - right click Parts folder, go to Security tab, and go through the permissions. Give me as much information as you can and I'll do everything I can to help. I mean, seriously, 160 people downloaded it and only three complained. But none provided any specific information as to what went wrong >.< Maybe try launching the game with admin rights, just to be sure (if you are using Windows Vista, 7 or 8)
-
If anyone is using this - please leave some feedback. I am improving things on the go right now, but I need comments on what kind of problems you have with this mod (and surely you must have SOME problems... there aren't andy bug-free programs. Ever. )
-
Version updated. Edited first post to reflect changes.
-
Hey, Toastify, here is the link to the part you might be interested in. It's all commented to help you figure out what's going on. It's on pastebin. source I don't know if it will help you though, since it's written in autoit script language, not in C# (which you are more likely to be using). Let me know if you have a ny questions or if I can help you out with anything. I'm by no means a pro-programmer, but I can figure stuff out on the way pretty quickly. On a side note. I'm thinking of moving the part sorter codebase to C# myself. It should help with some issues when part names use INI-file unfriendly names, like using "[]" in them.
-
Thanks for the comment! I will definitely look into the error reactions over the weekend. This is still just the first release which I threw together in two days so... it is to be expected to have some flaws This weekend I'll try to finish the structural category, which is the most daunting task right now because of a TONN of stuff there that is very difficult to differentiate based on CFG files. Also, if all goes well, maybe I will figure out a way to sort the part diameter for those parts that have it in the description in one way or another.
-
hmmm... I updated my first post, and now its gone, what the hell? O_o Edit: k, now its back, I guess it was the premoderation thingy kicking in.
-
Of course! Otherwise it would serve only cosmetical purposes of finding the parts in the parts folder EDIT: Ok, I have found a potential issue for people that use .craft files, like complete ships or subassemblies - this mod breaks them, because the .craft files refer to old part names. I will be working on a fix this weekend. I guess I will have to parse the craft files too if I want them to work >.<
-
Aaaand good day people! I've got 52 views on this topic and still no comments. Anyone? Please. I need SOME kind of feedback for my first project ever...
-
Version updated. Now 0.2 Please download new version. Now sorts structural parts too, specifically decouplers, separators, faierings and nose cones. I've also done some optimizations. Now it should more reliably rename parts with special symbols in their names, like the [LSI]CargoBay pack. As an added bonus, I changed the way the parsing algorithm works, so now it should be a little bit faster. Testing on a 1000 parts folder I got about 10-15 seconds faster times compared to first version. Please report any bugs you find, and test the hell out of this I can't possibly test all packs. Currently my base tests run on KW Rocketry and Nova Punch, as those seem to be the largest and most popular. I've also added a video demo of how this works. And proof that it actually works Hello fellow space travellers! I have recently picked up KSP, and even though I've been only playing it for a couple of days now I just love it. I do have one problem with it though, and that is the fact that all the parts in the building menu are mixed up. Especially when you are using different part mods (think of Nova Punch or KW Rocketry). When those things add a tonn of engines and fuel tanks and other stuff the task of finding something you need can be simply daunting. Of course, in some way this can be solved by the Part Filter mod I was pointed to in the Steam forums. But then again, it only works if you know what to look for, which is not tha case for me, and maybe a lot of other new palyers. So I figured out the way the game sorts parts and then sat down and threw together a little mod, for personal use mostly, but maybe it will be usefull to anyone else. I bring you - "The Part Sorter". Rofl. I need to think of a cool name, but seriously though. It's just a small program I build using AutoIT. What it does is, it parses all the parts that you have installed in your parts folder. Saves their initial information and then renames the folders and part names in the part.cfg files. The process is fast and totally reversible. This is how it looks: When you launch the program, press [Create INI] After a very short while (well, depending on how many parts you have installed) it will create an INI file with all settings saved and new names generated for all installed parts. This can take from as little as 1-2 seconds if you have only the stock parts, to as much as 10-15 seconds when I tested it with over 500 parts inside the game folder. Now you just press the [sort] button. Here is how it looks before and after: As you can see, the parts are a lot more readable now. This also helps a lot, if you want to remove some part that you don't want, but cannot bother to search through all the folders for it if you don't know exactly where it is at. You can now just use the in-game part name to search for its folder. Now, this isn't all. The names you get after sorting aren't just for the lulz. My script analyzes parts for what they are and generates specific names for specific parts. For example, on the left you can see the stock Mark1Cockpit, Mk1-2Pod, mk2LanderCabin and probeCoreOcto. If you look on the right, you will see that they are now called Pods_Cockpit_Mk1, Pods_Pod_mk1-2, Pods_Lander_Mk2 and Pods_Probe_OKTO respectively. So it also differs parts in the same category. Currently I have more or less finished this functionality for the Pods and Propulsion categories. In propulsion it sorts ALL engines by fuel-type and then thrust, and fuel tanks by fuel-type and tank capacity. I tested this with Nova Punch and KW Roketry mods - all stuff is sorted correctly, and that is over 200 new parts in the game, easy to access and intuitive to find. Now, when you want to add new mods, just press the [Restore] button, and everything is back to the way it was. You can now add new parts, create a new INI and sort them all again. I will be very gratefull if someone could try this out and comment on it. I'm pretty sure it's usefull not only for me. I will be working on finetuning the Propulsion category and adding other part categories too. I might even make t able to sort parts by diameter, just need to figure some things out first. Anyway, give it a go and let me know if you like it. It works good in tandem with the Part Filter too. Cheers. Download Link: DropBOX Download Link: SpacePort