Jump to content

BROKEN [0.90] TextureReplacer 2.1.2 (20.12.2014)


shaw

Recommended Posts

Thanks. Removing ATM made my game playable again, and it's running smooth now. I have 16GB of RAM, so I guess I don't really need ATM anyway.

You're limited by engine's 4 GB anyway, so... :)

ATM is already fixed.

Seems like it also "fixed" visor reflections. I don't see them, even though they're enabled in config.

P.S. Even stranger than that, I don't seem to have reflections anymore even after I disabled ATM O_o

Edited by Mystique
Link to comment
Share on other sites

Upload your log.

Oops, sorry.

I found this :

[TR.TextureReplacer] UnityEngine.UnityException: Texture 'TextureReplacer/EnvMap/PositiveX' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.

at (wrapper managed-to-native) UnityEngine.Texture2D:GetPixels (int,int,int,int,int)

at UnityEngine.Texture2D.GetPixels (Int32 miplevel) [0x00000] in <filename unknown>:0

at UnityEngine.Texture2D.GetPixels () [0x00000] in <filename unknown>:0

at TextureReplacer.Reflections.initialise () [0x00000] in <filename unknown>:0

at TextureReplacer.TextureReplacer.LateUpdate () [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

I'm running into a memory leak when using this mod. Without it my KSP sits at about 2.8 to 3 GB but with this mod my memory usage will slowly climb until KSP runs out of memory. Is anyone else having this issue?

Link to comment
Share on other sites

Oops, sorry.

I found this :

[TR.TextureReplacer] UnityEngine.UnityException: Texture 'TextureReplacer/EnvMap/PositiveX' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.

at (wrapper managed-to-native) UnityEngine.Texture2D:GetPixels (int,int,int,int,int)

at UnityEngine.Texture2D.GetPixels (Int32 miplevel) [0x00000] in <filename unknown>:0

at UnityEngine.Texture2D.GetPixels () [0x00000] in <filename unknown>:0

at TextureReplacer.Reflections.initialise () [0x00000] in <filename unknown>:0

at TextureReplacer.TextureReplacer.LateUpdate () [0x00000] in <filename unknown>:0

Update ATM, 3-6 was buggy and caused this.

Link to comment
Share on other sites

Hmmm, KSP-AVC tells me there is a 1.8 version of this mod. But still 1.7.3 here and on the download page.

There's 1.8 prerelease on GitHub. I'm not yet sure if I will officially release it.

UPDATE: I've split the prerelease version to a new branch. It shouldn't report a new version any more.

Edited by shaw
Link to comment
Share on other sites

I downloaded a very nice HD skybox but in the game it looks really ugly, I think this mod change some things I guess, is there a way to fix this?

Thanks

Disabling texture compression in `@Default.cfg` might help.

Link to comment
Share on other sites

I'm running into a memory leak when using this mod. Without it my KSP sits at about 2.8 to 3 GB but with this mod my memory usage will slowly climb until KSP runs out of memory. Is anyone else having this issue?

Does this happen during loading or gameplay? Use of TR can increase memory usage if you have some big replacement textures. Especially planet textures are usually pretty huge.

Link to comment
Share on other sites

Does this happen during loading or gameplay? Use of TR can increase memory usage if you have some big replacement textures. Especially planet textures are usually pretty huge.

During Gameplay. During loading it tops out at about 2.5-2.8 GB

Link to comment
Share on other sites

can someone please help. i'm trying to get this mod going, and i'm probably being really stupid, but i can't seem to figure it out :'(

Not sure what you mean. Drop it into your gamedata and you should be set, unless you want cool textures or more kerbal heads, then you need a pack featured on the first page.

Link to comment
Share on other sites

Not sure what you mean. Drop it into your gamedata and you should be set, unless you want cool textures or more kerbal heads, then you need a pack featured on the first page.

sorry. trying to get my custom Universe Replacer textures working, but they won't.

Link to comment
Share on other sites

sorry. trying to get my custom Universe Replacer textures working, but they won't.

Universe replacer uses a different folder setup than Texture Replacer, Read the first page some more and see if that gives you any insight as to how to make the conversion.

Link to comment
Share on other sites

Maybe ATM 3-6. Upload your log.

I'm using ATM 3.7. Here it goes (there are definitely some errors there regarding TR and; perhaps, texture pack, even though pack seems to be working fine):

https://www.dropbox.com/s/o1fcp2h31ka56ge/KSP.log?dl=0

[LOG 19:31:07.747] [TR.TextureReplacer] Reading configuration: TextureReplacer/@Default/TextureReplacer
[LOG 19:31:07.749] [TR.TextureReplacer] Reading configuration: TextureReplacer/Diverse/TextureReplacer
[LOG 19:31:07.750] [TR.TextureReplacer] Reading configuration: TextureReplacer/scart91/TextureReplacer
[LOG 19:31:07.750] [TR.TextureReplacer] Reading configuration: TextureReplacer/SylithExt/TextureReplacer
[LOG 19:31:07.751] [TR.Loader] Detected Active Texture Management, disabling texture compression.
[LOG 19:31:07.752] [TR.Loader] Detected Active Texture Management, disabling mipmap generation.
[LOG 19:31:07.753] [TR.Loader] Detected Active Texture Management, disabling texture unloading.
[LOG 19:32:53.499] [TR.Replacer] Mapped "GalaxyTex_NegativeX" -> TextureReplacer/Default/GalaxyTex_NegativeX
[LOG 19:32:53.499] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeX
[LOG 19:32:53.500] [TR.Replacer] Mapped "GalaxyTex_NegativeY" -> TextureReplacer/Default/GalaxyTex_NegativeY
[LOG 19:32:53.501] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeY
[LOG 19:32:53.501] [TR.Replacer] Mapped "GalaxyTex_NegativeZ" -> TextureReplacer/Default/GalaxyTex_NegativeZ
[LOG 19:32:53.502] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeZ
[LOG 19:32:53.503] [TR.Replacer] Mapped "GalaxyTex_PositiveX" -> TextureReplacer/Default/GalaxyTex_PositiveX
[LOG 19:32:53.503] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveX
[LOG 19:32:53.504] [TR.Replacer] Mapped "GalaxyTex_PositiveY" -> TextureReplacer/Default/GalaxyTex_PositiveY
[LOG 19:32:53.505] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveY
[LOG 19:32:53.505] [TR.Replacer] Mapped "GalaxyTex_PositiveZ" -> TextureReplacer/Default/GalaxyTex_PositiveZ
[LOG 19:32:53.506] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveZ
[LOG 19:32:53.507] [TR.Replacer] Mapped "KerbinScaledSpace300" -> TextureReplacer/Default/KerbinScaledSpace300
[LOG 19:32:53.507] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/KerbinScaledSpace300
[LOG 19:32:53.508] [TR.Replacer] Mapped "NewMunSurfaceMap00" -> TextureReplacer/Default/NewMunSurfaceMap00
[LOG 19:32:53.509] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/NewMunSurfaceMap00
[LOG 19:32:53.509] [TR.Replacer] Mapped "NewMunSurfaceMapDiffuse" -> TextureReplacer/Default/NewMunSurfaceMapDiffuse
[LOG 19:32:53.510] [TR.Replacer] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/NewMunSurfaceMapDiffuse
[LOG 19:32:53.516] [TR.Reflections] Environment map -x -> TextureReplacer/EnvMap/NegativeX
[LOG 19:32:53.516] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeX
[LOG 19:32:53.517] [TR.Reflections] Environment map -y -> TextureReplacer/EnvMap/NegativeY
[LOG 19:32:53.518] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeY
[LOG 19:32:53.518] [TR.Reflections] Environment map -z -> TextureReplacer/EnvMap/NegativeZ
[LOG 19:32:53.519] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeZ
[LOG 19:32:53.520] [TR.Reflections] Environment map +x -> TextureReplacer/EnvMap/PositiveX
[LOG 19:32:53.520] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveX
[LOG 19:32:53.521] [TR.Reflections] Environment map +y -> TextureReplacer/EnvMap/PositiveY
[LOG 19:32:53.521] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveY
[LOG 19:32:53.522] [TR.Reflections] Environment map +z -> TextureReplacer/EnvMap/PositiveZ
[LOG 19:32:53.523] [TR.Reflections] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveZ
[LOG 19:32:53.627] [TR.Reflections] Environment map cube texture generated.
[LOG 19:32:53.642] [TR.Reflections] Visor shader sucessfully compiled.
[LOG 19:32:53.647] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeX
[LOG 19:32:53.648] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeY
[LOG 19:32:53.648] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_NegativeZ
[LOG 19:32:53.649] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveX
[LOG 19:32:53.650] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveY
[LOG 19:32:53.650] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/GalaxyTex_PositiveZ
[LOG 19:32:53.651] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/KerbinScaledSpace300
[LOG 19:32:53.652] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/NewMunSurfaceMap00
[LOG 19:32:53.652] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/Default/NewMunSurfaceMapDiffuse
[LOG 19:32:53.653] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeX
[LOG 19:32:53.654] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeY
[LOG 19:32:53.654] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/NegativeZ
[LOG 19:32:53.655] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveX
[LOG 19:32:53.656] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveY
[LOG 19:32:53.656] [TR.Personaliser] Corrupted GameDatabase! Problematic TGA? TextureReplacer/EnvMap/PositiveZ

Link to comment
Share on other sites

Does the error still happen if you remove ATM?

With disabled ATM seems like it doesn't, though reflections don't show up either:

[LOG 20:30:39.843] Load(Texture): TextureReplacer/Default/GalaxyTex_NegativeX
[LOG 20:30:40.268] Load(Texture): TextureReplacer/Default/GalaxyTex_NegativeY
[LOG 20:30:40.654] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_NegativeX [2048x2048 DXT5 -> DXT1]
[LOG 20:30:41.137] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_NegativeY [2048x2048 DXT5 -> DXT1]
[LOG 20:30:41.139] Load(Texture): TextureReplacer/Default/GalaxyTex_NegativeZ
[LOG 20:30:41.917] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_NegativeZ [2048x2048 DXT5 -> DXT1]
[LOG 20:30:41.919] Load(Texture): TextureReplacer/Default/GalaxyTex_PositiveX
[LOG 20:30:42.764] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_PositiveX [2048x2048 DXT5 -> DXT1]
[LOG 20:30:42.766] Load(Texture): TextureReplacer/Default/GalaxyTex_PositiveY
[LOG 20:30:43.525] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_PositiveY [2048x2048 DXT5 -> DXT1]
[LOG 20:30:43.527] Load(Texture): TextureReplacer/Default/GalaxyTex_PositiveZ
[LOG 20:30:44.316] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/GalaxyTex_PositiveZ [2048x2048 DXT5 -> DXT1]
[LOG 20:30:44.317] Load(Texture): TextureReplacer/Default/KerbinScaledSpace300
[LOG 20:30:48.864] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/KerbinScaledSpace300 [8192x4096 DXT5 -> DXT5]
[LOG 20:30:48.888] Load(Texture): TextureReplacer/Default/NewMunSurfaceMap00
[LOG 20:30:51.031] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/NewMunSurfaceMap00 [4096x2048 DXT5 -> DXT1]
[LOG 20:30:51.039] Load(Texture): TextureReplacer/Default/NewMunSurfaceMapDiffuse
[LOG 20:30:58.024] [TR.Loader] Generated mipmaps & compressed TextureReplacer/Default/NewMunSurfaceMapDiffuse [8192x4096 DXT1 -> DXT1]
[LOG 20:30:58.038] Load(Texture): TextureReplacer/EnvMap/NegativeX
[LOG 20:30:58.327] Load(Texture): TextureReplacer/EnvMap/NegativeY
[LOG 20:30:58.348] [TR.Loader] Generated mipmaps & compressed TextureReplacer/EnvMap/NegativeX [512x512 DXT1 -> DXT1]
[LOG 20:30:58.643] [TR.Loader] Generated mipmaps & compressed TextureReplacer/EnvMap/NegativeY [512x512 DXT1 -> DXT1]
[LOG 20:30:58.644] Load(Texture): TextureReplacer/EnvMap/NegativeZ
[LOG 20:35:06.207] [TR.Replacer] Mapped "GalaxyTex_NegativeX" -> TextureReplacer/Default/GalaxyTex_NegativeX
[LOG 20:35:06.208] [TR.Replacer] Mapped "GalaxyTex_NegativeY" -> TextureReplacer/Default/GalaxyTex_NegativeY
[LOG 20:35:06.208] [TR.Replacer] Mapped "GalaxyTex_NegativeZ" -> TextureReplacer/Default/GalaxyTex_NegativeZ
[LOG 20:35:06.209] [TR.Replacer] Mapped "GalaxyTex_PositiveX" -> TextureReplacer/Default/GalaxyTex_PositiveX
[LOG 20:35:06.210] [TR.Replacer] Mapped "GalaxyTex_PositiveY" -> TextureReplacer/Default/GalaxyTex_PositiveY
[LOG 20:35:06.210] [TR.Replacer] Mapped "GalaxyTex_PositiveZ" -> TextureReplacer/Default/GalaxyTex_PositiveZ
[LOG 20:35:06.211] [TR.Replacer] Mapped "KerbinScaledSpace300" -> TextureReplacer/Default/KerbinScaledSpace300
[LOG 20:35:06.212] [TR.Replacer] Mapped "NewMunSurfaceMap00" -> TextureReplacer/Default/NewMunSurfaceMap00
[LOG 20:35:06.212] [TR.Replacer] Mapped "NewMunSurfaceMapDiffuse" -> TextureReplacer/Default/NewMunSurfaceMapDiffuse
[LOG 20:35:06.217] [TR.Reflections] Environment map -x -> TextureReplacer/EnvMap/NegativeX
[LOG 20:35:06.217] [TR.Reflections] Environment map -y -> TextureReplacer/EnvMap/NegativeY
[LOG 20:35:06.218] [TR.Reflections] Environment map -z -> TextureReplacer/EnvMap/NegativeZ
[LOG 20:35:06.219] [TR.Reflections] Environment map +x -> TextureReplacer/EnvMap/PositiveX
[LOG 20:35:06.219] [TR.Reflections] Environment map +y -> TextureReplacer/EnvMap/PositiveY
[LOG 20:35:06.220] [TR.Reflections] Environment map +z -> TextureReplacer/EnvMap/PositiveZ
[LOG 20:35:06.315] [TR.Reflections] Environment map cube texture generated.
[LOG 20:35:06.330] [TR.Reflections] Visor shader sucessfully compiled.

Link to comment
Share on other sites

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