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

Featured upload! HQ Texture Converter - version 2.4 8/3/2020

by CmarNYC Posted 23rd Nov 2018 at 8:35 PM - Updated 3rd Aug 2020 at 2:01 PM by CmarNYC : New version upload
185 Comments / replies (Who?) - 8 Feedback Posts, 2 Thanks Posts
This is a featured upload! It showcases the best talent and creativity available on MTS and in the community.
Converting a pile of CC to be compatible with the HQ Mod can be quite a chore. This tool does it for you.

What it does:

You can select either one package or input and output folders. If you select one package, it will be converted and you'll be prompted to save it with a new name. If you select folders, all packages in the input folder will be converted and saved in the output folder with new names. A status line at the bottom of the window will let you know what it's doing.



Conversion:
  • RLE2 textures (diffuse, shadow, and skin) are resized to 2048x4096
  • RLES textures (specular) are resized to 1024x2048
  • DDS CAS skin color files are resized to 2048x4096

However, these are just the defaults and you can select the output dimensions for yourself. Will also convert from HQ dimensions to standard if needed.

Pet textures are automatically resized correctly.

Requires Windows and .NET 4.7. If you're on Windows 10 you probably already have it; if you're using Windows 7 or 8.1 you can install it if necessary. Requires 64-bit. (If anyone needs a 32-bit version I'll provide it, but it's likely you'll get memory errors when processing large packages.)

How to use:

Use the top button to select a package to process one at a time. Select input and output folders to process every package in the folder. As of version 2.3 it will also optionally convert subfolders in the input folder, creating corresponding subfolders in the output folder if necessary.

Texture output options:
  • Choice of which conversion to do and the target texture dimensions should be self-explanatory.
  • Keep original size - when converting to HQ, you can choose to keep any textures that are larger than needed as is.
  • Sharpen rle2 textures - using this option will sharpen the main (diffuse) textures of clothing, hair, accessories, skins, etc. You can choose the sharpening strength. Sharpening will slow down processing significantly. Strength of sharpening makes no difference in speed.
  • Don't sharpen grayscale - starting in version 2.2 the tool uses the CASP in CC packages to identify the shadow textures, so this option should normally be left unchecked. It may be useful if converting packages that contain clothing/hair/accessory textures but no CASPs as when converting EA game packages. It may not. If checked, the tool will attempt to identify shadow textures and not sharpen them. The benefit is that sharpening may cause banding in some shadows which might be visible. The drawback is that any black and white or gray clothing and skin details may not be sharpened.
  • Use existing mipmaps - starting in version 2.2, if this option is checked the tool will keep existing mipmaps if possible. Leaving this option checked will be slightly faster and retain the quality of original textures in the mipmaps. In cases where sharpening has made a big improvement in a texture you may want to try unchecking it and generating new mipmaps.

With sharpening enabled, conversion will be slow. A package of 1000 rle2 textures could take around 2 hours or more. Without sharpening it's significantly faster. The program will prevent your computer from sleeping during conversion, but your monitor will still time out and sleep and you may see the monitor blacking out for a couple of seconds at a time even while you're using it.

Sharpening comparison:



Notes/Warnings:

The tool should only be run on packages that include only CAS parts (clothing, hair, accessories, makeup, skins, etc.). Running it on packages containing other CC such as objects may result in textures of the wrong size and/or wrong format and could cause your game to crash or not start.

This should go without saying, but you should keep your original packages in case something goes wrong.

Please report problems, questions, and reasonable requests in the comments.

Windows only, sorry. If anyone wants to convert it for Mac, you have my permission.

Version 2.4:

Update for the new version of the CASP.
I'm doing only a 64-bit version this time. If anyone needs a 32-bit version I'll provide it, but I doubt there's much if any need.

Version 2.3:

Fixes: Corrects an error affecting memory that was causing random crashes with no error message or an access violation.

New features:
  • During batch conversion, optionally convert subfolders of packages under the input folder. Subfolders with the same names will be created in the output folder if they don't already exist.
  • If any packages fail to convert during batch conversion due to unreadable textures or whatever, the tool will continue to run and display a list of packages that could not be converted when it's finished.

Many thanks to claudiasharon for working with me about the crashing problem.

Version 2.2:

Fixes: Fixes shadow lines again appearing when converting CC on some systems.

New features: Optionally use existing mipmaps.

Many thanks to LunaLechuza for helpful suggestions and testing.

Version 2.0:

Fixes: Corrected the lines on shadow textures and the dark lines around the edges of some diffuse textures.

New features: 64-bit version, sharpening, keeping larger-than-needed textures is now optional.

Additional Credits:

With thanks to Iconic for requesting this tool!

The HQ Mod is here: http://alf-si.tumblr.com/HQ_ts4_English

Image and package handling done with the s4pi library: https://github.com/s4ptacle/Sims4Tools/tree/develop

Folder selection uses Ookii.Dialogs: http://www.ookii.org/software/dialogs/
Tags: #TS4, #HQ, #Mod, #texture, #converter, #resize

Operating System: Windows
Utility Type: CC Editors
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 4
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
TS4HQConverterSourceV2.4.0.0.zip | Source files, not needed to use the tool

Size: 138.6 KB · Downloads: 541 · 3rd Aug 2020
138.6 KB 541 3rd Aug 2020
TS4HQConverter_2_4_0_0.zip | Extract folder and run TS4HQConverter.exe

Size: 350.3 KB · Downloads: 2,132 · 3rd Aug 2020
350.3 KB 2,132 3rd Aug 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 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.
 
185 Comments / Replies (Who?) - 147 Feedback Posts, 20 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 8 of 8
Lab Assistant
#176 Old 6th Jun 2020 at 6:34 PM
It makes my screen turn on and off all the time when the program is running. What should I do?
Ms. Byte
Original Poster
#177 Old 6th Jun 2020 at 7:00 PM
Quote:
Originally Posted by collin2
It makes my screen turn on and off all the time when the program is running. What should I do?


That's because it's taking up resources and running for so long that the monitor tries to sleep. You don't need to do anything.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Lab Assistant
#178 Old 10th Jun 2020 at 2:38 AM
It took 2 and 1/2 days to convert all my files. But I think everything went well. Thanks for making it! How do I prevent the program to rename the files with the suffix "HQ"?
Ms. Byte
Original Poster
#179 Old 10th Jun 2020 at 5:50 AM
Quote:
Originally Posted by collin2
It took 2 and 1/2 days to convert all my files. But I think everything went well. Thanks for making it! How do I prevent the program to rename the files with the suffix "HQ"?


You don't - that's just how it works when batch processing.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#180 Old 2nd Aug 2020 at 2:30 PM
I've been using this tool for months and everything was great, but now I started to get one problem. When I try to convert new non-HQ CC, I get "index out of range" exception. It only happens to the new non-HQ CC, from the end of the last month or late, all from different creators. What do I do?
Ms. Byte
Original Poster
#181 Old 2nd Aug 2020 at 9:44 PM
Quote:
Originally Posted by RegineK
I've been using this tool for months and everything was great, but now I started to get one problem. When I try to convert new non-HQ CC, I get "index out of range" exception. It only happens to the new non-HQ CC, from the end of the last month or late, all from different creators. What do I do?


Please link to a couple of examples of CC that gives this error.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
#182 Old 2nd Aug 2020 at 11:09 PM
Quote:
Originally Posted by CmarNYC
Please link to a couple of examples of CC that gives this error.

this
this
and more, and I have never had troubles with their CC before and their earlier creations converted just fine.
Ms. Byte
Original Poster
#183 Old 3rd Aug 2020 at 11:51 AM Last edited by CmarNYC : 3rd Aug 2020 at 2:03 PM.
Quote:
Originally Posted by RegineK
this
this
and more, and I have never had troubles with their CC before and their earlier creations converted just fine.


Oops, I should have realized this is because the CASP resource format was changed in the knitting patch, which is why this is happening with new creations. I'll update the tool.

Edit: Version 2.4 uploaded.

Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.

Visit my blogs for other Sims content:
Online Sims - general mods for Sims 3
Offline Sims - adult mods for Sims 3 and Sims 4
Test Subject
THANKS POST
#184 Old 4th Aug 2020 at 1:30 PM
Thank you!
Field Researcher
THANKS POST
#185 Old 6th Aug 2020 at 3:13 PM
Thanks a lot for the update!
Test Subject
DELETED POST
19th Aug 2020 at 9:09 AM
This message has been deleted by Drawken. Reason: I was wrong. I created an override, which doesn't include an RLE 2 image? Gotta figure some things out.
Page 8 of 8