somnambulist Posted December 27, 2013 Share Posted December 27, 2013 @somnambulist: "-compress RLE" has no effect. ImageMagick doesn't implement RLE compression (only de-compression). And what's the point of "\."? You could just write ".", it's bash not regular expression.re tga compression, I didn't check before/after file sizes. Is this documented anywhere? If it doesn't work, I'll switch back over to sips but that would be OS X only. And the \. is absentmindedness -- my work's in-house cms takes regex for input files and freaks out if you don't escape periods. Link to comment Share on other sites More sharing options...
shaw Posted December 27, 2013 Author Share Posted December 27, 2013 re tga compression, I didn't check before/after file sizes. Is this documented anywhere? If it doesn't work, I'll switch back over to sips but that would be OS X only. And the \. is absentmindedness -- my work's in-house cms takes regex for input files and freaks out if you don't escape periods.I've seen it mentioned on several forums, but I don't think it's documented anywhere. Link to comment Share on other sites More sharing options...
Dante80 Posted December 27, 2013 Share Posted December 27, 2013 Oh, okay! Thanks alot man Now i can make real solar system mod even prettier!What is that kerbin texture? The ocean looks a little more dark blue I think. Link to comment Share on other sites More sharing options...
tygoo7 Posted December 27, 2013 Share Posted December 27, 2013 What is that kerbin texture? The ocean looks a little more dark blue I think.Thats an Earth texture. Link to comment Share on other sites More sharing options...
Dante80 Posted December 28, 2013 Share Posted December 28, 2013 Hehe, makes sense. Thanks for the prompt answer. Link to comment Share on other sites More sharing options...
somnambulist Posted December 28, 2013 Share Posted December 28, 2013 Hey shaw - - set of texture names is not hard-coded any moreHow does this work? e..g, I want to replace 'moho00' with 'arbitraryname.tga'? Link to comment Share on other sites More sharing options...
shaw Posted December 28, 2013 Author Share Posted December 28, 2013 How does this work? e..g, I want to replace 'moho00' with 'arbitraryname.tga'?You rename `arbitraryname.tga` to `moho00.tga` and put it to GameData/TextureReplacer/Textures (or a subdirectory of it). It means you can replace most textures if you know their internal names, not only those on the list. Link to comment Share on other sites More sharing options...
somnambulist Posted December 28, 2013 Share Posted December 28, 2013 You rename `arbitraryname.tga` to `moho00.tga` and put it to GameData/TextureReplacer/Textures (or a subdirectory of it). It means you can replace most textures if you know their internal names, not only those on the list.Ahh ok. I thought you might have added something like Tingle's support for replacing part textures. Link to comment Share on other sites More sharing options...
Franklin Posted December 28, 2013 Share Posted December 28, 2013 Hey shaw, what're the odds of us seeing code similar to this worked into your mod:http://forum.kerbalspaceprogram.com/threads/55905-0-23-Release-6-7-Visual-Enhancements-Clouds-City-Lights?p=872539&viewfull=1#post872539It'd sure help us cut down on the heavy TGAs to cover the mipmapping problem. Link to comment Share on other sites More sharing options...
rbray89 Posted December 28, 2013 Share Posted December 28, 2013 Hey shaw, what're the odds of us seeing code similar to this worked into your mod:http://forum.kerbalspaceprogram.com/threads/55905-0-23-Release-6-7-Visual-Enhancements-Clouds-City-Lights?p=872539&viewfull=1#post872539It'd sure help us cut down on the heavy TGAs to cover the mipmapping problem.This will be added to my texture mod, then Shaw can take a look and incorporate it as desired. Link to comment Share on other sites More sharing options...
shaw Posted December 28, 2013 Author Share Posted December 28, 2013 Released 0.12I've added mipmaps generation (thanks rbray) to my mod. However, mipmaps are only generated for textures whose paths contain "/Parts/" or begin with "TextureReplacer/Textures" to prevent mipmap generation for UI icons of some mods. If one uses half, quarter etc. texture quality, 2nd, 3rd etc. mipmap would be loaded instead of the original image and thus producing blurry icons and mission flags in UI. Link to comment Share on other sites More sharing options...
Franklin Posted December 28, 2013 Share Posted December 28, 2013 Something with your update is messin with the game. rbray's mod no longer loads (or at least Kerbin's clouds no longer load), and i'm getting missing part errors for stock parts. AV-R8 winglets not found was one. Link to comment Share on other sites More sharing options...
therealcrow999 Posted December 28, 2013 Share Posted December 28, 2013 Yeah I can confirm that 0.12 deletes some parts. I notice I had some Deadly Reentry Shields missing. Narrowed it down to 0.12 of this mod which was causing problems. Link to comment Share on other sites More sharing options...
shaw Posted December 28, 2013 Author Share Posted December 28, 2013 I hope it's fixed in 0.12.1. I made textures unreadable after compression or mipmap generation in hope to free even more memory (I guess unreadable textures get unloaded from RAM). This crashed Visual Enhancements (that's actually a bug in VE, not checking whether a texture is readable before manipulating it) and made a few parts fail to load because they access texture data during loading (WTF?). Link to comment Share on other sites More sharing options...
Franklin Posted December 28, 2013 Share Posted December 28, 2013 Seems to fix what problems I was having. Thanks. Link to comment Share on other sites More sharing options...
rbray89 Posted December 29, 2013 Share Posted December 29, 2013 I added the content I have been planning into my Texture Compression mod, though at this point it feels more like a texture management mod. Shaw, I'm thinking that it might be worth it to join forces to create a general purpose texture management and replacement mod. Link to comment Share on other sites More sharing options...
DevL Posted December 30, 2013 Share Posted December 30, 2013 I added the content I have been planning into my Texture Compression mod, though at this point it feels more like a texture management mod. Shaw, I'm thinking that it might be worth it to join forces to create a general purpose texture management and replacement mod.A joint venture seems like the sane way to go! Github makes it immensly easy to collaborate on a shared project like this. Link to comment Share on other sites More sharing options...
Hyomoto Posted December 30, 2013 Share Posted December 30, 2013 Looking at UR4 I'm a bit surprised people are still using it. Visual Enhancements + Texture Replacer gives better performance AND visuals. Link to comment Share on other sites More sharing options...
shaw Posted December 30, 2013 Author Share Posted December 30, 2013 Looking at UR4 I'm a bit surprised people are still using it. Visual Enhancements + Texture Replacer gives better performance AND visuals.You better post this to UR's thread Link to comment Share on other sites More sharing options...
yeliabmit Posted January 1, 2014 Share Posted January 1, 2014 Hey folks -- I didn't see a bug report feature at GitHub, so I'll report it here: I installed TextureReplacer and it looks great, but it appears to be the reason the Deadly Reentry heatshields and some of the command pods disappeared from the VAB and R&D facilities in all my games. I uninstalled every mod I had (I have a lot installed) and swapped them all in one at a time, to track down why these parts were disappearing. It turned out to be TextureReplacer. This doesn't make a lot of sense to me, but I can confirm that the parts all return to the game once I remove TextureReplacer. There are no noteworthy flags or reports in the debug log (that I can see) indicating problems, and the models do seem to actually load at startup, but they just don't show up in the game. It seems especially weird that this would mainly affect Deadly Reentry, but guess mods can conflict. I don't remember anything like this happening with UniverseReplacer when I used that. I would prefer to use this mod, but for now I'm leaving it out of my game. Link to comment Share on other sites More sharing options...
shaw Posted January 1, 2014 Author Share Posted January 1, 2014 @yeliabmit: I cannot reproduce your problem with TR 0.12.1. Are you sure you use 0.12.1 and not 0.12? The latter caused such issues. Link to comment Share on other sites More sharing options...
yeliabmit Posted January 1, 2014 Share Posted January 1, 2014 Yeesh -- I didn't realize there had been another release of TextureReplacer since I downloaded it on the 28th. I have installed 0.21.1 now and the parts are all there in the VAB. Thanks for bringing the version change to my attention. Link to comment Share on other sites More sharing options...
Atragon Posted January 2, 2014 Share Posted January 2, 2014 In order to shift from using Universe Replacer to this, I just need to move the textures from the UR directory to the TR directory, and re-name them as required, right? Link to comment Share on other sites More sharing options...
TMS Posted January 2, 2014 Share Posted January 2, 2014 Pretty much.The readme file has a list of the texture names.Might have to remove UR as well. Not sure they can work side-by-side. Link to comment Share on other sites More sharing options...
shaw Posted January 2, 2014 Author Share Posted January 2, 2014 In order to shift from using Universe Replacer to this, I just need to move the textures from the UR directory to the TR directory, and re-name them as required, right?Right.(This text is required because this forum doesn't accept my post unless it has at least 10 chars. WTF?) Link to comment Share on other sites More sharing options...
Recommended Posts