Jump to content
z1

How to DatPack Huge Collections of Plugins

2 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I recently returned to SC4 after being away for a number of years, and I went back to my old game files and attempted to DatPack my current file set the same way I had in the past.  Unfortunately, my plugins had grown substantially since I last DatPacked them, and my old layout no longer worked at all.  I kept getting "out of memory" errors, and then of course, DatPacker would quit.

If it keeps running out of memory, then I thought, why not apply the 4 GB patch to it - the same patch that fixes memory problems in SC4 itself.  So I applied the 4 GB patch and sure enough, I can now DatPack essentially any number of files of any size.  As a test, I DatPacked my entire 5.2 GB collection into three files, two of which were more than 2 GB size after compression.  This worked fine.  Then I went back to the strategy of using more numerous files, as this allows me to change just a small part of my Plugins_Compressed folder if I just need to make small changes to my plugins.

If you're using the current version of the NAM (NAM 42) or later, you can find the 4 GB patch in the top-level group of files you extract when preparing to install the NAM.  The file is called "4gb_patch.exe", and if you just run it on its own, it will ask you for an executable file name, and in this way you can use it to double the memory access of any 32-bit executable.  In the case of DatPacker, you would go to your SC4DatPacker folder and select the file "SC4DatPacker.exe".  A backup file is automatically created.

If you're not running the NAM, you can just download the 4GB Patch directly.

For further details on virtually all aspects of DatPacker use, please see the subforum dedicated to the DatPacker:  BSC NHP DatPacker.

  • Like 3
  • Yes 1
  • Thanks 3

Share this post


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

It's a damn useful little program that Daniel Pistelli wrote. As an FYI to anyone else, it can also be used to patch Civ4 (and several other games), I can now play on larger maps than before and the game runs much further before it crashes from running out of RAM.

  • Like 2

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