linuxgurugamer Posted August 24, 2019 Author Share Posted August 24, 2019 New release, 1.7.22.2 Fixed issue with ScienceAlert & X-Science buttons on the toolbar being purple Sorry about the long time, this was a very hard one to find, even though it was a single line to change. Quote Link to comment Share on other sites More sharing options...
AG5BPilot Posted August 24, 2019 Share Posted August 24, 2019 It's fixed. Thank you! No worries with regards to the wait. Your hard work is very much appreciated. Quote Link to comment Share on other sites More sharing options...
New Horizons Posted August 25, 2019 Share Posted August 25, 2019 I have this "unBlur.0.5.0.dll" in my folder. Shall I delete it while using lates toolbar version from here? Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 20 hours ago, linuxgurugamer said: Sorry about the long time No need to apologize, it is us players who have to say thank you for your time and efforts 20 hours ago, linuxgurugamer said: this was a very hard one to find, even though it was a single line to change. I'm curious, what was it then? Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 6 minutes ago, VoidSquid said: No need to apologize, it is us players who have to say thank you for your time and efforts I'm curious, what was it then? This requires a bit of an explanation: When KSP loads images during the initial starting of the game, it does some sort of compression on the texture in order to save space. When loading icons which weren't made with the correct dimensions, the end result is a blurring of the icon. There is some disagreement as to what is exactly going on, but the end result is a blurring of the icon. In order to avoid the blurring of icons (which the unBlur was supposed to take care of), I have code which reads the image directly from the file if it exists. My code avoids the issue with KSP loading by doing it myself. Ok. The bug in this case had to do with these specific mods, which do NOT have the icons on disk, rather, they are compiled into the code as a resource. These were the only mods that I know of which do this. I'm not going to get into a discussion about which is better. The problem was that the function which checked for the existence of the file was returning True even if the file wasn't there. So when the toolbar tries to load the missing file, it obviously gets nothing. Once I fixed it, when the file isn't there, it loads from the KSP game database Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 (edited) That's quite interesting, the quirks and quarks of writing code which depends on what other folks thought is the way to go. Sounds familiar, though I'm just doing some minor scripting at work. 30 minutes ago, linuxgurugamer said: they are compiled into the code as a resource That sounds odd, why would one do that (pretty sure there are reasons, lol)? Not easy to deal with this, I'd say, and hard to get around this, I think. 30 minutes ago, linuxgurugamer said: returning True even if the file wasn't there. So when the toolbar tries to load the missing file, it obviously gets nothing. Once I fixed it, when the file isn't there, it loads from the KSP game database Glad you found it, definitely a tricky one, yes. I do remember having spent hours finding out about odd ways stuff has been made, and that's only talking stupid Powershell/Exchange/AD scripting stuff (back tick, anyone?) Thanks a lot for the explanation and the fix! Edited August 25, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 (edited) Uh oh... hate to say it, but now, TAC Fuel Balancer is purple again Reverting to 1.7.20 with Unblur then. Edited August 25, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 9 minutes ago, VoidSquid said: Uh oh... hate to say it, but now, TAC Fuel Balancer is purple again Reverting to 1.7.20 with Unblur then. It would be just a little helpful if you said which toolbar it was purple in, and if you did anything to get it that way. Otherwise i have to guess and take more time to figure it out Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 (edited) 7 minutes ago, linuxgurugamer said: It would be just a little helpful if you said which toolbar it was purple Blizzy's, stock toolbar unaffected. 7 minutes ago, linuxgurugamer said: and if you did anything to get it that way Updated Toolbar from 1.7.20 to 1.7.22.2, removed Unblur 0.5.0 All via CKAN 1.26.4 Edited August 25, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 Ok. Looking at it now Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 1 minute ago, linuxgurugamer said: Ok. Looking at it now I'm sorry... Let me know if there's anything I can do for you, ok? Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 Hmmm. That's actually a bug in TacFuelBalancer. The mod had the suffix appended to the file name, while the Toolbar wasn't expecting that. Update out soon Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 (edited) 14 minutes ago, linuxgurugamer said: That's actually a bug in TacFuelBalancer. The mod had the suffix appended to the file name, while the Toolbar wasn't expecting that. Then: how did Unblur manage this? Or to be more precise: why did it work with 1.7.20 plus Unblur? APIs... Edited August 25, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 2 minutes ago, VoidSquid said: Then: how did Unblur manage this? Or to be more precise: why did it work with 1.7.20 plus Unblur? APIs... One bug covered another bug. When i did the TAC conversion to the toolbarcontrol, it was tested with the broken version 2 minutes ago, VoidSquid said: I'm sorry... Let me know if there's anything I can do for you, ok? Reporting the problems is good. Just be a little more specific. One reason it took me so long to find the main bug was that I couldn't replicate it in the stock toolbar. I didn't realize that it was only in the Blizzy toolbar Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 25, 2019 Share Posted August 25, 2019 (edited) Oh, I see... I thought it was obvious that Blizzy's was meant (the mod is about that toolbar), not stock. Does this mod also affect stock the toolbar then? Anyway, that was easy to clarify, you asked 49 minutes ago, linuxgurugamer said: which toolbar it was and could answer this More often than not, when my customers do complain, the main job is to get useful information from them to understand the core of the issue, I can very much follow you here Need to catch some sleep, work awaits only too soon. Talk to you soon, and have a good night as well. Edited August 25, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted August 25, 2019 Author Share Posted August 25, 2019 11 minutes ago, VoidSquid said: Oh, I see... I thought it was obvious that Blizzy's was meant (the mod is about that toolbar), not stock. Does this mod also affect stock the toolbar then? Anyway, that was easy to clarify, you asked and could answer this More often than not, when my customers do complain, the main job is to get useful information from them to understand the core of the issue, I can very much follow you here Need to catch some sleep, work awaits only too soon. Talk to you soon, and have a good night as well. The Toolbar Controller works with both the stock and the Blizzy toolbar. All my mods, and many others, use it Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted August 26, 2019 Share Posted August 26, 2019 (edited) Hey @linuxgurugamer,I just could make a brief test, and yes, now TAC FB and the ScienceAlert both work like a charm, thank you very very much! Edited August 26, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
Phil deCube Posted August 27, 2019 Share Posted August 27, 2019 On 8/25/2019 at 7:41 AM, linuxgurugamer said: For those who are having the "purple icon" issue, can you respond and say which toolbar it's happening in? The Blizzy or the stock toolbar (or both)? @VoidSquid @Phil deCube @CoriW @AG5BPilot In Blizzy only. An update the other day seems to have fixed it. All Blizzy icons are good now. Quote Link to comment Share on other sites More sharing options...
sthalik Posted September 15, 2019 Share Posted September 15, 2019 I'm having an issue where the toolbar doesn't appear. This could be related to having used and uninstalled the toolbar mod previously. Both Toolbar Continued and Toolbar are installed. Can I create a .cfg file manually? Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted September 15, 2019 Share Posted September 15, 2019 Afaik, the configuration file's name is toolbar-settings.dat and it's directly in the GameData folder. If you just delete it, it will be automatically recreated when you restart KSP. Quote Link to comment Share on other sites More sharing options...
dprostock Posted October 18, 2019 Share Posted October 18, 2019 Hello! The mod not work in KSP 1.8.... will be updated? Thank!!!! Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted October 18, 2019 Author Share Posted October 18, 2019 1 hour ago, dprostock said: Hello! The mod not work in KSP 1.8.... will be updated? Thank!!!! Yes, although for various reasons I won't be able to start my updates until next week. Quote Link to comment Share on other sites More sharing options...
dprostock Posted October 18, 2019 Share Posted October 18, 2019 4 minutes ago, linuxgurugamer said: Yes, although for various reasons I won't be able to start my updates until next week. Good! Thank!!!! Quote Link to comment Share on other sites More sharing options...
Homer_S Posted October 19, 2019 Share Posted October 19, 2019 (edited) 18 hours ago, linuxgurugamer said: Yes, although for various reasons I won't be able to start my updates until next week. Coolio, I thought at first the little black square was something I was doing, like video drivers or something. Then it dawned on me the little checkerboard was missing. Homer Edited October 19, 2019 by Homer_S Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted October 20, 2019 Author Share Posted October 20, 2019 New release, 1.8.0.0 Updated for 1.8 Added Startup class Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.