MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

CCMerger 1.4 - Merge your packages

by LazyDuchess Posted 19th Oct 2020 at 9:23 PM - Updated 4th Nov 2020 at 3:20 AM by LazyDuchess : Warning
52 Comments / replies (Who?) - 2 Feedback Posts, 1 Thanks Posts
Update 1.4: Option to write text files with the contents of each merged package.

I highly recommend backing up your Neighborhoods folder, keeping your unmerged CC in a safe place and testing your merged objects, stuff can go wrong (Invisible objects is one of the most common reported issues).

Safest types of mods to merge seem to be hacks and CAS parts.

If you want to be extra safe, I recommend merging custom clothes and behavior mods for the most part, those seem OK (Read known issues below)

CCMerger is a useful little tool that allows you to merge a whole folder and its subfolders into fewer or, in some cases, a single package.

In addition, it takes care of changing 0xFFFFFFFF groups automatically, letting you merge different objects together!

The settings on the tool's interface (Max package size and Max files per package) can be altered, higher values mean less packages, setting them to 0 disables these limits. Setting them too high could make the game crash on boot, so while i recommend using the default values, feel free to experiment with different ones and see what works for you, the tool will remember them next time.

Using the tool is simple, just click on the Browse button to choose the folder with the packages you want to merge together, adjust the limits if you desire, and click the Merge button! The tool will also generate a handy log detailing how many files and packages it has merged and if anything went wrong.
Source code is available on Github

Known issues:
Fences seem to not work most of the time.
Some objects might appear invisible (Graverobber's addons, Dahlen Bookcases by Windkeeper and Alienware computer have been confirmed not to work so far.)

As you can see in the image below, i merged my whole Downloads folder into just 20 package files and my game actually seems to perform better thanks to it

Additional Credits:
FreeSO for DBPF package reading code
Tags: #package, #merging

Operating System: Windows
Utility Type: CC Editors CC Managers
Plugin Type: Not Applicable

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 2
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date

Size: 973.8 KB · Downloads: 1,988 · 20th Oct 2020
973.8 KB 1,988 20th Oct 2020
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract the zip, rar, or 7z file.

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Origin (Ultimate Collection): Users\(Current User Account)\Documents\EA Games\The Sims™ 2 Ultimate Collection\Downloads\
  • Non-Origin, Windows Vista/7/8/10: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Non-Origin, Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads
  • Mac x64: /Library/Containers/com.aspyr.sims2.appstore/Data/Library/Application Support/Aspyr/The Sims 2/Downloads
Need more information?
52 Comments / Replies (Who?) - 35 Feedback Posts, 15 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 3 of 3
Lab Assistant
#51 Old 27th Mar 2021 at 9:49 PM Last edited by julsfels : 20th Apr 2021 at 6:18 PM.
Thanks for this brilliant tool!

Originally Posted by LazyDuchess
Fences might be problematic then, it seems to have done this with fences before.

I merged my fences manually, and there are some points that need manual adjustments:

- all XFNCs (Fence XML) need a unique Instance number (you can use the GUID in the XFNC). This is enough for the fences to appear, but the link to the text lists is still broken, so all fences with text lists that have the group id 0xFFFFFFFF show up with the same text in catalog.
- In the Fence XML, change the value of stringsetgroupid from 0xFFFFFFFF to the new Instance number of the Fence XML
- Change the group id of the coresponding Text List to the new Instance number of the Fence XML

This should fix it.

EDIT: merging roofs colors works the same way.

Fairy Forest - Downloads for the Sims
Test Subject
#52 Old 29th Jun 2021 at 4:12 PM
One of the things that made me stop playing The Sims 2 as much is because I had to merge every single CC manually, hope this help a bit!
Test Subject
#53 Old 19th Jul 2021 at 12:52 AM
I'm getting this error when merging packages sometimes. Just today I was merging clothing recolors, 2-5 files & this still popped up.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '103' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
at CCMerger.CCMergerForm.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
Assembly Version:
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Users/User/Downloads/CCMerger.1.4/CCMerger.exe
Assembly Version:
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
Assembly Version:
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
Assembly Version:
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Assembly Version:
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Assembly Version:
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
Assembly Version:
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Assembly Version: 4.0.4764.1936
Win32 Version: 4.0.4764.1936
CodeBase: file:///C:/Users/User/Downloads/CCMerger.1.4/Delimon.Win32.IO.DLL
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Users/User/Downloads/CCMerger.1.4/Microsoft.WindowsAPICodePack.Shell.DLL
Assembly Version:
Win32 Version:
CodeBase: file:///C:/Users/User/Downloads/CCMerger.1.4/Microsoft.WindowsAPICodePack.DLL
Page 3 of 3