Create an account

TS4 Tuning Description Browser (Windows Only)  

Upload: 10 Mar 2023, 17:49
Created by: scumbumbo [X]
Uploaded by: Aqxaro
TS4 Tuning Description Browser (Windows Only)

!!! This is not a game mod, but a utility for XML Modders and those who want to become XML Modders.

Description

The Tuning Description Browser has been around since early 2015, but I've come to find lately that a lot of modders are (pleasantly) suprised to find out about it's existence. With the addition of a search feature for the program, I thought it was probably time to give it a bit more visibility instead of having it buried in an obscure forum thread here on Mod The Sims.

If you are at all familiar with the Tuning Description (TDesc) files, you will know they are a priceless source of information but horrendously difficult to read. For example, the override_convergence_value description from the screenshot above appears as such:

<TunableVariant type="None" name="override_convergence_value" class="OptionalTunable"
default="Use_default_convergence" display="Override Convergence Value" muid="61D39E7F7BF578B8"
description="If enabled it will set a new convergence value to the tuned&#xA;statistics.  The decay of those
statistics will start moving&#xA;toward the new convergence value.&#xA;Convergence value will apply as long
as these modifier is active,&#xA;when modifier is removed, convergence value will return to default&#xA;tuned
value.&#xA;As a tuning restriction when this modifier gets removed we will &#xA;reset the convergence to its
original value.  This means that we &#xA;don't support two states at the same time overwriting convergence
&#xA;so we should'nt tune multiple convergence overrides on the same &#xA;object." Deprecated="False"
filter="0" group="General">
(Note that this is all squashed together on a single line in the original file!)


Ugly, ain't it? Trying to wade through thousands of lines of this XML to find out what a particular XML element means was enough to discourge many modders from even bothering with using the TDesc files.

But the information in them is absolutely invaluable, or in my opinion, critical for the XML modder who wishes to understand the XML code.

Features

  • Loads all the tuning descriptions contained in the TDesc files into an easy to navigate tree structure.
  • The detail window features the tuning's name, it's Python class, the full description, defaults and export modes.
  • Help links are available for various terms in the Detail window. The text for these help links was taken from EA's TS4 Custom Content Guide.
  • Tuning elements can be searched for by name, description and Python class.
  • Multiple versions of the TDesc files can be browsed.
  • Multiple windows can be opened to compare tuning descriptions from game versions side-by-side.
  • The version history for the tuning descriptions is indexed, tuning descriptions which have been renamed will have a clickable link to navigate to an old muid if available.

Installation

The program is available as either a standalone EXE file, or with a standard Windows MSI installer, so that portion of the setup is fairly easy. However, it is necessary to obtain a copy of the TDesc files from EA and extract them into an appropriately named subdirectory.

TDesc Files Directory Structure

  1. First, you will want to create a new folder for all TDesc files you wish to have available. This can be anywhere on your hard drives, likely targets being a subfolder of your Documents folder, or somewhere on your Desktop. Name it something appropriate, I gave mine the dull but descriptive name "Tuning Descriptions".
  2. Download the latest version of the TDesc files from the Mods & CC Technical Discussions forum at EA. The latest TDesc download should be in a sticky message at the top of this forum. You will have to search the forums for any older TDesc downloads if you want those (a search for TDESCS will do the trick).
  3. Inside the folder you created in step 1, you need to create a subfolder for each Version of the TDesc files you want to keep. This folder should be named with the proper version number.
    • You don't need to have multiple versions of the TDesc files if you don't want to be able to compare or reference back to older versions. However, for proper program operation you must have at least one appropriately named version folder.
    • The downloads from EA always have the version number in the filename, so for the latest TDescs at this time, 1.44.77-TDESC.zip, you should create a subfolder named 1.44.77.
  4. Now extract the folders and files from the TDesc file or files you've download into the appropriate version folders. Each version folder should then have subfolders named AchievementCategories, AchievementCollections, etc. that contain Description subfolders which house the .tdesc files.
  5. Once you have your TDesc folder structure and the files in place, you can start the program and it will allow you to select where your files are stored. You should select the folder you created in step 1 above.
  6. If necessary to move your folders at a later time, you can select a new data folder from the Settings menu of the browser.

Usage

Phew, after all that, luckily using the program itself is almost too easy to bother mentioning. Maybe just a few notes:

  • From the Window menu, you can select New to open a new browser window. Any tuning descriptions selected in the new window will create a new details window so that side-by-side comparisons can be performed.
  • Settings
    • Tdesc Root Folder allows changing the location where you have stored your TDesc files.
    • Auto-Expand Changed Nodes
      • When enabled, newly added or changed tunings will auto-expand in the right-hand tree so they can be quickly seen.
      • Tunings highlighted in yellow have been changed from when they were introduced.
      • Tunings highlighted in green are newly added.
    • Larger Fonts will increase the font size in all windows by 25% to make them more readable.
  • Search
    • If you have multiple versions of TDesc files installed, only the most recent version is searched.
    • Multiple search words can be entered.
    • AND Search mode requires each word in the search to appear at least once in any of the selected search locations.
    • OR Search mode requires at least one word from the search to appear.
    • Exact Match search mode will require an exact match for the element name or class. A description must contain the search words in the order listed.
    • Searches are always case-insensitive (even in Exact Match searches).
    • Searches which are not selective enough will return a large number of matches.

Additional Credits

  • All those over the years who have encouraged me to write this.
  • The code for the RichTextBoxEx was rewritten for Visual Basic from code by mav.northwind at codeproject.com, originally by Shibu Matthew. Links for the original authors is included in the sources.
Mod Constructor (V4) 10 MB

Mod Constructor (V4)

08 Apr 2022
0
1 588
0

The Sims 4 Mod Constructor is a downloadable program that allows users to easily create mods for The Sims 4 in a user-friendly environment, including traits, aspirations, social events, lot traits, holiday traditions and more!

TS4 Sound Tool 446.4 KB

TS4 Sound Tool

27 Jul 2022
0
1 102
0

This is a tool to play / edit / create music, sound effects and voices for Sims 4, you start by selecting a pack and the tool will then extract all sound events from animations and all sound names from the combined tuning and add them to selectable lists

Comments
The minimum comment length is 10 characters.