Jump to content
simmaster07

Revisiting Prop Pox and Prop Theory

106 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Very interesting, well done. Hopefully this leads to a cure.

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Amazing work in getting us towards a fix for one of the remaining bug-bears of the custom content.

Like Twrecks, I'd also love to give you more than one 'like' for this....thankfully MOTM has returned for us to show our extra appreciation instead*:thumb:

  • Like 3
  • Yes 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

@simmaster07 Thanks for this revisit, amazing work indeed, finally I started to understand what is going on. My limited english and understanding the game processes still give me a lot of black hole, but at least not everything is black now... :D:D
I will send a PM with my latest Prop Pox-ish issues and the city save files. In the meantime, I have experienced prop pox-ish shymptones three times so far, and in only one case was the actuall guilty the BDK resource kit and its modified props. Second time I messed with some RTK4 properties, which I didn't understand at that time, third time (this happened last september and the a returning problem after Christmas) the somehow already damaged save file (which didn't show any singn about this) was triggered by a bunch of broken lots - there was a essential file update which accidently didn't contain the necessary prop family examplars which caused that the props disappeared from the lots, after that this essential was fixed but I started to demolish and rebuild the lots again, and that bulldozing process triggered the Prop Pox. But only in one affected city  by the broken lots, the other city thanks it's fine in a way.

But in this last two cases I didn't have the BDK kit at all installed or near to my plugin folder (and never was).

But the other question is, what is about the disabled props? It was told, that disabled prop can cause the Prop Pox too and they are hand-in-hand, but on your picture and what was my experience in the last case, there wasn't any disabled props. Also I have a city (which had the above mentioned broken lots, but bulldozing them hasn't caused any trouble) which has 4-5 disabled props, as I understand probably because once I made a huge rebuilding and redesigning project in the city and bulldozed most of the existing buildings and rezoned the half city. So how about this city, when it reach a point, because of the disabled props the Prop Pox is inevitable? Because according to the current understanding, this is the case...

- Tyberius

  • Like 5
  • Yes 1

I'm responsible for the Heretic uploads a.k.a. Heretic Projects, you may find updates about my ongoing projects into my development thread over at SimCity 4 DevotionTyberius Lotting Experiments or here on Simtropolis into the Tyberius (Heretic Projects) Lotting and Modding Experiments OR Show Us What You're Working On thread.

Now I'm part of the NAM Team and the RTMT Team.
I'm also working on some preservation and reorganization projects the behalf of non-anymore-active-developers and with the permission of the Staffs both on STEX and LEX. Current projects: SimcityPolska Restoration and WMP (WorkingManProduction) Restoration.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
12 hours ago, simmaster07 said:

I like a good challenge, so I decided to take this one up.

Amazing. Simply amazing. *:thumb:

  • Like 1
  • Yes 2

Chance favors the prepared mind. ― Louis Pasteur  
Remember, a few hours of trial and error can save you several minutes of looking at the README. -- I Am Devloper (on Twitter)

Clickable ---> The Best of Cori's Posts  (scroll down a wee bit there)    Something fun: MySimtropolis - Invitation to become a SimCity 4 MySim

Are you new here? Check out the Introduction and Guide to Simtropolis.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

A truly fascinating insight into arguably the single biggest mystery clouding SimCity 4 over the past 15 years. Existing theories can be difficult to challenge, especially when there's been so long since they were established and last discussed. But until confirmed or dismissed, any given theory can only at best be accepted as a plausible hypothesis. Research can be cumulative over a number of attempts, but it's really only until finding a proven solution where an idea is acceptable as fact.

Your findings not only provide a clear and detailed analysis of the issue, but already delve into a brand new perspective on the technicalities within. The mechanism how the save process operates, and conditions required to reproduce the bug. Since you've found it's possible to trigger from the steps described, I begin to wonder whether Prop Pox is as rare as we may have previously thought. Could it potentially be more widespread? By being able to initiate the process of corruption relatively easily, I feel it opens the door for additional testing. Perhaps there are differences between the CD and various digital versions of the game?

Right here and now, the fact there's mention of a possible cure is incredible to think. Beyond words in fact. Because up until this point, there was very little hope left. Instead just mere speculation surrounded by cluttered confusion. A case of reducing risk factors without fully understanding what the risks are. What you've done here is turned a faint glimmer into a brighter radiant light. Whichever way and whatever may happen next, unbelievably you've given us renewed hope.

For that the entire SC4 community (already) couldn't be more thankful for your efforts. *:)

I've featured this topic and shall be following it with great interest...

  • Like 7
  • Yes 1

Quick Links

“SimCity 4 is not just a game, but a tool driven by our own imagination and creativity.”

Buy me a coffee

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
9 hours ago, T Wrecks said:

I'd love to give you more than one "Like" for this post

And if a vaccine DLL emerges, nominate him for yet another breakthrough medal  *:party:

  • Like 2
  • Yes 1

-- Jeff Fisher ><> Vancouver WA
"I may be pissing into the wind, but if I keep my enemies behind me and aim carefully, I can still rain on their parade."

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Excellent analysis. Thank you for running additional experiments concerning this issue. :thumb:  Unfortunately I don't have a prop pox infected savegame to send you for further analysis. :(

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Is it possible there's a Texture Pox, as well?


And at the base, there was text that read as follows: "I'm Ramses II, Pharaoh of Egypt. Those who question my authority, look at all I've built, and stand corrected!" All that is around is sand.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

In theory it could happen to any type of subfile stored in the savefile, that stores overrideable objects, at decompression time.

Would it happen in practice? I don't know. It largely depends on the subfile structure and how the game loads it. It was assumed some time ago that the Flora subfile (That stores Flora objects on lots) would likely also be susceptible to this bug. Since nobody has really ever done anything with Lot Flora (Pretty much every flora pack (trees, shrubs, flowers, etc) I know of adds flora as props instead of as Lot Flora), it was considered dismissable.

  • Like 2

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Amazing, kudos to you dude.  Prop pox has plagued us for so long, it's hard to wrap my head around that there might be a breakthrough here

  • Like 2

~CoastRunner

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
3 hours ago, Flat Raver said:

Is it possible there's a Texture Pox, as well?

Good question, but I honestly doubt that. Props are basically lot objects that refer to a pre-rendered model, which is identified by a "Resource Key Type n" property, where n can have different values for static props or props that appear/disappear over time. Depending on this, the "Resource Key Type" property has different lengths (timed props require more information!), and confusion with lengths causes this save file corruption.

Textures, however, don't have such a property AFAIK. Therefore, I don't think they are susceptible to the problem that is at the root of prop pox. The texture itself is identified by an instance ID (IID) that is a static, 8-digit hexadecimal value. Other parameters such as orientation or position on the lot are stored in the lot file. Inside the lot file, each object on the lot is assigned one line that defines at what position (X/Y/Z axis, Z axis (height) being a moot point for textures) and in what orientation (N/E/S/W) that object is placed. These lines have a default number of entries, but the number of entries can vary. Since the lines are specific to each lot and don't override a conflicting Maxis default, they shouldn't be able to cause save file corruption.

Why do you ask, though? Do you experience texture problems in game? Or just curiosity?

  • Like 4

-=| You can choose a ready guide in some celestial voice ||| If you choose not to decide you still have made a choice |=-
-=| You can choose from phantom fears and kindness that can kill ||| I will choose a path that's clear - I will choose free will |=-

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Trying to follow along here...

giphy.gif

Is it possible to completely avoid prop pox by not using dependencies that modify original Maxis prop exemplars?
And if that's the case, is it a matter of identifying said dependencies and either a) avoid using them, or b) modify them such that they use custom props with the intended modified properties, instead of with the original (though modified) Maxis props?  Ie., does prop pox happen with custom props, too?

  • Like 4

ldrxcth.jpg

GOOD TEXTURES ARE MADE, NOT FOUND.
(I get tired of saying that in BAT threads.)

"Never keep up with the Joneses. Drag them down to your level." - Quentin Crisp
"I believe in talking behind peoples' backs. That way, they hear it more than once." - Fran Lebowitz
"Ordinary morality is for ordinary people." - Aleister Crowley
"No one ever said on their deathbed, 'Gee, I wish I had spent more time alone with my computer.' " - Dani Bunten Berry

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I think that by now we should be measuring time in terms of before and after the SC4fix, don't you think? It has changed and has the ability to change so much about the game that anything else would be an understatement!


About the possibility of a texture pox, it cannot happen for the same reason you can 'hot-swap' texture replacements without having to demolish or obliterate anything. On the other hand, the need to demolish the lots using props or buildings one is about to delete from the plugins folder spans from the same issue: to avoid keeping information on the savefile which has no relation to the plugins whatsoever, to avoid file corruption.

23 minutes ago, madhatter106 said:

Is it possible to completely avoid prop pox by not using dependencies that modify original Maxis prop exemplars?

 

24 minutes ago, madhatter106 said:

does prop pox happen with custom props, too?

Prop pox ocurrs when there is a property mismatch between existing and new props, so it can happen both between Maxis' and Maxis modified props or between custom props and custom modified props (for example, a custom static car prop replaced by a timed car prop with the same ID).

In principle (and this has been the main palliative method used), you can avoid the prop by not using modified props that share their IDs with the original ones, but if Simmaster's findings are consistent, a change in the way the game saves city tiles can make those cautions irrelevant, by fixing the way the city tile file gets corrupted.

  • Like 4

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
1 hour ago, matias93 said:

Prop pox ocurrs when there is a property mismatch between existing and new props, so it can happen both between Maxis' and Maxis modified props or between custom props and custom modified props (for example, a custom static car prop replaced by a timed car prop with the same ID).

 

yep I can attest to this as I induced prop pox in a region with solely custom content of my own making - so I had only myself to blame. . *:rofl:

  • Like 2
  • Yes 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
8 hours ago, T Wrecks said:

Good question, but I honestly doubt that. Props are basically lot objects that refer to a pre-rendered model, which is identified by a "Resource Key Type n" property, where n can have different values for static props or props that appear/disappear over time. Depending on this, the "Resource Key Type" property has different lengths (timed props require more information!), and confusion with lengths causes this save file corruption.

Textures, however, don't have such a property AFAIK. Therefore, I don't think they are susceptible to the problem that is at the root of prop pox. The texture itself is identified by an instance ID (IID) that is a static, 8-digit hexadecimal value. Other parameters such as orientation or position on the lot are stored in the lot file. Inside the lot file, each object on the lot is assigned one line that defines at what position (X/Y/Z axis, Z axis (height) being a moot point for textures) and in what orientation (N/E/S/W) that object is placed. These lines have a default number of entries, but the number of entries can vary. Since the lines are specific to each lot and don't override a conflicting Maxis default, they shouldn't be able to cause save file corruption.

Why do you ask, though? Do you experience texture problems in game? Or just curiosity?

Because I've been experiencing industrial lots having squares that don't have any texture at all, but instead just leaves a gaping hole down to the abyss

  • Like 1

And at the base, there was text that read as follows: "I'm Ramses II, Pharaoh of Egypt. Those who question my authority, look at all I've built, and stand corrected!" All that is around is sand.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Ah, okay. Good thing you asked. Do you have some screenshots and/or some links to the lots in question, or at least their names and a description of what's missing?

Chances are it's as simple as a missing, broken/damaged or outdated dependency. Might take a while to figure out, but it should be able to be fixed, and the worst case is that you'll have to demolish and re-grow/plop the affected lots, but you won't have to fear the effect spreading over to other stuff and permamently corrupting anything. *:)

  • Like 1
  • Yes 1

-=| You can choose a ready guide in some celestial voice ||| If you choose not to decide you still have made a choice |=-
-=| You can choose from phantom fears and kindness that can kill ||| I will choose a path that's clear - I will choose free will |=-

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I had that exact texture issue when I loaded IRM into a pre-IRM city.


Known as Kitsune on sc4e. NAM Team Member.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

You are my hero! I'll test it as soon as possible :D

  • Like 2

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

consider the possibility that the original code compile had something bogus and simply re-compiling it fixes it?

I've seen such nonsense from compilers before....back in the day.  As in the era of compilers SC4 would have been compiled on......

  • Like 3

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

@simmaster07

Oh man!!!! Sorry I couldn't send the file, lack of time of so, but I tested your attached fix, with the above described/mentioned damaged city tile of mine (with that one where if I bulldoze certain lots, I got poxed, but if I'm not touching those lots, nothing special really happens). I bulldozed and rebuilt some all of those lots which usually triggering the prop pox in that city and...

I HASN'T GOT ****ING PROP POX!!! :rofl::party:

I saved a couple of times and while I finished the bulldozing rebuilding process I ended up with 16 disabled props according to the SC4 Save program, but that's it, I can't see visable missing props/wiped out city parts, I don't see any filesize dropping on the save file, rather it was increase a bit (from 44,2 to 44,3 and I only made the replopping stuff of these used to be Prop Pox triggering lots)

So, I'm actually can't say anything... First I realized, that your "fix" in this particular case is working it brought some teardrop into my eyes... Really... it's awesome... I can't actually belive... :D :D :D

Thank you very much, I can't be gratefull enough...

- Tyberius

 

  • Like 6
  • Thanks 2

I'm responsible for the Heretic uploads a.k.a. Heretic Projects, you may find updates about my ongoing projects into my development thread over at SimCity 4 DevotionTyberius Lotting Experiments or here on Simtropolis into the Tyberius (Heretic Projects) Lotting and Modding Experiments OR Show Us What You're Working On thread.

Now I'm part of the NAM Team and the RTMT Team.
I'm also working on some preservation and reorganization projects the behalf of non-anymore-active-developers and with the permission of the Staffs both on STEX and LEX. Current projects: SimcityPolska Restoration and WMP (WorkingManProduction) Restoration.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

I have a tile that has disabled props - but no pox. I've destroyed the lots -  but its still disabled (unlike the other neighbouring tile I sent which is fully pox'ed). I would like to see what would happen if we could re-enable disabled props in a non pox city. As in a pox city - the ID's are all 0 for the disabled props, but with no pox the ID's remain and its a simple flag that needs to be reflipped.


Known as Kitsune on sc4e. NAM Team Member.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
11 hours ago, simmaster07 said:

I still have absolutely no idea how my DLL is more stable than the game's normal implementation.

Perhaps yours succeeds because you instinctively used correct as-modded prop-size values instead of whatever pre-mod short value that the original code assumed was still valid.


-- Jeff Fisher ><> Vancouver WA
"I may be pissing into the wind, but if I keep my enemies behind me and aim carefully, I can still rain on their parade."

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

huh, this whole time when people mentioned "Prop Pox" I thought they were referring to when seemingly random props replaced other props... i.e. a prop of some sort is visible, but is the completely incorrect one.   Somehow until now I never caught that it was actually when props disappeared from view.*  Thanks for the excellent opening explanation that included a basic definition for those of us who have heard the term plenty of times but never encountered its real meaning!

Is the situation I describe with random prop substitutes just a possible variation on the "Prop Pox" theme?
An example I have, which annoys me to no end, is that whenever I newly plop one of the Maxis default City Halls, I get a random selection of very incorrect props on that lot that are replacing Maxis originals:
- for flora, I end up with *HUGE* redwood and cedar trees that seem to correspond to a MMP pack I installed long ago... that's not so bad... but...
- for other "lot junk" I mostly end up with some of the ACB 747 airplane props... obviously a city hall with a British Airways 747 hanging off the lot looks, oh, a bit *odd* maybe?
This started happening quite a while after I installed the relevant content that's now showing up out of place, so things were fine for a while--until things went all haywire one day and have never been the same since.

I've never really been sure how to resolve this without just deleting those prop + MMP packs... which I don't want to do since I actually really like them in their appropriate use situations (My region's airports would be bereft of 747s for their many prestigious international connections! :))

Has anyone had experience with this sort of problem? ...and how to possibly fix it, short of deleting lots of content?

(* notably I have run into the "real" Pox as well, but didn't know what it was at the time... though the one or two times it ever occurred for me in 10+ years of play very clearly corresponded with other problems, like a crash near the end of the save game process).

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Ok, maybe I wasn't following the logic thoroughly because I simply assumed that the solution provided, even if it were proved effective on preventing prop pox, wouldn't be able to fix already poxed cities...

This is not only a game changer, is an outright MIRACLE!!!

  • Like 6
  • Yes 1

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


Link to post
Share on other sites

Sign In or register to comment...

To comment in reply, you must be a community member

Sign In  

Already have an account? Sign in here.

Sign In Now

Create an Account  

Sign up to join our friendly community. It's easy!  

Register a New Account


×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections