Jump to content
Sign in to follow this  
DJenterprise

Plugin Folder

17 posts in this topic Last Reply

Recommended Posts

I'm Curious, how large of a Plugin Folder is considered to be a reasonable size to have, What would be considered

to LARGE of a folder.  My Plugin folder after running DatPacker is approx. 10.0Gb

Share this post


Link to post
Share on other sites

Just a little hint here....I don't think it's the best idea to datpack your plugins folder......especially the NAM. the NAM will most likely be messed up if you datpack it.....I am not sure how other mods fare though.  

Edit: Here is the official warning for datpacking NAM.... 2.gif

About the size of the folder, it really just depends on how much your computer can handle. My computer doesn't like more than about a gig of plugins before it gets all cranky and starts lagging. So, it's also a matter of how much lag you are prepared to deal with, too. 

DC

Share this post


Link to post
Share on other sites

How large a plugins folder should be varies between systems. A system with more power, generally, is able to handle more plugins. It comes down to RAM and I/O, really, since the models are stored in memory (RAM) and I/O is the game reading all of the files.

As for DATPacking, theoretically, DATPacking a folder should increase the speed at which the game loads, but not improve gameplay speed, since the game is spending less time loading every file one-by-one and can just access one file with all entries, though it's not recommended to pack the NAM. It could also go either way, since SC4 has to decompress the DAT when it loads it.

Hint: You may (or may not) find it faster to load the game with all readmes, documentation, and images removed.

Share this post


Link to post
Share on other sites

200.7MB.  I remove all the junk from my plugins to a separate folder called Documentation.

I use Files2dat to pack individual raw BATs, and sometimes to consolidate invariant stuff.  DAT packer is too indiscriminate for my taste.

I am also unaffected by the "Gee wiz, maybe I can use that sometime".  People with very large plugins are in danger of being unable to run the game.  If you run out of RAM and Swap space for all those tables, you will crash with a page or segment fault.  I only carry plugins that I intend to use.

....

Share this post


Link to post
Share on other sites

Well, it depends on how the plugins resolve in RAM.  The program itself is not very big, but its tables can be extensive.  The program places all its tables in memory using typical "more memory" calls to the operating system.  The operating system has some reserved RAM for its tables and modules, and the rest is user space.  Your 504MB probably means that you really have 512MB and the difference is used by your graphics system.  So, now take off your operating system kernel and any required processes and page tables and what's left is for applications.

The systems these days consider the memory and the swap space to be one huge memory space.  for example, my system has 4GB of RAM and 10GB of swap space, so, in effect I have 14GB of RAM.  Nothing is guaranteed.  I just started up Sc4RH and after loading my current city it is occupying 370.9 MB including 207  MB of my plugins.  But the memory occupancy of my machine is 1.7 GB and no swap space is in use.  I have a lot of memory resident stuff right now because I am running a segmentation crash monitor to see if I can catch this program misbehaving.

Now, on that tiny space you have, you can expect the game will take 371-207 = 164 MB plus the real data content of your plugins.  If you have a gigabyte of plugins after removing all the junk, then you need about that much swap space or more.

The disksafe program swaps out mostly, but when it is in core it takes 2.1 MB.

Share this post


Link to post
Share on other sites

2,4 gigabytes. It's a little big, right? :-P

Share this post


Link to post
Share on other sites

It's always interesting to check... Well, mine is 4.53GB 31.gif 

But I have some subfolders (for example, "skyskrapers") which I usually remove, if I play European W2W part of my city.

Best regards,

Simbourgeois

Mayor of Belleville

Share this post


Link to post
Share on other sites

Mine is 3.9 gig with 2295 folders, it should be bigger since I've been adding things almost from day one but I have had to remove really dated lots, not to make room but because they just didn't look that good anymore. Since it takes some time to load on this cranky old machine I just read a book, the wait is worth it seeing some of my new downloads growing in my city.

Share this post


Link to post
Share on other sites

Originally posted by: firehawkordy

Mine is 3.9 gig with 2295 folders, it should be bigger since I've been adding things almost from day one but I have had to remove really dated lots, not to make room but because they just didn't look that good anymore. Since it takes some time to load on this cranky old machine I just read a book, the wait is worth it seeing some of my new downloads growing in my city.quote>

Of that space, how much is documentation files like .jpeg's and .html, .txt files?  All of that can be moved to a different folder outside the plugins or deleted.  The program initialization routines will have to open and look at each header to find out if it really is a file it wants.  With a little work you can reduce that, and if you use the DATpacker (carefully) or Files2Dat you can cut down a lot by merging BAT related stuff into fewer files.  You might speed up your initialization of the game considerably.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an Account  

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

Register a New Account

Sign In  

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Help Keep Simtropolis Online, Open & Free!

stexcollection-header.png

Would you be able to help us catch up after a bit of a shortfall?

We had a small shortfall last month. Your donation today would help us catch up for this month.

Make a Donation, Get a Gift!

We need to continue to raise enough money each month to pay for expenses which includes hardware, bandwidth, software licenses, support licenses and other necessary 3rd party costs.

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