Jump to content

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


rbray89

Recommended Posts

You have several issues with your config.

If you don't want the textures handled, you can just remove the ASET.tcfg file and the folder will be ignored.

1) The config is missing a closing bracket '}'

2) the exception that you have there will ONLY use those settings for files in the ASET directory, not subdirectories. If you want all files in all directories handled, use ASET/.* instead.

EDIT: Ninja'd by Deltac. I also agree with him, you probably want to leave it to compress, that just changes the format to DTX. But you want the scale set to 1 so the resolution isn't changed. You also probably want to remove the "make_not_readable = false" line.

Thanks for all the help! I got it figured out now. (Man, your patiences must be never ending to deal with stupid questions and support day)

Edited by likke_A_boss
Spelling :)
Link to comment
Share on other sites

thx sorry btw. anyway what does the config files do and what do I do with them.

sorry if I got onto you the wrong way

Most user's won't need to touch or modify the configs. It is only if you need to use advanced parameters to handle additional packs. WarpPlugin is a good example of a config. BoulderCo/textureCompressorConfigs/textureCompressor.tcfg is thoroughly documented with examples.

Link to comment
Share on other sites

Greetings,

I fixed the syntax of my overrides statements my toolbar icons are back to normal. Thanks for your help!

Now that everything is working great I have a few general questions that have been lingering in the back of my mind for a while.

1. The config file has the SCALE = X setting which reduces the size of the textures. The game gaphics menu has the texture size slider. (I'm at work now and going by bad memory)

1A. Do these two setting do the same thing, ar e they different and which is better to use?

2A. If I set the config file SCALE = 2 that reduces the textures by half. If I go in the game and set the texture quality to half does that half the textures again? (Now one quarter the size)

3A. Is it better to leave the game texture quality and render quality maxed out and adjust things inside the texturecompressor.cfg file?

2. The config file has the setting "Make_Non_Readable" which if set to true is suppose to move the textures into the graphics card memory.

2A. If the GPU doesn't have enough memory to hold everything I suppose the PC memory is used?

2B. My current GPU has 1.5 GB of memory. If I upgrade the card to something with 3 GB then would that free up system memory or allow more textures/mods to be loaded?

3. Let's pretend for a moment we could hit ALT-F12 and turn on an "Infinite Memory" cheat. Does compressed textures provide better performance in both scene and ship loading times or would uncompressed textures be faster?

Best regards,

The Dude

Link to comment
Share on other sites

Greetings,

I fixed the syntax of my overrides statements my toolbar icons are back to normal. Thanks for your help!

Now that everything is working great I have a few general questions that have been lingering in the back of my mind for a while.

1. The config file has the SCALE = X setting which reduces the size of the textures. The game gaphics menu has the texture size slider. (I'm at work now and going by bad memory)

1A. Do these two setting do the same thing, ar e they different and which is better to use?

2A. If I set the config file SCALE = 2 that reduces the textures by half. If I go in the game and set the texture quality to half does that half the textures again? (Now one quarter the size)

3A. Is it better to leave the game texture quality and render quality maxed out and adjust things inside the texturecompressor.cfg file?

2. The config file has the setting "Make_Non_Readable" which if set to true is suppose to move the textures into the graphics card memory.

2A. If the GPU doesn't have enough memory to hold everything I suppose the PC memory is used?

2B. My current GPU has 1.5 GB of memory. If I upgrade the card to something with 3 GB then would that free up system memory or allow more textures/mods to be loaded?

3. Let's pretend for a moment we could hit ALT-F12 and turn on an "Infinite Memory" cheat. Does compressed textures provide better performance in both scene and ship loading times or would uncompressed textures be faster?

Best regards,

The Dude

1 - I am actually not sure on this one. I'm not sure how squad performs the scalling. I assume it is through the unity render engine, which would scale textures in render, rather than in memory.

I would probably recommend using my mod to manage textures, simply because I know how well the scaling algorithm works.

2 - I do believe the settings would stack.

3 - Yes, this is what I would do. The KSP settings would be applied on top of the mod settings.

4 - PC SYSTEM memory would be used. The graphics card driver would allocate more memory from the system in a driver and hot-swap it in. This of-course is MUCH slower than on-board graphics memory. However, the algorithms tend to keep textures in memory that are being used. Ie. You could a gigantic ship in LKO, and JUST be at the memory limit of your graphics card. If you switch views to a station orbiting Jool, the Jool texture would be loaded into memory, and likely bump the Kerbin texture out, so it would have a one-time frame hit while that texture was loaded out of system memory.

B - It would free up a bit of system memory, but you probably wouldn't notice it, and it wouldn't effect the number of mods you could use.

5 - No, there are no real differences in loading times. All of KSP's textures are loaded into memory at-runtime. That is why it uses so much ram. However, smaller textures and compressed textures (DXT format) do RENDER faster, so frame-rate is positively impacted. MipMaps also help with this too.

Link to comment
Share on other sites

I have a question about the config files... Sorry if this is a doop but I didn't fancy trawling through 80+ pages, and the search bar doesn't seem to work for me.

If I merge the whole lot with GameData like normal will the config files take effect or do I have to do something separate to get the configs up and running?

Cheers.

Link to comment
Share on other sites

I have a question about the config files... Sorry if this is a doop but I didn't fancy trawling through 80+ pages, and the search bar doesn't seem to work for me.

If I merge the whole lot with GameData like normal will the config files take effect or do I have to do something separate to get the configs up and running?

Cheers.

Merging will work just fine.

Link to comment
Share on other sites

Does anyone have a CFG for RLA Stockalike? Been too busy to set one up myself.

I been wondering how to make a config myself. I needed MagucSmokeIndustries compressed so I just copied the AIES_Areospace and renamed it. Don't think it did anything though..

Link to comment
Share on other sites

I been wondering how to make a config myself. I needed MagucSmokeIndustries compressed so I just copied the AIES_Areospace and renamed it. Don't think it did anything though..

You can check the logs, or look in the cache folder to be sure. Make sure that the name matches the folder exactly. The system is case sensitive.

Link to comment
Share on other sites

Greetings,

Thanks for your replies!

How about a stupid feature request?

Could you create a CTRL or ALT key combination to bring up a window that shows the uncompressed and compressed sizes of each folder with totals at the end? It would be good to know what mods are taking the most memory and which ones are best compressed. Anything skipped would show a zero or "Skipped"

Best regards,

The Dude

Link to comment
Share on other sites

Greetings,

Thanks for your replies!

How about a stupid feature request?

Could you create a CTRL or ALT key combination to bring up a window that shows the uncompressed and compressed sizes of each folder with totals at the end? It would be good to know what mods are taking the most memory and which ones are best compressed. Anything skipped would show a zero or "Skipped"

Best regards,

The Dude

I like this. Maybe something that allows users to configure mods without altering configs? Sure. Next release.

Link to comment
Share on other sites

I'm having an issue using release 2-15 of the Aggressive texture management download. The first boot of the game seems to work fine, but after a close and reboot, my kerbals disappear in the picture in picture window that shows them sitting in their capsules, and many of the fonts and text boxes in the game (both stock and various mod related) is obscured, garbled, or cut off.

Anyone else seen this?

Link to comment
Share on other sites

I'm having an issue using release 2-15 of the Aggressive texture management download. The first boot of the game seems to work fine, but after a close and reboot, my kerbals disappear in the picture in picture window that shows them sitting in their capsules, and many of the fonts and text boxes in the game (both stock and various mod related) is obscured, garbled, or cut off.

Anyone else seen this?

Did you modify any of the configs at all?

Link to comment
Share on other sites

I made no modifications to the included configs.

What mods do you have installed? I noticed some issues with moduleManager and buggy mods that did something similar once. I re-installed the mods from the forums and that seemed to fix it.

Link to comment
Share on other sites

You're incredible! That would be fantastic.

Greetings,

Thanks for your replies!

How about a stupid feature request?

Could you create a CTRL or ALT key combination to bring up a window that shows the uncompressed and compressed sizes of each folder with totals at the end? It would be good to know what mods are taking the most memory and which ones are best compressed. Anything skipped would show a zero or "Skipped"

Best regards,

The Dude

I like this. Maybe something that allows users to configure mods without altering configs? Sure. Next release.
Link to comment
Share on other sites

Rbray, I have been checking and doing some testing with the new memory saved counter and no matter how many mods I add or remove, it constantly says I have saved 342 megabytes. Just thought Id raise that to your attention.

Link to comment
Share on other sites

Well, after another boot (my 4th one) with no changes to configs or mods, everything seems to be back in working order. No idea whats going on, but I'll keep an eye on it.

I am running a good handful of mods, including RemoteTech which has kind of a tendency to not play well with other mods. Also running mechjeb, KAS, b9, kw rocketry, FAR, and a few other odds and ends. Note that I was not, as far as I can tell, running into any kind of memory issue (Unity related or tied to my actual hardware).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...