rbray89

[1.0][Release-5-0][April 28, 2015] Active Texture Management - Save RAM!

Recommended Posts

How I stop ATM from compressing TextureReplacer textures? I made a config, but it still makes a cache for TR.

EDIT: Woops, TextureReplacer apparently has a ATM config already :P

EDIT EDIT: Buuuut it still compresses it

- - - Updated - - -

I have a question that i'd like to have answered ASAP! :D

Is it OK for me to only extract the B9 Aerospace folder from the winrar file that curseforge gives you?

http://i.imgur.com/m98ExNm.png

If you want B9 parts to work, no. Those mods are not there for nothing.

Edited by Shurikeeen

Share this post


Link to post
Share on other sites

I have a problem with a part from a mod that is no longer supported, from the days pre-curse etc...

Its just a small escape pod which I like to use.

It seems this part will not load at all unless it is in the root /Parts folder.

I tried making a /GameData/STEscape/Parts folder, but the part will not load at all.

I am trying to figure out how to make ATM skip compressing as it is turning my textures all white. I couldn't find a doc on the configuration options and made guesses based on other mod configurations.

I am wondering if this will work being in the root /Parts folder, I have no other issues and am running quite a few other mods.

Here is my config and samples from the output.log

Running on Windows 7

KSP x86 v.90

Regards,

Created a STEscape.cfg file under the root of my KSP install /KSP/Parts

ACTIVE_TEXTURE_MANAGER_CONFIG
{
folder = Parts
enabled = true
OVERRIDES
{
Parts/.*
{
compress = false
mipmaps = false
scale = 1
max_size = 0
}
}


NORMAL_LIST
{
texture = Parts/ST_EscapeParachute/model000
texture = Parts/ST_EscapeParachute/model001
texture = Parts/ST_EscapeParachute/model002
texture = Parts/ST_EscapePod/model000
texture = Parts/ST_EscapePod/model001
texture = Parts/ST_EscapePod/model002
texture = Parts/ST_EscapePod/model003
texture = Parts/ST_EscapePod/model004
texture = Parts/ST_EscapePod/model005
texture = Parts/ST_EscapePod/model006
texture = Parts/ST_LightSpot/model000
texture = Parts/ST_LightSpot/model001
texture = Parts/ST_SignalSpot/model000
texture = Parts/ST_SignalSpot/model001
texture = Parts/ST_smallDecouplerEX/model00
texture = Parts/ST_smallDecouplerEX/model001
}


}

Log Samples

[LOG 20:35:46.018] DatabaseLoaderTexture_ATM: normal List:

[LOG 20:35:46.019] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model000

[LOG 20:35:46.021] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model001

[LOG 20:35:46.022] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model002

[LOG 20:35:46.024] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model000

[LOG 20:35:46.025] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model001

[LOG 20:35:46.027] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model002

[LOG 20:35:46.028] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model003

[LOG 20:35:46.030] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model004

[LOG 20:35:46.031] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model005

[LOG 20:35:46.032] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model006

[LOG 20:35:46.034] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model000

[LOG 20:35:46.035] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model001

[LOG 20:35:46.037] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model000

[LOG 20:35:46.038] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model001

[LOG 20:35:46.040] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model00

[LOG 20:35:46.041] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model001

[LOG 20:35:46.678] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model000

[LOG 20:35:46.680] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model001

[LOG 20:35:46.681] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model002

[LOG 20:35:46.683] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model000

[LOG 20:35:46.684] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model001

[LOG 20:35:46.686] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model002

[LOG 20:35:46.687] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model003

[LOG 20:35:46.689] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model004

[LOG 20:35:46.690] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model005

[LOG 20:35:46.691] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model006

[LOG 20:35:46.693] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model000

[LOG 20:35:46.694] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model001

[LOG 20:35:46.696] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model000

[LOG 20:35:46.697] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model001

[LOG 20:35:46.699] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model00

[LOG 20:35:46.700] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model001

[LOG 20:35:55.636] Load(Texture): Parts/ST_EscapePod/model000

[LOG 20:35:55.726] ActiveTextureManagement: Loading texture...

[LOG 20:35:55.729] ActiveTextureManagement: Texture loaded.

[EXC 20:35:55.732] NullReferenceException: Object reference not set to an instance of an object

ActiveTextureManagement.CacheController.RebuildCache (ActiveTextureManagement.TexInfo Texture, Boolean compress, Boolean mipmaps)

ActiveTextureManagement.CacheController.FetchCacheTexture (ActiveTextureManagement.TexInfo Texture, Boolean compress, Boolean mipmaps)

ActiveTextureManagement.DatabaseLoaderTexture_ATM.UpdateTexture (ActiveTextureManagement.TexInfo texture)

ActiveTextureManagement.DatabaseLoaderTexture_ATM+<Load>d__4.MoveNext ()

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

Share this post


Link to post
Share on other sites

Ummm, could you give us a link to the part in question?

I have a problem with a part from a mod that is no longer supported, from the days pre-curse etc...

Its just a small escape pod which I like to use.

It seems this part will not load at all unless it is in the root /Parts folder.

I tried making a /GameData/STEscape/Parts folder, but the part will not load at all.

I am trying to figure out how to make ATM skip compressing as it is turning my textures all white. I couldn't find a doc on the configuration options and made guesses based on other mod configurations.

I am wondering if this will work being in the root /Parts folder, I have no other issues and am running quite a few other mods.

Here is my config and samples from the output.log

Running on Windows 7

KSP x86 v.90

Regards,

Created a STEscape.cfg file under the root of my KSP install /KSP/Parts

ACTIVE_TEXTURE_MANAGER_CONFIG
{
folder = Parts
enabled = true
OVERRIDES
{
Parts/.*
{
compress = false
mipmaps = false
scale = 1
max_size = 0
}
}


NORMAL_LIST
{
texture = Parts/ST_EscapeParachute/model000
texture = Parts/ST_EscapeParachute/model001
texture = Parts/ST_EscapeParachute/model002
texture = Parts/ST_EscapePod/model000
texture = Parts/ST_EscapePod/model001
texture = Parts/ST_EscapePod/model002
texture = Parts/ST_EscapePod/model003
texture = Parts/ST_EscapePod/model004
texture = Parts/ST_EscapePod/model005
texture = Parts/ST_EscapePod/model006
texture = Parts/ST_LightSpot/model000
texture = Parts/ST_LightSpot/model001
texture = Parts/ST_SignalSpot/model000
texture = Parts/ST_SignalSpot/model001
texture = Parts/ST_smallDecouplerEX/model00
texture = Parts/ST_smallDecouplerEX/model001
}


}

Log Samples

[LOG 20:35:46.018] DatabaseLoaderTexture_ATM: normal List:

[LOG 20:35:46.019] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model000

[LOG 20:35:46.021] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model001

[LOG 20:35:46.022] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model002

[LOG 20:35:46.024] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model000

[LOG 20:35:46.025] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model001

[LOG 20:35:46.027] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model002

[LOG 20:35:46.028] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model003

[LOG 20:35:46.030] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model004

[LOG 20:35:46.031] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model005

[LOG 20:35:46.032] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model006

[LOG 20:35:46.034] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model000

[LOG 20:35:46.035] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model001

[LOG 20:35:46.037] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model000

[LOG 20:35:46.038] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model001

[LOG 20:35:46.040] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model00

[LOG 20:35:46.041] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model001

[LOG 20:35:46.678] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model000

[LOG 20:35:46.680] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model001

[LOG 20:35:46.681] DatabaseLoaderTexture_ATM: Parts/ST_EscapeParachute/model002

[LOG 20:35:46.683] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model000

[LOG 20:35:46.684] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model001

[LOG 20:35:46.686] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model002

[LOG 20:35:46.687] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model003

[LOG 20:35:46.689] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model004

[LOG 20:35:46.690] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model005

[LOG 20:35:46.691] DatabaseLoaderTexture_ATM: Parts/ST_EscapePod/model006

[LOG 20:35:46.693] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model000

[LOG 20:35:46.694] DatabaseLoaderTexture_ATM: Parts/ST_LightSpot/model001

[LOG 20:35:46.696] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model000

[LOG 20:35:46.697] DatabaseLoaderTexture_ATM: Parts/ST_SignalSpot/model001

[LOG 20:35:46.699] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model00

[LOG 20:35:46.700] DatabaseLoaderTexture_ATM: Parts/ST_smallDecouplerEX/model001

[LOG 20:35:55.636] Load(Texture): Parts/ST_EscapePod/model000

[LOG 20:35:55.726] ActiveTextureManagement: Loading texture...

[LOG 20:35:55.729] ActiveTextureManagement: Texture loaded.

[EXC 20:35:55.732] NullReferenceException: Object reference not set to an instance of an object

ActiveTextureManagement.CacheController.RebuildCache (ActiveTextureManagement.TexInfo Texture, Boolean compress, Boolean mipmaps)

ActiveTextureManagement.CacheController.FetchCacheTexture (ActiveTextureManagement.TexInfo Texture, Boolean compress, Boolean mipmaps)

ActiveTextureManagement.DatabaseLoaderTexture_ATM.UpdateTexture (ActiveTextureManagement.TexInfo texture)

ActiveTextureManagement.DatabaseLoaderTexture_ATM+<Load>d__4.MoveNext ()

UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

Share this post


Link to post
Share on other sites

so... anyone else having 1.0 trouble with every texture in the game being missing, even flags???

Share this post


Link to post
Share on other sites
so... anyone else having 1.0 trouble with every texture in the game being missing, even flags???

I haven't had any problems on stock. I recommend you try 1.0 out without ATM. They've made several improvements and you might* just be happy without it.

Share this post


Link to post
Share on other sites
I haven't had any problems on stock. I recommend you try 1.0 out without ATM. They've made several improvements and you might* just be happy without

it.

Not for the many of us who like mod heavy games and since KSP devs canned 64x bit need this to play our mod heavy games.

Share this post


Link to post
Share on other sites

Part textures are in DDS by stock now so the need for ATM is way down or possibly not needed at all regardless of the number of mods.

Share this post


Link to post
Share on other sites
Not for the many of us who like mod heavy games and since KSP devs canned 64x bit need this to play our mod heavy games.

You are already heavily modded? I like to Mod things too.. but I'll go light on modding for a few days at least :)

Share this post


Link to post
Share on other sites
so... anyone else having 1.0 trouble with every texture in the game being missing, even flags???

Look at the number in front of the thread title. It says [0.90], that means it is untested in 1.0 and you should not use it in 1.0 until the mod updates. This goes for most mods.

Share this post


Link to post
Share on other sites

Yeah give it a few days before assuming it will work. I plan on waiting until mid may or later for everything since you never know when an update takes ages

Share this post


Link to post
Share on other sites
Part textures are in DDS by stock now so the need for ATM is way down or possibly not needed at all regardless of the number of mods.

It appears that you might be under the impression that part mods also use DDS textures. Someone else correct me if I'm wrong, but ATM converts more than just stock textures. Most mods don't use DDS unless specifically stated, because up until now that required a separate dependency plugin in order to use them (DDS).

Share this post


Link to post
Share on other sites
It appears that you might be under the impression that part mods also use DDS textures. Someone else correct me if I'm wrong, but ATM converts more than just stock textures. Most mods don't use DDS unless specifically stated, because up until now that required a separate dependency plugin in order to use them (DDS).

Correct ATM will now be more necessary for mods rather than the stock game but it also uses further compression if I'm not mistaken so it will still improve vanilla KSP

Share this post


Link to post
Share on other sites

All mods not already DDS there is a very easy to use program that will convert them to DDS, so that isn't a concern at all. Only a very few require textures not to be in DDS. Most of the other conversions ATM uses aren't needed. .90 was using a TON of mods and never needed ATM at all once getting the DDS plugin.

Share this post


Link to post
Share on other sites
I haven't had any problems on stock. I recommend you try 1.0 out without ATM. They've made several improvements and you might* just be happy without it.
Not for the many of us who like mod heavy games and since KSP devs canned 64x bit need this to play our mod heavy games.
Part textures are in DDS by stock now so the need for ATM is way down or possibly not needed at all regardless of the number of mods.

that is not the case for mods, which is what ATM is primarily for.

and without ATM 1.0 is runnable, but extremely bloated, nearly 1g plus from yesterday in .90.

ive removed the cache and am re-running the preload. hopefully that will get textures back in place. i noticed for one thing the 'nasa mission' folder is no longer there, so it could just be an address issue (hopefully)

edit: well, it appears that wont help, its not creating a new cache at all.

Edited by BobsYerUncle

Share this post


Link to post
Share on other sites
What are the improvements to the base game now that all textures are DDs?

Faster load, less RAM usage.

Share this post


Link to post
Share on other sites
that is not the case for mods, which is what ATM is primarily for.

No idea why you say that. DDS4KSP has been an easy to use converter all along for making any graphic files in mods that wearn't in DDS format into DDS. That along with several more recent ones coming in DDS make it exactly that case for mods no matter which way you look at it.

Share this post


Link to post
Share on other sites

I've been a fan of this mod since I found it. Hopefully, it will be updated to reduce textures even more because I'm going to need it: I've set everything to the minimums and the VAB is fast but once on the pad, 1.0 is still too choppy to play. I don't care how long it takes -- life needs balance -- I just hope it's in the pipeline. In the meantime, I'm back on 0.9...

Thanks for everything you've done, rbray89 (and anything you might yet do :)

Share this post


Link to post
Share on other sites

x86 Agressive is not running on Mac in 1.0.

Not that I expected it to, given the above comments, but worth mentioning.

Share this post


Link to post
Share on other sites

Actually, KSP 1.0's memory foot print seems a lot lower. Even at highest settings it's only taking about a little under 1.6gb where .90 was taking up just over 2gb and it starts up lightning fast compared to .90 as well. Given how many parts and game mechanics were added, that is very encouraging.

But, if they optimized that much, they probably broke this mod until rbray can update it. Which will make it even better! Go rbray! :)

Edit: I really should have scrolled back a bit further, seems you folks already noticed that :) Great fun!

Share this post


Link to post
Share on other sites

Just a small change needed to un-break ATM. Updated. DDS are not handled by ATM yet, but other (eg. mod) textures are.

Share this post


Link to post
Share on other sites
Just a small change needed to un-break ATM. Updated. DDS are not handled by ATM yet, but other (eg. mod) textures are.

Thx alot!

PS: ckan says still 4-3 ?

Edited by Red Iron Crown
No reaction images, please.

Share this post


Link to post
Share on other sites

I just installed ATM basic, and I'm having a couple issues. I've been out of the game since .25, so I haven't kept up on things, so forgive me if I've done something wrong. First off, all the newer parts like the new landing gear and the mining equipment are appearing white. Also, with ATM installed a whole bunch of the ingame icons disappeared. All the company logos and the flags, even the icons for the admin building stuff.

I first noticed this on an install I was trying to install a bunch of mods on, but it persisted on a fresh install with just ATM.

I did notice that you've still got an x64 build, even though KSP doesn't use x64 anymore, should I be using that instead? I have an x64 win8 machine.

I should also add that I haven't used ATM before, because I was able to play on x64.

Edited by Capt. Hunt

Share this post


Link to post
Share on other sites
I just installed ATM basic, and I'm having a couple issues. I've been out of the game since .25, so I haven't kept up on things, so forgive me if I've done something wrong. First off, all the newer parts like the new landing gear and the mining equipment are appearing white. Also, with ATM installed a whole bunch of the ingame icons disappeared. All the company logos and the flags, even the icons for the admin building stuff.

I first noticed this on an install I was trying to install a bunch of mods on, but it persisted on a fresh install with just ATM.

I did notice that you've still got an x64 build, even though KSP doesn't use x64 anymore, should I be using that instead? I have an x64 win8 machine.

I should also add that I haven't used ATM before, because I was able to play on x64.

It shouldn't affect stock parts. Did you delete and refresh the cache?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.