Use this command to install Sims 3 Package Reducer:
winget install --id=OhRudi.S3PR -e
Sims 3 Package Reducer (S3PR) is a tool designed to manage and optimize package files for The Sims 3. This software allows users to reduce, compress, and decompress package files efficiently by removing unnecessary resources such as thumbnails and icons, which are either regenerated by the game or not utilized.
Key Features:
Resource Removal: Safely removes thumbnails (THUM) and icons (ICON), which are often redundant or unused.
Compression/Decompression: Drastically reduces file sizes through compression while offering the option to decompress for potential performance gains during gameplay.
Console Automation: Utilizes command-line arguments for batch processing, enabling users to automate tasks such as recursive searches and silent operations.
Audience & Benefits:
Ideal for players with extensive custom content (CC) libraries. Users can save significant storage space by eliminating unnecessary resources. Additionally, decompressing merged CC files may enhance game performance.
S3PR is a practical solution for optimizing The Sims 3 experience, particularly beneficial for those managing large collections of custom content. Available via winget for seamless installation.
README
Sims 3 Package Reducer (S3PR) by OhRudi
Software to easily reduce, compress and decompress Package-Files for the Sims 3
Overview
This software reduces the size of Package-Files drastically, very usefull if you have tons of CC
It removes thumbnails (THUM) and icons (ICON) resources from Package-Files and compresses or decompresses them
Thumbnails are safe to remove, the game regenerates them (see image explenation)
Icons are safe to remove, the game doesn't use them, nor does CC-Magic
Compressing reduces the Package-File size drastically, but it's no performance gain for your game, because your game has to decompresses them while playing
Decompressing expands the Package-File size by three times. It's a performance gain while playing, cause your game needs them decompressed anyway
I'd recommend compressing your individual CC files, but decompressing the merged CC files, such as the builds from CC-Magic
DO NOT compress mods (like NRaas and other Script-Mods), only compress CC
Works only for Package-Files, not for Sims3Pack-Files
Works only for Windows (did test for Windows 10 & 11), not for Mac, did not test on Linux
How to compile
# WITHIN THE S3PR PROJECT ROOT
# pull tags from github
git pull origin main --tags --force
# get latest git tag/release
$versionNumber = (git tag --sort=-v:refname | Select-Object -First 1) -replace '^(v|V|version|VERSION|Version)', ''
# compile into a single file
# paste latest git tag (version number) into config
# this version number is then displayed in the UI
# the compiled exe is under: S3PR_GUI\bin\Release\net10.0-windows\win-x64\publish
dotnet publish .\S3PR_GUI\S3PR_GUI.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:AssemblyVersion="$versionNumber" /p:Version="$versionNumber" /p:FileVersion="$versionNumber" /p:InformationalVersion="$versionNumber"
How do I use the Console Application?
Important Notice: Everything is the same, but if you're into automation, you can use S3PR via the console.
Usage:
S3PR.exe [options]
Options:
-r, --search-recursive Search directories recursively when looking for Package-Files.
-t, --remove-thumbnail Remove thumbnail resources from Package-Files.
-i, --remove-icon Remove icon resources from Package-Files.
-c, --compress-file Compress Package-Files.
-d, --decompress-file Decompress Package-Files.
-s, --silent No Console Output.
-h, --help Show this help message and exit.
Arguments:
One or more files or folders to process.