Jump to content
Wiotbilu

More Brown Boxes

13 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

What happened here? I downloaded the IRM and the I-D, I-M, and other, and the dependencies, i dont know this is happened

1111111111.png

  • Haha 1

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
Currently: Using Personal Messenger
 

Brown boxes will occur for one or two reasons.

  1. Missing dependency(s)
  2. Path to the deps is too long and the game can't find them

Be sure to check that you have the deps for the deps if there are any. *;)

  • Like 2
  • Yes 1

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:  
 

Every box has the same pair of black tanks under it, so it looks like one prop is missing. Look really carefully at your dependencies to see that you got the right versions. F'rinstance, some prop packs were superseded by mega packs having very similar names.

  • Like 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:  
 

Specifically, brown boxes only occur when the game can't find (or read) a model file, for a prop or a building. 

The IRM Base Set only modified the properties of default Maxis buildings, so this isn't likely the cause.  The IRM Addon sets require one or the other of the Maxis Buildings as Props packages, so check the dependencies for those downloads.  

@T Wrecks has released dozens of additional lots that are all re-lots of buildings created by other content creators.  Every one of these require the model file from the original building.   So the most likely cause of your problem is you're missing one of these models.  Double-check everything as both @CorinaMarie and @jeffryfisher recommend

14 hours ago, CorinaMarie said:

Path to the deps is too long and the game can't find them

Depending on how you have your Plugins folder organized, this is a possible problem.  Windows has a path length limitation.  The path for any file starts with the drive letter and continues through all the names of all the folders within which that file is buried, and ends with the last letter of the file extension (i.e. .dat, .SC4Model, etc.), plus a hidden blank character.  Practically, this limitation is 247 visible characters.  If you have many nested folders (i.e. multiple folder levels), and you exceed the max Path length for any file, Windows (and thus the game) won't be able to read that file.  Unless you want to start counting characters in the paths for all your files, the only way to test this, once you are positive you have all dependencies, would be to place all of the dependencies for IRM lots (if you're sure these are IRM lots) at the root of your Plugins folder, or maybe 1 folder level deeper.  Since the game essentially only registers the IIDs of the various exemplars and models (and not where they're located within Plugins), you can re-arrange your Plugins folder at will without the game choking.  If the brown boxes magically turn into buildings, then you know the path length is the culprit, and you need to rethink how your Plugins folder is organized.

  • Like 2

Share this post


Link to post
Share on other sites
19 hours ago, CorinaMarie said:

Path to the deps is too long and the game can't find them

Very interesting. I thought there must be a upper limit in the file system, but never knew this was a practical consideration.

 

4 hours ago, twalsh102 said:

Practically, this limitation is 247 visible characters.

In my curiosity, as a test I was able to create a *.txt file with 255 characters including the extension. I named the file in the root of C drive, then as expected with the path counting as the limit, I received the following error when attempting a move into a subfolder:

File Too Long Test.png

 

Testing in my Plugins folder, adding the full path also adds up to 255, from where Windows doesn't allow additional characters. This includes the drive letter, but not the file extension. So, I guess it's safe to assume the 247 would apply to a path in a folder with an 8 character named length:

E.g. C:\Testing1\<File>.txt

Or am I misunderstanding something? *:)

  • Like 2

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:  
 
7 hours ago, Cyclone Boom said:

Testing in my Plugins folder, adding the full path also adds up to 255, from where Windows doesn't allow additional characters. This includes the drive letter, but not the file extension. So, I guess it's safe to assume the 247 would apply to a path in a folder with an 8 character named length:

I'd say you're on the money here. As you have observed however, when this limit is reached, Windows will flag the problem right away. In fact it won't allow you to keep things this way, you must shorten the file name before renaming it or moving/copying it. So in theory at least, it should be impossible to fall foul of this problem without warning.

  • Like 2

Head over to my Lot and Mod Shack to keep abreast of my latest developments.

Do you like custom textures, but don't like all the work involved creating them?, take a look at the Texture Automation options here. Change the look and feel of your transit networks, with the minimum of effort, for example customised versions of my Sidewalk NAM (SWN) and Terrain Grass NAM (TGN) mods, and much more besides.

New to the NAM? Check out my tutorials on YouTube. Latest upload: How to: RHW - MHO Roundabout Interchanges. (Nov 25).

p.s. - I'm MGB over on SC4D and a member of the NAM team.

Share this post


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

The actual Max_Path value is 260 characters.

-12 characters for the storage of an MS-DOS compatible 8.3 file name;

-1 for the ending null character

= 247

The operating system used and/or the file system used can affect this number.

Windows 10 does away with MAX_PATH limitations, but one must manually enable this behavior in the Registry. 

The source of this information is an MSDN article (https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx)

There has been at least one post in these forums where path length was found to be a factor in whether a file could be read by the game.  I don't remember the creator of that topic, but the issues were very similar.  The topic author was having problems with brown boxes, even though he had verified that the required model file for the building was in fact in his Plugin folder.

The cause of the problem became clear when he first moved files to the root of his Plugins folder (if I remember correctly), and solved the problem.  Then he moved the files back to their original locations, and shortened the path by shortening some of the intervening folder names, which also resolved the problem.

Given when SC4 was released, I'm not sure if it can be anticipated how SC4 will react when being run on a Windows 10 system that has had NTFS Long Paths enabled.  Will it use whatever Path length limitations exist (or don't exist) in the underlying OS, or is there something built into the code that forces compliance with whatever limitations existed at the time SC4 was written?  I guess only experimentation will give us the answer.

  • Like 2
  • Yes 1
  • Thanks 1

Share this post


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

From the looks of the screenshot, you may have downloaded the filler sets, but not the core IRM. That one comes with an invisible blank building that I used for the fillers, among many other things. If you have indeed not done so, try downloading the core IRM. That should fix the problem. Let me know if it helped - if not, we'll see what else we can do.

One thing is for sure: we will get this problem sorted out. *:yes:

  • Like 3

-=| 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:  
 
9 hours ago, rsc204 said:

Windows will flag the problem right away. In fact it won't allow you to keep things this way, you must shorten the file name before renaming it or moving/copying it.

Yepp, that's true, but I didn't know if that could be a problem for the game, because I don't use the windows file manager/browser thingy for moving files/folders, but I'm using Total Commander UP, which is warning me about longer paths, but I can ignore the message and moving/saving things without changing the original names. It happens sometimes when I have a MP3 with very long filename in a very long foldername under 2-4 subfolders... :D:D:D And for example my music player under windows OS still can play the chosen MP3... Of course the player wasn't made in 2003, so obviously technologically more improved by handleing paths.... but still... I don't know how it is affecting datpacked files, where the actual file originally is under 2-4 subfolder, but the game uses only the datpacked data...

  • Like 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:  
 
10 hours ago, twalsh102 said:

There has been at least one post in these forums where path length was found to be a factor in whether a file could be read by the game.  I don't remember the creator of that topic, but the issues were very similar.  The topic author was having problems with brown boxes, even though he had verified that the required model file for the building was in fact in his Plugin folder.

That would be me, and this is the topic, for reference. I never recieved any kind of alert from windows when extracting the files, I don't know if it was because I'm on win 7 or because I extracted them directly from the .zip using WinRAR or because there were more files that didn't have the length issue.

In any case, I'd say the most likely cause for this particluar situation is the missing model @T Wrecks mentions. From the screenshot it looks like the player is using the I-D Addon set, but not the Base Pack, and the lots with the problem seem to be from the I-D Addon indeed.

Looking at the IRM's folder structure, the dummy building model has a shorter path than any of the lot files, including the Addon ones, so if the IRM Base Pack was installed and there is a path lenght issue none of the lots would be able to load properly, I'm 90% sure path lenghts aren't the issue here.

  • Like 2

Check out my content on the STEX

Or pay a visit to my Lot thread to see the projects I'm working on!

Mi taller de lotes, ¡Ahora en español!

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
On 12/9/2017 at 10:49 AM, twalsh102 said:

If you have many nested folders (i.e. multiple folder levels), and you exceed the max Path length for any file, Windows (and thus the game) won't be able to read that file

Take a quick look through the tree to see if there's useless nesting. If so, then trim the tree. Also look for redundant naming. You don't need three levels of folders that all spell out "Industrial Revolution Mod"; you need just one "IRM" and maybe a layer of other folders under it. Simplifying the nesting now while it's fresh will help you find things later when your memory has faded.

And then there's DAT-packing... but you want a working plugins set before you get into that.

  • Like 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
  • Original Poster
  • Posted:
    Last Online:  
     
    On 10/12/2017 at 1:10 PM, T Wrecks said:

    From the looks of the screenshot, you may have downloaded the filler sets, but not the core IRM. That one comes with an invisible blank building that I used for the fillers, among many other things. If you have indeed not done so, try downloading the core IRM. That should fix the problem. Let me know if it helped - if not, we'll see what else we can do.

    One thing is for sure: we will get this problem sorted out. *:yes:

    Thanks it works, i don't know i not download the Core IRM

    • Like 2

    Share this post


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

    Ah, that's good to hear. *:) Thanks for letting us know - I hate it when the original poster disappears without another word and you never know whether they solved the problem or not. Guess there's nothing more to say in this thread than this: Have fun building some industrial areas and enjoy the game - without brown boxes! *:thumb:

    • 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

    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