Denco Posted January 1, 2016 Share Posted January 1, 2016 I have a question. Why does memory usage increases by a small amount whenever I revert a flight or tab out/in ( later not always the case ). I mean the game does use the same textures. Is unity really this unefficient? Link to comment Share on other sites More sharing options...
smjjames Posted January 1, 2016 Share Posted January 1, 2016 2 minutes ago, Denco said: I have a question. Why does memory usage increases by a small amount whenever I revert a flight or tab out/in ( later not always the case ). I mean the game does use the same textures. Is unity really this unefficient? The revert flight thing is the scene change memory leak I think. As for the tab out/in, I haven't noticed that one. 5 minutes ago, rbray89 said: Try removing ATM first. I think we now conflict with it. You all wouldn't happen to have logs when you don't use DTL? I'm having a hard time figuring out what are normal exceptions and what are errors. Want me to give an output log without DTL? I just checked and the IR model rework parts are fine without it. Link to comment Share on other sites More sharing options...
HansB Posted January 1, 2016 Share Posted January 1, 2016 (edited) 2 hours ago, rbray89 said: Try removing ATM first. I think we now conflict with it. You all wouldn't happen to have logs when you don't use DTL? I'm having a hard time figuring out what are normal exceptions and what are errors. Yepp, got one for you. Same as before without DTL. It's named KSP2.loghttps://onedrive.live.com/redir?resid=D3A4ABEE97B1FC60!891&authkey=!AKyQuA6IGBpef6I&ithint=file%2clog Edited January 1, 2016 by HansB other check Link to comment Share on other sites More sharing options...
HansB Posted January 1, 2016 Share Posted January 1, 2016 Tried without ATM, your right now all the parts have texture. only missing the icon of ambient light adjustment, the rest is there. Link to comment Share on other sites More sharing options...
smjjames Posted January 1, 2016 Share Posted January 1, 2016 (edited) @rbray89 I guess I'll give you one for my bug report without DTL. http://sta.sh/0cjodcznjed Also, anybody know how to make a MM config that makes DTL ignore IR model rework? Edited January 1, 2016 by smjjames Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 Should fix issues with those who continue to use ATM and shouldn't be : https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.2 Still investigating the other reported issues. Link to comment Share on other sites More sharing options...
smjjames Posted January 2, 2016 Share Posted January 2, 2016 Hopefully you can fix the black textures for IR model rework. Also, minor thing, whenever an asteroid leaves physics loading range, DTL gives this exception: ArgumentNullException: Argument cannot be null. Parameter name: key at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[DynamicTextureLoader.TexRefCnt]].ContainsKey (System.String key) [0x00000] in <filename unknown>:0 at DynamicTextureLoader.TextureUnloaderPartModule.Unload (Boolean force) [0x00000] in <filename unknown>:0 at DynamicTextureLoader.TextureUnloaderPartModule.OnDestroy () [0x00000] in <filename unknown>:0 Seems pretty harmless though. I guess since asteroids are technically a part, it might do something wierd for them. Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 4 minutes ago, smjjames said: Hopefully you can fix the black textures for IR model rework. Also, minor thing, whenever an asteroid leaves physics loading range, DTL gives this exception: ArgumentNullException: Argument cannot be null. Parameter name: key at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[DynamicTextureLoader.TexRefCnt]].ContainsKey (System.String key) [0x00000] in <filename unknown>:0 at DynamicTextureLoader.TextureUnloaderPartModule.Unload (Boolean force) [0x00000] in <filename unknown>:0 at DynamicTextureLoader.TextureUnloaderPartModule.OnDestroy () [0x00000] in <filename unknown>:0 Seems pretty harmless though. I guess since asteroids are technically a part, it might do something wierd for them. Huh... An asteroid is a part... I'll have to add an exception for those then. Link to comment Share on other sites More sharing options...
MaxPeck Posted January 2, 2016 Share Posted January 2, 2016 1 hour ago, rbray89 said: Should fix issues with those who continue to use ATM and shouldn't be : https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.2 Still investigating the other reported issues. Whatever you did here has resolved my problem. I was hanging up with or without ATM installed, but now it's all good. Thanks! Link to comment Share on other sites More sharing options...
HansB Posted January 2, 2016 Share Posted January 2, 2016 (edited) Oke, little info. after the test yesterday I installed AMT and DTL (from the Github) new. Running the game, I noticed ATM didn't make his textureCache. The Ram reduction was oke. So I removed DTL, ran the game, ATM made its cache and the game was using more memory. Installing DTL and mem reduction was better. again. Edited January 2, 2016 by HansB Link to comment Share on other sites More sharing options...
smjjames Posted January 2, 2016 Share Posted January 2, 2016 Also, @rbray89, DTL is apparently causing issues with some textures in SpaceY expanded. Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 5 hours ago, HansB said: Oke, little info. after the test yesterday I installed AMT and DTL (from the Github) new. Running the game, I noticed ATM didn't make his textureCache. The Ram reduction was oke. So I removed DTL, ran the game, ATM made its cache and the game was using more memory. Installing DTL and mem reduction was better. again. There is no real "good" way to make ATM and DTL compatable. Given that in nearly all cases DTL will outperform ATM in both memory reduction AND graphics appearance, I decided it would be best simply for DTL to disable ATM. Link to comment Share on other sites More sharing options...
smjjames Posted January 2, 2016 Share Posted January 2, 2016 @rbray89 What about the problems going on with IR model rework and SpaceY expanded? I guess you can ask Zodiusinfuser and NecroBones respectively about it if needed. Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 Just now, smjjames said: @rbray89 What about the problems going on with IR model rework and SpaceY expanded? I guess you can ask Zodiusinfuser and NecroBones respectively about it if needed. I fetched spaceY via CKAN (the IR rework I had to download seperately) and using https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.3 I could see no issues. Try it out, and see if it works for you, but if it doesn't, then there is something else wrong somewhere. Link to comment Share on other sites More sharing options...
smjjames Posted January 2, 2016 Share Posted January 2, 2016 10 minutes ago, rbray89 said: I fetched spaceY via CKAN (the IR rework I had to download seperately) and using https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.3 I could see no issues. Try it out, and see if it works for you, but if it doesn't, then there is something else wrong somewhere. Yeah it's fixed now with that version. Also, you STILL need to version number your downloadable files! come on. Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 5 minutes ago, smjjames said: Yeah it's fixed now with that version. Also, you STILL need to version number your downloadable files! come on. It takes too much time and can be very error-prone. Awesome! I'll upload it now then Link to comment Share on other sites More sharing options...
smjjames Posted January 2, 2016 Share Posted January 2, 2016 1 hour ago, rbray89 said: It takes too much time and can be very error-prone. Awesome! I'll upload it now then I meant folders, not files, my mistake. Or at least the zip file if anything. Link to comment Share on other sites More sharing options...
Cletis Posted January 2, 2016 Share Posted January 2, 2016 This mod is awesome btw! Thanks for all your hard work. I found a couple of icons that don't draw when I use DTL (tested with 1.4.3). Some of my contracts don't show their icon. It looks like it's some of the stock contracts as well as contracts from "Contract Pack: Field Research". Also, the remote tech "flight computer" button and the remote tech "see what all your dishes are aimed at" button. Link to comment Share on other sites More sharing options...
rbray89 Posted January 2, 2016 Author Share Posted January 2, 2016 2 minutes ago, Cletis said: This mod is awesome btw! Thanks for all your hard work. I found a couple of icons that don't draw when I use DTL (tested with 1.4.3). Some of my contracts don't show their icon. It looks like it's some of the stock contracts as well as contracts from "Contract Pack: Field Research". Also, the remote tech "flight computer" button and the remote tech "see what all your dishes are aimed at" button. Was this an update from a previous version? If so I'd recommend deleting the texture cache. Link to comment Share on other sites More sharing options...
Cletis Posted January 2, 2016 Share Posted January 2, 2016 1 hour ago, rbray89 said: Was this an update from a previous version? If so I'd recommend deleting the texture cache. It was an update from a previous version. I deleted folders named "scaledTexCache" and "TexCache" from the "GameData\DynamicTextureLoader\Plugins\" folder. It did not fix the problem. Anything else I should try? Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 3, 2016 Share Posted January 3, 2016 I've been watching this with interest. Here are some results using the latest version: Startup menu Space Center Into MI and back to main menu DTL-DirectX 3252 3557 3922 OpenGL 2317 2548 2868 DirectX 3758 3972 3988 So, at least for heavily moddel installs, OpenGL is still the best way to go Link to comment Share on other sites More sharing options...
rbray89 Posted January 3, 2016 Author Share Posted January 3, 2016 6 hours ago, Cletis said: It was an update from a previous version. I deleted folders named "scaledTexCache" and "TexCache" from the "GameData\DynamicTextureLoader\Plugins\" folder. It did not fix the problem. Anything else I should try? This should work for you: https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.4 Link to comment Share on other sites More sharing options...
Cletis Posted January 3, 2016 Share Posted January 3, 2016 29 minutes ago, rbray89 said: This should work for you: https://github.com/rbray89/DynamicTextureLoader/releases/tag/DTL-1.4.4 That fixed the missing icons for the contracts, but not the missing Remote Tech icons. I deleted the caches again just in case, but it still didn't work. Is there anything else I should try? Thanks again for the awesome mod. The game is so much more playable with mods now! Link to comment Share on other sites More sharing options...
smjjames Posted January 3, 2016 Share Posted January 3, 2016 13 hours ago, linuxgurugamer said: I've been watching this with interest. Here are some results using the latest version: Startup menu Space Center Into MI and back to main menu DTL-DirectX 3252 3557 3922 OpenGL 2317 2548 2868 DirectX 3758 3972 3988 So, at least for heavily moddel installs, OpenGL is still the best way to go Did you try it with DTL+OpenGL? Because it does help, not by a huge amount, but enough to make a difference. Link to comment Share on other sites More sharing options...
sal_vager Posted January 3, 2016 Share Posted January 3, 2016 This'll be really useful for a lot of players @rbray89, so I'm sticking it for January's TOTM Link to comment Share on other sites More sharing options...
Recommended Posts