SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: CarmineHilton on July 09, 2009, 06:27:12 AM

Title: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 09, 2009, 06:27:12 AM
Hello,

I work with the LE frequently and I ran into a problem today. I found a very nice texture I want to use on one of my latest lots, however when I build the lot in-game a different texture shows up. I read about it before and it has something to do with the code (0xba00e000) not being different enough from another one.

So... I opened the SC4 Tool to extract the texture so that I could upload it again with a different code, however when I entered the texture's name (= 0xba00e000) it said it couldn't find it.
What to do? I really want to use this texture so is there another way to fix it? :)


Images:
In LE:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg44.imageshack.us%2Fimg44%2F6476%2Fletexture.jpg&hash=54962017311d3ed6159813dd4ea5d0fc754c8c10)

In Game:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg44.imageshack.us%2Fimg44%2F2273%2Figtexture.jpg&hash=185ae5222db33756316334db34e35559388265fe)
Title: Re: Texture in LE changes in game; what to do?
Post by: Diggis on July 09, 2009, 07:19:19 AM
The wealth of the texture is the reason there.  Is this a Maxis texture?  You'll need to extract it (not sure the easiest way to find it, but I would use the reader) and create it with a new IID (if you don't have a range, get it from Barby).

Additionally, could you please convert pics for upload to JPG, not PNG as PNG's take an age to load.  ;)
Title: Re: Texture in LE changes in game; what to do?
Post by: RippleJet on July 09, 2009, 07:23:45 AM
I'm pretty sure it's not a Maxis texture.
Where did you find the texture?
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 09, 2009, 08:54:31 AM
Both textures are from BSC Textures Vol01 and were made by ripptide and me. I have checked the texture by making a plaza with 0xba00e000 and it shows correctly in game. There should be no wealth conflicts as the 5th digit is out of the 0-3 range.
Can you please check that you don't have two base textures one on top of the other? Apart from that I cannot see any reason for it not to display correctly in game.
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 09, 2009, 10:41:21 AM
@ RippleJet: BarbyW answered that one, it's from the BSC Textures Vol01 pack.

@ BarbyW: I'm aware of that bug so I would've know if it was that. So sadly enough, if isn't. It's really strange =s But all the other textures with almost the same code (0xba00c000, 0xba00d000...) show up like that one texture in-game too.... :s
Title: Re: Texture in LE changes in game; what to do?
Post by: M4346 on July 09, 2009, 10:48:04 AM
I'm going to pipe in here, so shoot me if this is irrelevant.

I think you may have a texture that loads after that texture that has exactly the same IID.

Try placing the texture pack in the root of your plugins and with a z_ preceding it.

You may use two different folders to LOT and play, respectively?
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 09, 2009, 10:53:55 AM
Hii Marius, it's been a long time!

It could be possible what you're saying. I save my lots and my plugins at different locations but I put all dependencies (textures, props, ...) together in 1 map. I'll search for the Texture Pack and add a 'z_' in front of it to see what happens. Should I also move it to a different folder or not (dunno if that changes anything)? :)


thx x!
Title: Re: Texture in LE changes in game; what to do?
Post by: M4346 on July 09, 2009, 10:57:14 AM
Yeah, it has been a while :) RL stuff and what not! :) I'm glad to see you've taken to lotting now as well. :P

Quote from: CarmineHilton on July 09, 2009, 10:53:55 AMShould I also post it in a different folder or not (dunno if that changes anything)? :)

I would suggest that you place that BSC Mega Texture Pack in the root folder (My Documents/SimCity 4/Plugins) in the folder that you use to play the game with and see if that solves it. :)
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 09, 2009, 11:19:10 AM
If that solves the problem, then you have another texture that is conflicting. We really need to know what it is so I would be sooooo grateful if you could try to root out the problem. Can you check all the texture packs that you had in plugins when you were lotting that? If you post a list I will try to check them - providing I can find them all.
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 09, 2009, 01:44:31 PM
I moved the texture pack from:
Simcity4 > Plugins > Dependencies & Essentials > BSC > BSC Textures
to
Simcity 4 > Plugins

and I renamed it to "z_BSC Textures Vol 01.dat"



NO RESULT...
:(
Title: Re: Texture in LE changes in game; what to do?
Post by: M4346 on July 09, 2009, 02:05:13 PM
Barby is it possible that his specific texture pack could have a conflict?

Carmine, have you tried downloading the pack again?

(I know this might be tedious, but I don't have your PC in front of me :( )
Title: Re: Texture in LE changes in game; what to do?
Post by: RippleJet on July 09, 2009, 02:34:59 PM
Quote from: CarmineHilton on July 09, 2009, 01:44:31 PM
I moved the texture pack from:
Simcity4 > Plugins > Dependencies & Essentials > BSC > BSC Textures
to
Simcity 4 > Plugins

and I renamed it to "z_BSC Textures Vol 01.dat"



NO RESULT...
:(

Any files in the plugins root will actually be loaded first, before all subfolders.
Do you think you could retry the experiment by placing the BSC Textures in a zzzz subfolder?
Title: Re: Texture in LE changes in game; what to do?
Post by: M4346 on July 09, 2009, 02:41:12 PM
Quote from: RippleJet on July 09, 2009, 02:34:59 PM
Any files in the plugins root will actually be loaded first, before all subfolders.
Do you think you could retry the experiment by placing the BSC Textures in a zzzz subfolder?

:-[

Mea culpa
Title: Re: Texture in LE changes in game; what to do?
Post by: geoffhaw on July 09, 2009, 03:30:06 PM
Both Barby and I have tried to replicate the problem with no success.  The texture it seems to be conflicting with is 0xba00f600, also in BSC Textures Vol 01.

It could be something to do with the '6' in the IID.  Could you send me the file(s) so we could experiment with the Lot settings?  It would save a lot of guessing on our part.

I've sent you my email address by PM.
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 10, 2009, 02:24:52 AM
@ M4346/Marius: I've downloaded it again, moved it to another folder (zzzz_) but still no succes....
@ RippleJet: look above :)

@ geoffhaw: I sent you the file =) it's a big lot though, sorry ;p
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 10, 2009, 03:15:15 AM
I tried again to reporduce this problem with two lots I am working on. I still had the same texture appear in LE and in game.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi5.photobucket.com%2Falbums%2Fy171%2Fbarbyw%2Fbasetexture.jpg&hash=df8ba7effe555e7ebefcddd4e17441a9115c73ae)

I also went back to the BSC Texture Index thread at Simtropolis as I remembered something being posted about the sixth digit - referred to in geoffhaw's post above. I found the following exchange between Karybdis and geoffhaw from 2004:
Karybdis
Quote0x0986135E - FSH - Base and Overlay Textures
0xAAAABCDE
A = OverLay/Base ID
B = Wealth
C = Descriptor (Controls State, and things like Zone Tile Part#'s)
D = Unused, or a 0 on the end of the Descriptor. Your Choice.
E = Zoom

geoffhaw
QuoteOne question though, in the GID 0986135e, can you explain what you mean by:

C = Descriptor (Controls State, and things like Zone Tile Part#'s)

This is the one digit of the IID that I was sure did something, but I couldn't nail it down.  I have had trouble in getting textures to degrade during abandonment, perhaps this is where I should look.  (By this I only mean during the initial abandonment period, not normal degredation because of a change in wealth level of a lot.)

Karybdis

QuoteDescriptor

I've seen it used in two instances so far. Of course I havent looked at all the textures. Just as many as I could before going pieeyed

Unbuilt Lot Textures. Specifically commercial that I spotted. For some lots before they are built, specifically multi-lots, there will be a zone texture that covers more than one tile. In this case, the descriptor tells which part of the zone texture it is. IE bottom right of a 2 wide lot, or left top, or etc.

True Overlay textures. In the case of a texture such as grass to be placed on a built lot, the descriptor seems to control the state of the lot. IE the descriptor for one texture will have the lots condition gradually degrading by adding more and more open dirt instead of grass. How the game uses these degraded lots I'm not sure. Possibly in combination with garbage or abandonement numbers.

I'm not sure if this will help.
Title: Re: Texture in LE changes in game; what to do?
Post by: geoffhaw on July 10, 2009, 03:30:47 PM
I've looked at the lot file in LE, and plopped it into a city into the game.  Sorry to say that I can't reproduce the error. 

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi122.photobucket.com%2Falbums%2Fo268%2Fgeoffhaw%2FChateautexture.jpg&hash=785fe47c56937467be85561dac041380d0cab6c8)

All I can suggest right to try and find the problem is the following:

1 - Clear your plugins of everything except BSC Textures Vol 01 and your lot file.
2 - Open the game and plop the lot.
3 - See if the lot shows the correct textures.  If it doesn't, well I'm stumped because you'll have the exact same conditions as when I took the screenshot above.
4 - If it does show the correct textures, add just the other files needed for your lot.  (Model, desc, prop packs etc.)
5 - Plop the lot again and see what happens.  If the textures change to the incorrect ones, we've narrowed it down to those files.  If the textures remain the correct ones, we are then down to adding the rest of your plugins until the textures change to the incorrect ones. 
6 - If you do need to add the rest of your plugins, don't worry as you don't have to add them one by one!  Just load half of them and test.  If the textures remain ok, the problem must be in the half of your plugins you didn't load.  If the textures change to the incorrect ones, the problem is in the half you did load.  Just take out half of these plugins and repeat until you get to the plugin that must be causing the problem.

In the meantime, I'll send you a dat file with just the texture you want (0xba00e000) with a different IID.

Good luck, and let us know how you get on!
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 11, 2009, 01:55:53 AM
geoffhaw also sent me the lot file to check. I cannot reproduce the problem even with my full plugins. You must have a conflict somewhere in your plugins set up. I did note that an odd desc was showing in the LD file. There was a reference to one of bixel's HK BATs - Tin Tower. As I cannot see you putting a high rise building on that lot, check why that is showing as a dependency.
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 11, 2009, 02:00:00 AM
@ geoffhaw; I did what you asked and the file causing the texture to be overwritten by another (or whatever it does) is >> RT_stonetilebullring.dat <<
Thx for the help and also thx for the new texture (though I won't be needing it anymore I guess  :))
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 11, 2009, 02:12:26 AM
The RT_stonetilebullring.dat  is an outdated file and should be removed anyway.
Can I suggest a thorough cleaning of your plugins ;D and some updating to make sure you have the latest files?

Edit: forget the first sentence as I am trying to findout what is going on. I shall liaise with geoffhaw and we will get back on this.
Title: Re: Texture in LE changes in game; what to do?
Post by: CarmineHilton on July 11, 2009, 02:23:12 AM
Quote from: BarbyW on July 11, 2009, 02:12:26 AM
The RT_stonetilebullring.dat  is an outdated file and should be removed anyway.
Can I suggest a thorough cleaning of your plugins ;D and some updating to make sure you have the latest files?
Oh LOL! My plugins list is actually very organised, I guess only my "Dependencies & Essentials"-map isn't. ;p
Title: Re: Texture in LE changes in game; what to do?
Post by: BarbyW on July 11, 2009, 02:57:57 AM
OK you can delete that RT_stonetilebullring.dat. I need to update the LEX upload for the Plaza del Toros to remove that. I installed the lot again from the LEX and checked the lot as it stands. The odd thing is that the base texture shown on the lot is 0xBA00F600 not the IID shown in the included dat. If I check the file with just the included dat I am missing the base textures yet to my knowledge I never redid the lot with the new IID. Ah well these things come to try us and at least I can now remove that dat from future downloads.