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

Tuning Inspector

by MAL22 Posted 28th May 2020 at 6:14 PM - Updated 24th Jun 2020 at 11:50 PM by MAL22
6 Comments / replies (Who?) - 4 Feedback Posts, 2 Thanks Posts


Current version is 1.2.1 for patch 1.63.136

This script is not to be confused with Scumbumbo's XML Injector and XML Dump;
it does not perform XML injections or XML tuning dumps

Most recent update

Version 1.2.1 - June 24, 2020
  • Fixed an issue where strings would be written character by character under certain circumstances
  • Fixed an issue that prevented log files from being generated when using packaged python scripts
  • Improved formatting and readability of tuning log files

Previous updates


Mod Overview

The tuning inspector is a script that allows the inspection of any of the game's tunings, at runtime, after they have been parsed and converted into Python data structures.

This proves to be particularly useful when working with injections as the XML tuning and their Python counterparts tend to be structured and/or name differently on a number of different aspects. With this resource, it is possible to trace the exact "route" to do the injection in AND it also gives information as to what type of classes, objects, containers, etc. the game expects to find there.

The results are written to log files within the Mods folder. Using this script is very simple and only requires the use of the game's console. Here are the currently available commands and their effect:


Requirements

None.

Installation

Remove any existing package and/or script file(s) from previous version(s) of the mod. Extract the new package and/or script file(s) from the archive. Then, drag and drop the newly extracted file(s) in the mods folder of The Sims 4.

Additional Credits
Sims 4 Studio
Maxis

Operating System: Windows
Utility Type: Miscellaneous
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
MAL22_TuningInspector_1.2.1.zip

Size: 6.6 KB · Downloads: 299 · 24th Jun 2020
6.6 KB 299 24th Jun 2020
MAL22_TuningInspector.zip

Size: 5.6 KB · Downloads: 246 · 28th May 2020
5.6 KB 246 28th May 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.
 
6 Comments / Replies (Who?) - 3 Feedback Posts, 2 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Field Researcher
THANKS POST
#2 Old 29th May 2020 at 12:28 AM
Awesome work! my python creation skills are at 'hello world' but this looks to be an extremely useful tool. I've been relying on the late scumbumbo's XML injector. This may open up new possibilities I hope to see what other injection methods others find.
Test Subject
Original Poster
#3 Old 29th May 2020 at 8:36 PM
Quote:
Originally Posted by flerb
Awesome work! my python creation skills are at 'hello world' but this looks to be an extremely useful tool. I've been relying on the late scumbumbo's XML injector. This may open up new possibilities I hope to see what other injection methods others find.


I'm glad you like it. I've never used Scumbumbo's XML injector and only perform the injections I need with Python scripting but the process of figuring out how to navigate where you need to inject is not a very intuitive process. It was especially infuriating during the development of the RoM familiar injector due to the sheer number of injections required and my lack of experience. So, I developed this script to have some sort of visual feedback on how to reach the location of the data that I want to add to/alter - and whether the injection was successful or not - and it has made my life so much easier to implement injection and to debug it.
Test Subject
#4 Old 29th May 2020 at 11:37 PM
How do I use this mod? I've tried using a few tuning id's but it keeps throwing errors. Thanks.
Test Subject
Original Poster
#5 Old 30th May 2020 at 3:07 PM
Quote:
Originally Posted by sjpalcic51
How do I use this mod? I've tried using a few tuning id's but it keeps throwing errors. Thanks.


Please read the mod description, it contains the required information. If you did, you'll have to be more specific because your question tells me absolutely nothing about what you tried or what your errors are.
Test Subject
THANKS POST
#6 Old 8th Nov 2020 at 9:57 PM Last edited by cLineLy : 8th Nov 2020 at 10:42 PM.
Thank you so much for this tool, I just couldn't find a way to find these informations on my own By the way, the MAL22_TuningInspector_1.2.1 version couldn't create a log file on my computer (though the console displayed the proper responses). I didn't look into it any further, because the 28th May's version worked perfectly.
Test Subject
Original Poster
#7 Old 2nd Mar 2021 at 6:57 PM
Quote:
Originally Posted by cLineLy
Thank you so much for this tool, I just couldn't find a way to find these informations on my own By the way, the MAL22_TuningInspector_1.2.1 version couldn't create a log file on my computer (though the console displayed the proper responses). I didn't look into it any further, because the 28th May's version worked perfectly.


Thanks for the heads up. I haven't touched modding in a long time but I'm confident I know why this is happening and it's something about how I packaged the mod.