Jump to content
VitroOliveira

SC4 Plugin Packer 2008 don't work

22 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

SC4 Plugin Packer, seems not work... I try to run this and is frozen my computer... or you think this work or have some thing I have done bad...

sc4pluginsPacker.jpg


Vitor Oliveira from Portugal...

 

signature.jpg

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
Currently: Viewing Forums Index
 

First of all I don't have much personal experience with using DatPacker. Although from reading previous discussions, I recall hearing that it's advisable to pack plugins in batches. So instead of all at one go, maybe try grouping them into folders or move out content before starting the process. I suspect otherwise it might contribute to the program freezing due to memory overload. In a similar way to the custom content tools like the Lot Editor, PIM-X and Reader.

Also I noticed you've tried to pack "Project Akar" which I believe is a mod for SimCity (2013). So I'm not sure whether that could be contributing to the issues you're experiencing. Perhaps also try removing it from your set, in case there are any incompatibilities and DatPacker doesn't skip them as invalid SC4 files.


(As a catch-all forum, this is fine posted in SC4 GD. But being a technical issue, I've just moved this over to the Bugs & Tech forum as I think that will be an even better place. *;) )

  • Yes 3

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:  
 

Your problem is having too many files on your plugins folders that aren't plugins for SC4. Aside from the Project Akar, you have development outputs of the GoFSH, that are a huge load in terms of file sizes and numbers, and that cannot be used by the game in that format.

Start by moving away from the plugins folder everything that is not a *.dat *.sc4lot *.sc4model *.sc4desc *sc4prop or *.dll
It is admissible to keep plain text files to have references of what the plugins are, though.

Also, try to eliminate from the file names all characters that are foreign to the English language: accented vowels, tilde characters (like this one ~ ) or other things that aren't English letters and numbers can make the DATpacker to struggle or the game to be unable to open the files.

  • Like 1
  • Yes 3

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 
17 hours ago, matias93 said:

Start by moving away from the plugins folder everything that is not a *.dat *.sc4lot *.sc4model *.sc4desc *sc4prop or *.dll

If I recall correctly, DLL files must be kept naked in a plugins folder (neither in a subfolder nor dat-packed). To stay safe, I put my DLLs into the plugins folder under program files rather than in the plugins under documents.

  • Like 1
  • Yes 2

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

I do that too, but having them on the plugins folder works most of the time, and I was recommending too much changes at once :P

  • Like 1

matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

"Let us be scientists and as such, remember always that the purpose of politics
is not freedom, nor authority, nor is any principle of abstract character,
but it is to meet the social needs of man and the development of the society"

— Valentín Letelier, 1895

Share this post


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

Project Akar is in fact a SimCity 2013 download, and won't work at all with SC4.  Given that this appears to be part of the set of files you are trying to DatPack, I would suggest that there might be other non-SC4 packages you are trying to pack.  In addition to the suggestions made by @matias93  and @Cyclone Boom, you might save yourself a lot a problems later by going through and verifying you are trying to pack only SC4 packages.

  • Like 1
  • Yes 2

Share this post


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

    Thanks for try help... 


    Vitor Oliveira from Portugal...

     

    signature.jpg

    Share this post


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

    Finally I can make this start and finish... I try several times and works... but the game is not more fast... some days ago I have 11 minuts to load and now 12... crazy thing true...

    Tomorow I go try to resart my computer and make the time count again...and see.

    dataPackerImage1.jpg

    dataPackerImage2.jpg

    dataPackerImage3.jpg

    dataPackerImage4.jpg

    dataPackerImage5.jpg


    Vitor Oliveira from Portugal...

     

    signature.jpg

    Share this post


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

    I don't recall the specific number, but it seems I've read you want the DatPacked file(s) to be like 340 mb each. More or less (and iirc more is the worst) and you get longer load times.

    Wait for the gurus tho to confirm whether or not I have that right.

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

    That's the golden number indeed, 340 Mb.

    Also, you should avoid packing some things: as a general rule, neither the NAM nor any folder that begins with z_ should be packed, as they are, respectively already packed and in need to override the packed folders.

    In your penultimate image there appears an error message, caused by trying to pack a file that is not meant to be used with Simcity 4, as the extension is *.package. Check again and move everything that doesn't match outside of the plugins folder.

    Finally, you could be seeing increased loading times after datpacking because of the increased fragmentation of the files: it is strongly recommended to defrag the disk (or partition) on which your plugins folder is *after* datpacking.

    • Like 2

    matias93's Unexpected Mod Workshop (dev thread)             Ciudad del Lago in the making (dev City Journal)

    "Let us be scientists and as such, remember always that the purpose of politics
    is not freedom, nor authority, nor is any principle of abstract character,
    but it is to meet the social needs of man and the development of the society"

    — Valentín Letelier, 1895

    Share this post


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

    It look like you have a lot of "duplikates" in your plugins folder. Every entry in the bottom window of the DATPacker indicates either unnecessary files or a duplicate file (stated as (Useless file, all entries have been superseeded in....) You need to find and remove ALL those duplicates. It saves space when datpacking and at the end loading time. Finding all the duplicates is a pain in the butt, and I strongly recommend the use of a 3rd party software to help you do the work. But you also can do it by hand, if you prefer, and a starting point is always the path in the bottom window of DATPacker. I do use this FREEWARE version to help me checking on duplicates:

    http://www.clonecleaner.com/index.html

    The "Lite" version is free, but limited to just one path you can set in the options. But that's just fine, because you're only interested in finding duplicates in the SC4 plugins Folder, right?!
    And like it was said already, remove ALL files with extensions OTHER than SC4DESC, SC4MODEL, SC4LOT, and DAT. Start small! Empt out your Plugins folder, put a few files back in, and start cleaning. Keep your Plugins organized!

    I also strongly recommend the use of rivit's SC4DataNode tool to find duplicates. You'll find it here:

    And take your time. I know, you probably don't wanna do it at all, but it is necessary that you get it done. *:D

    Good luck and kind regards!

    • Like 2
    • Yes 3

    Share this post


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

    Thanks for try help, but the link not work...

    PluginPackererror.jpg


    Vitor Oliveira from Portugal...

     

    signature.jpg

    Share this post


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

    I second the motion to use DataNode. After it shows you what files are completely overridden, then you must find out why. In some mods, you are supposed to choose just one file from a set of options (or one from each set). The unused options should be moved elsewhere for when you change your mind. If you're likely to change options often, then you should not even dat-pack that file or mod.

    Another all-override case is when one mod supersedes another, or a more recent version supersedes an old one. Figure out which is obsolete and remove it.

    Both packing and loading will go faster after that clean-up.

    Along the way, you may also see where a file is only partially overridden by another. Then you should decide which should override which, perhaps changing the load-order by renaming a folder (or creating a new folder named to load at a particular time). There's an art to load-order (aka "organizing plugins"), and if you have lots of mods, then you should search out our past discussions. In my plugins folder, I have renamed ALL of the next level of subfolders with 1-letter prefixes that control load-order (and I have used up most of the alphabet).

    Have fun...

    • Like 3

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

    I have download the clonecleaner and run it, but tha time for load SC4 is the same... not better... I not know what to do it more rapid... perhaps becouse I have 2 directories of the gama Simcity4 and SimCity 4 Deluxe, in the root of my hard drive, anyway I think the game run for my Documents folder true...


    Vitor Oliveira from Portugal...

     

    signature.jpg

    Share this post


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

    If you've followed everyone's suggestions to this point (cleaned out all non-SC4 packages, cleaned out all non-game files, gotten rid of all duplicates, etc.), then the remaining probable cause of slow load times is that you have too much stuff in your Plugins folder for your hardware configuration.  And if that is the case, there isn't much anybody else can do to help you.  You will have to go through your Plugins folder and decide what you really need, and what you don't need.

    Personally, at this point, I would start with an empty Plugins folder, and get a baseline load time.  This would be useful in making sure there isn't some other problem.  Then just start adding chunks of your Plugins back in, and check load times as your go.  NOTE:  You might consider putting your dependencies (prop and texture packs) back in first as obviously without these, many of your lots won't work correctly.

    • Like 2
    • Yes 1

    Share this post


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

    One other thing: Have we made sure (here or in another thread) that the OP configuration includes the 4GB patch?

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

    And why do you have two SC4 installation folder? Are you unsing 2 different versions a.k.a. an older vanilla version and a newer digital version? Or is this may be a leftover from a previous installation?

    Kind regards!

    • Thanks 1

    Share this post


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

    I did find in my own use of the datpacker that larger batches would simply fail to pack properly, and scaling back the size of the files that I was packing made it much faster to pack.

    I never got a baseline for how long it took to load, however, mostly because it takes so long anyways that I usually make a cup of coffee while I'm waiting for it to load everything. An SSD makes loading much faster but it's still enough time to make the coffee if I preheat the water.

    Oh, and my plugins folder is about 7gb, mostly poorly organized, for reference.

    • Like 1

    My MD on SC4Devotion (updated first)
    And Here on Simtropolis
    NAM Associate

    "My mother always told me, 'Elwood, you can be two things in this world...you can either be Oh So Smart, or Oh So Pleasant.'

    Well, for years I was smart. I recommend pleasant."
    -Elwood P. Dowd, Harvey

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     
    10 hours ago, APSMS said:

    An SSD makes loading much faster but

    If you have surplus RAM to burn, then try a RAM-drive. It may take time to copy-in your region and plugins, but if you keep your computer running for days or weeks at a time, then you don't need to do that very often, and a simple script can do it for you, hopefully at a time when you're not waiting to play.

    The red-letter caveat is that you need to copy out (backup) all changed RAM-drive files (saved cities) that you want to keep. When your computer reboots or shuts down, everything in the RAM-drive is wiped, so you will need your real user-dir to be located somewhere more permanent. Think of the RAM-drive as an extended disk cache.


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

    I have 8gb of ram, 7gb of plugins, and a buggy machine. I've tried ram disks before was never super impressed. Maybe if I had 32gb or something. 


    My MD on SC4Devotion (updated first)
    And Here on Simtropolis
    NAM Associate

    "My mother always told me, 'Elwood, you can be two things in this world...you can either be Oh So Smart, or Oh So Pleasant.'

    Well, for years I was smart. I recommend pleasant."
    -Elwood P. Dowd, Harvey

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     
    On 27/05/2018 at 10:51 AM, markussaage said:

    And why do you have two SC4 installation folder? Are you unsing 2 different versions a.k.a. an older vanilla version and a newer digital version? Or is this may be a leftover from a previous installation?

    Kind regards!

    Yes I have a previous installation and late I make a new installation for SC4 Deluxe edition.. I try to understand tha the problem is always becouse the size or files in the Plugin folder tru...


    Vitor Oliveira from Portugal...

     

    signature.jpg

    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