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

3,441 Downloads 83 Thanks  Thanks 25 Favourited 26,968 Views
Uploaded: 10th Aug 2016 at 4:15 PM
Updated: 18th Aug 2016 at 12:09 AM - New version upload
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 ( If for whatever reason that doesn't work on your system, please try the version with separate files in a folder ( and comment here.

Requires .NET 4.0 or above.
The latest version of s4pe will preview and extract the UI.package images:

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

Everyone who's contributed to s4pi/s4pe

Inge for testing