Jump to content
Sign In to follow this  
A Nonny Moose

Dependencies and overlaying

10 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

Maybe I misuderstand this, but I believe that dependencies are just table members of some specific table.  If you have a duplicate of a dependency, does it or does it not overlay the one that was in first?  If this is true, then there is probably no reason why a lot publisher should not include all the dependencies for his lot in a single .dat with his lot.


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:  
     

    Maybe I misuderstand this, but I believe that dependencies are just table members of some specific table.  If you have a duplicate of a dependency, does it or does it not overlay the one that was in first?  If this is true, then there is probably no reason why a lot publisher should not include all the dependencies for his lot in a single .dat with his lot.


    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
    Posted:
    Last Online:  
     

    Well, it would enlarge download pacxkages considerably - a simple lot file of under 100 kB apiece could end up packaged in a ZIP file that weighs in at 20 MB or more.

    The concequence would be that upload portals such as ST would require much more server space. Bandwidth usage would increase dramatically, too, which would also lead to higher server costs.

    Last but not least, the effect on the total size of the downloader's plugins folder can be imagined quite easily.

    After all, all these disadvantages are the very reason why dependencies exist: to bundle stuff that's used repititvely in files that you download once and keep, so that many future downloads can rely on them.


    -=| 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:  
     

    Well, it would enlarge download pacxkages considerably - a simple lot file of under 100 kB apiece could end up packaged in a ZIP file that weighs in at 20 MB or more.

    The concequence would be that upload portals such as ST would require much more server space. Bandwidth usage would increase dramatically, too, which would also lead to higher server costs.

    Last but not least, the effect on the total size of the downloader's plugins folder can be imagined quite easily.

    After all, all these disadvantages are the very reason why dependencies exist: to bundle stuff that's used repititvely in files that you download once and keep, so that many future downloads can rely on them.


    -=| 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
  • Original Poster
  • Posted:
    Last Online:  
     

    Well, Oh great lizard, I buy all your arguments.  However, what is the effect of having a duplicate, by inadvertence, in your list?  I believe it would do nothing but slightly increase your load time.


    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:  
     

    Well, Oh great lizard, I buy all your arguments.  However, what is the effect of having a duplicate, by inadvertence, in your list?  I believe it would do nothing but slightly increase your load time.


    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
    Posted:
    Last Online:  
     

    I'll be glad to answer this one, majestic moose. 1.gif

    As you correctly stated, a small increase in load time (and in plugins folder size) should be the only disadvantage. SimCity will recognize the duplicate file as a game file, so it will open the file and load its contents, and any duplicate items (props, textures, exemplar files) will override their identical counterparts from the file(s) the game has already read.


    -=| 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'll be glad to answer this one, majestic moose. 1.gif

    As you correctly stated, a small increase in load time (and in plugins folder size) should be the only disadvantage. SimCity will recognize the duplicate file as a game file, so it will open the file and load its contents, and any duplicate items (props, textures, exemplar files) will override their identical counterparts from the file(s) the game has already read.


    -=| 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
  • Original Poster
  • Posted:
    Last Online:  
     

    Thanks.  That was my original conclusion, but I wanted confirmation from someone who really knows what happens during the load.


    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.  That was my original conclusion, but I wanted confirmation from someone who really knows what happens during the load.


    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

    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