Home | Download | Discussion | Help | Site Map | New Posts | Sign in
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Tool to work with UI textures - new version 8/17/16

by CmarNYC Posted 10th Aug 2016 at 5:15 PM - Updated 18th Aug 2016 at 1:09 AM by CmarNYC : New version upload
Open thumbnail gallery
48 Thanks  Thanks     12 Favourited
Many of the UI images in UI.package are in a custom EA format - to get technical, they're in pairs of ATI2-compressed DDS files using YCoCg color space. This tool will take a pair of these images and convert them into one PNG image which any image editor can modify. Then the tool will take a PNG and convert it to the EA custom format, producing a pair of files which can be packaged and used in the game.

The UI image pairs have the same Instance ID, one has Group 0x00064DC9 and the other has Group 0x00064DCA. Be sure to load each in the right place in the tool or you'll get very strange-looking results.

Images must have dimensions that are a multiple of 4 to compress correctly: 32, 64, 128, 256, 512, 1024, 2048, etc. If you keep images the same dimensions as the game textures that should work fine.

The program is available as a single file (UITextureSquasher_1_1_0_0.zip). If for whatever reason that doesn't work on your system, please try the version with separate files in a folder (UITextureSquasher_1_1_0_0_folder.zip) and comment here.

Requires .NET 4.0 or above.
The latest version of s4pe will preview and extract the UI.package images: https://github.com/s4ptacle/Sims4Tools/releases

The pictures attached are the two Willow Creek map images from UI.package, the combined bitmap image, and a modified Willow Creek in-game.

Update 8/14/16: Changed conversion format from BMP to PNG, since bmp images seem to open in Photoshop and Paint.net with a black background in transparent areas. Added error check for opening the wrong type of DDS file.

Update 8/17/16: Fixed a compression bug that was causing degradation of the DDS files converted from PNG.

Additional Credits:
The EA forums and SimGuruModSquad: http://forums.thesims.com/en_US/dis...s-in-ui-package

Everyone who's contributed to s4pi/s4pe

Inge for testing
Download files
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
UITextureSquasher_1_2_0_0.zip | Description: UITextureSquasher program in a single file - unzip and run UITextureSquasher_1_1_0_0.exe 77.2 KB 630 18th Aug 2016
UITextureSquasher_1_2_0_0_folder.zip | Description: UITextureSquasher program with separate files in a folder - unzip and run UITextureSquasher.exe 96.8 KB 376 18th Aug 2016
UITextureSquasher_Source_1_2_0_0.zip | Description: Source code files, not needed to use the program 28.4 KB 291 18th Aug 2016
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
2. Extract: Use WinRAR (Windows) to extract the file(s) from the .rar or .zip file(s).
3. Cut and paste the file(s) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\
Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
22 Comments / Replies (Who?) - 18 Feedback Posts, 3 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)

Expansion/Stuff packs required:
Sims 4

22 Comments / replies (Who?)



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

Tags: #Sims4, #UI, #texture, #mod