Automated script for filtering out any corrupted Sims 4 CC. Files are passed in via a folder name and then any valid files are written to the output directory with the same folder structure.
Currently only supports validating .package file headers with the actual file content checking not quite complete. The end goal is also to validate package files fully along with .ts4scripts and images
Created for the very specific scenario of restoring Sims 4 CC that was partially recovered from a failed hard drive.
- Python 3.13
- uv
- git
Clone the repository:
git clone https://github.com/yourusername/Sims4CCValidator.gitInstall the required dependencies:
uv syncRun the script:
python main.py -d ./Mods -o ./VerifiedMods-dor--directory: Directory to search for CC files-oor--output: Directory to save verified CC files-sor--skip: CC file types to skip validating (PACKAGE, SCRIPT, IMAGE)-Sor--dont-write-skipped: For use with -s, skips writing skipped files to the output directory-tor--dry-run: Don't write any files to the output directory, just log the results