Jump to content
Sign In to follow this  
DocRorlach

Does anyone know exactly..

14 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

When you load a city tile, empty or stuffed, SC4 takes its own sweet time depending on the size & quantity of your plugins folder, and displays some arcane tag line atop the screen.

My question is two-fold:

What is the exact order in which plug-ins are loaded (assuming Maxis\Plugins contains nothing but the background images)?

The messages change, and I am presuming SC4 does different loading functions after the tag line changes: so does anyone know exactly what it does behind each line?

Thanks in advance..

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Thanks, Cathy, but in order to see that one needs to log in at SC4D. And I am personae non grata at that site (its a long story).

    Share this post


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

    After the program files plugins (they are first), then its alphabetic.  That is why a lot of them have Z_ or ZZ_ etc. as a tag at the beginning of the name.  It will find the extracheats.dll and load it before any plugins.


    Beware: Emancipated user.  No Windoze for me.
    The teacher opens the door but the student must enter himself. - Ancient Chinese Saying

    Every minute of hate in which one indulges oneself is sixty seconds of happiness lost.
    Music expresses that which cannot be put into words and that which cannot remain silent. -- Victor Hugo
    If you always do what you've always done, you'll mostly get what you've always got.
    JohnNewSig.gif
    "We have met the enemy, and he is us" - Walt Kelly

    Come join us at the Moose Factory

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Thanks, Master Moose, but I need to know more: When the city tile is loaded and fails (CTD) it is invariably during the display of the first tag line - the one staying on-screen the longest. SC4 does several operations after that tag line disappears and other lines appear. The content of the tag lines is whimsical and of no importance. But the operations going on while they are shown are: and I need to find out preceisely what SC does during their display.

    Share this post


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

    To elaborate on what A Nonny Moose said, after the main data files (SimCIty_1.dat, etc.) are loaded, then the files in your system Plugins folder are loaded (the one where you installed SC4), and finally the files in your personal Plugins folder. Within each Plugins folder, first the files directly in the folder are loaded in alphabetical order, then the files in each subfolder and its subfolders are loaded, again in alphabetical order.

    I would recommend removing any suspicious plugins and try loading; if that doesn't work, remove half your plugins at a time, and when you find the half that doesn't work, remove half of those, etc., until you find the guilty plugin.

    Share this post


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

    I think by the time you start to load a city the plugins have already been loaded into memory, and the city file is then being loaded into memory.  So if it is crashing then, it must be something in the city's file that is causing the error.

    Share this post


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

    Originally posted by: tungston

    I think by the time you start to load a city the plugins have already been loaded into memory, and the city file is then being loaded into memory.quote>

    This is correct.  However, one of the things that happens when the city file is loaded is that its contents are matched up with the plugins.  A bad plugin can cause a crash here.  But by the time this happens, the plugin loading order is irrelevant.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    SInce it happens on empty tiles of a brand new region, there is nothing in the city that could cause the crash. Not even a tree.

    And it is not the plugins load order I am after (we know that one to be super-alphabetic), but what else happens and in which order.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    SInce it happens on empty tiles of a brand new region, there is nothing in the city that could cause the crash. Not even a tree.

    And it is not the plugins load order I am after (we know that one to be super-alphabetic), but what else happens and in which order.

    Share this post


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

    Improperly installed or removed terrain mods will cause that behavior

    Share this post


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

    Improperly installed or removed terrain mods will cause that behavior

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    This could well be. So the solution would be to remove all terrain mods, load a new map, and start from scratch? Would it be necessary to remove regions which used the now deleted terrain mods, too?

    What is odd to me is that with the same plugins folder, with no new installations, SC4 ran fine under Vista 32bit, albeit using the ImageCfg solution I recommended.

    Now, under Windows 7, 64bit, all manner of problems appear, even when setting compatibility to XP SP2 or SP3.

    I also wonder if a custom resolution could be at fault: mine is set to 1920 x 1080, on machine with 8GB RAM, 1024 VRAM (nVidia GTX 260) and Intel i5 CPU)

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    This could well be. So the solution would be to remove all terrain mods, load a new map, and start from scratch? Would it be necessary to remove regions which used the now deleted terrain mods, too?

    What is odd to me is that with the same plugins folder, with no new installations, SC4 ran fine under Vista 32bit, albeit using the ImageCfg solution I recommended.

    Now, under Windows 7, 64bit, all manner of problems appear, even when setting compatibility to XP SP2 or SP3.

    I also wonder if a custom resolution could be at fault: mine is set to 1920 x 1080, on machine with 8GB RAM, 1024 VRAM (nVidia GTX 260) and Intel i5 CPU)

    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

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    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