Vanilla Logs Enabler
vanilla_logs.png - width=1625 height=870
Mod to enable the TS4 vanilla logs on startup. Based on https://modthesims.info/d/606667/sims-log-enabler.html by scumbumbo.
Cheat commands
While running these commands are available (to be entered in the cheat console):
- logs.enable .... Enable logging, the log is always appended. Restarting TS4 clears the log.
- logs.disable ... Disable logging and close all open log files.
- logs.flush ..... Write buffered logs to disk.
- logs.level n ... Change the log level to n=[0..5] (FATAL, ERROR, WARN, INFO, DEBUG or ALWAYS)
All console changes are temporarily. They are not persisted in the configuration file.
Configuration file
On startup, it will create a configuration file with these options:
- ENABLE_LOGGING: bool = True ... Write the vanilla logs when starting TS4
- BUFFERING: int = 1 ............ Buffer ans write one line. ˂0:full; 0:off, 1:line; 2:os_default; ˃2:byte_size. https://docs.python.org/2/library/functions.html#open
- FORCE_FLUSH: bool = True ...... False: Don't flush the file after every write (if buffering is set)
- LOG_LEVEL: int = 5 ........... [0..5] (FATAL, ERROR, WARN, INFO, DEBUG or ALWAYS)
- GROUPS: set = {} .............. {}=All. Specify individual case-sensitive groups to log, e.g. {'Zone', 'Utils'}
The file is based on the Python dict() datatype. Use 'True' or 'False' as this is not JSON.
Addendum
Game compatibility
This mod has been tested with The Sims 4 1.99.264 (2023-07), TS4-Tools 2.7 (2023-06), TS4Lib 0.0.24 (2023-06).
It is expected to be compatible with many upcoming releases of TS4, TS4-Tools and TS4Lib.
Dependencies
If not installed download and install TS4 and these mods.
All are available for free.
Installation
- Locate the localized The Sims 4 folder which contains the Mods folder.
- Extract the zip file into this The Sims 4 folder.
- It will create the directories/files Mods/_o19_/$mod_name.ts4script`, [i]Mods/_o19_/$mod_name.package`, [i]mod_data/$mod_name/* and/or mod_documentation/$mod_name/*
- mod_logs/$mod_name.txt will be created as soon as data is logged.
Manual Installation
If you don't want to extract the zip file into The Sims 4 folder you might want to read this.
- The files in ZIP-File/mod_data are usually required and should be extracted to The Sims 4/mod_data.
- The files in ZIP-File/mod_documentation are for you to read it. They are not needed to use this mod.
- The Mods/_o19_/*.ts4script files can be stored in a random folder within Mods or directly in Mods. I highly recommend to store it in _o19_ so you know who created it.
Usage Tracking / Privacy
This mod does not send any data to tracking servers. The code is open source, not obfuscated, and can be reviewed.
Some log entries in the log file ('mod_logs' folder) may contain the local username, especially if files are not found (WARN, ERROR).
External Links
Sources
Copyright and License
- © 2023 Oops19
- License for '.package' files: Electronic Arts TOS for UGC
- License for other media unless specified differently: CC BY 4.0 unless the Electronic Arts TOS for UGC overrides it.
Have fun extending this mod and/or integrating it with your mods.
Oops19 / o19 is not endorsed by or affiliated with Electronic Arts or its licensors.
Game content and materials copyright Electronic Arts Inc. and its licensors.
Trademarks are the property of their respective owners.
TOS
- Please don't put it behind a paywall.
- Please don't create mods which break with every TS4 update.
- For simple tuning modifications use Patch-XML
- or LiveXML.
- To check the XML structure of custom tunings use VanillaLogs.
Filename | Type | Size |
---|---|---|
VanillaLogs_v3.0.2-mts.zip | zip | |
vanilla_logs.ts4script | ts4script | 8656 |
README.md | md | 4382 |
Note from the Creator:
Custom installation instructions! READ ME!
In addition to the normal installation instructions, this download also has a custom instruction, as follows:
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Locate the localized 'The Sims 4' folder which contains the 'Mods' folder and extract the zip files there. It will extract itself to 'Mods/_o19_/*.ts4script' and to 'mod_documentation/vanilla_logs/radme.md'.
Advanced users may locate the .ts4script file and place it somewhere in 'Mods' manually.
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
VanillaLogs_v3.0.2-mts.zip
Download
Uploaded: 19th Jul 2023, 6.5 KB.
180 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
1. Download: Click the download link to save the .rar or .zip file(s) to your computer.
2. Extract: Use 7zip (recommended), WinRAR (Windows) or Stuffit (OS X) to extract the file(s) from the .rar or .zip file(s). OS X also has a built-in utility for that (just rightclick).
3. Locate the localized 'The Sims 4' folder which contains the 'Mods' folder and extract the zip files there. It will extract itself to 'Mods/_o19_/*.ts4script' and to 'mod_documentation/vanilla_logs/radme.md'.
Advanced users may locate the .ts4script file and place it somewhere in 'Mods' manually.
Need more information?
- For a full guide to downloading complete with pictures and more information, see: Game Help: Downloading for Fracking Idiots.
Loading comments, please wait...
Uploaded: 23rd May 2023 at 10:25 PM
Updated: 28th Jul 2023 at 8:03 PM
-
by scripthoge 13th Sep 2014 at 4:33am
371 518k 1.1k
-
by Lynire 18th Dec 2015 at 11:05am
260 304.1k 411
-
by weerbesu updated 14th Nov 2018 at 3:37pm
83 291.3k 504
-
by weerbesu updated 15th Apr 2021 at 5:23am
114 178.6k 390
-
by Scipio Garling 27th Nov 2024 at 6:18am
7 10k 18
-
GetTogether Club Limits for TS4 - Resurrections
by o19 24th Jan 2024 at 2:51am
GetTogether Club Limits for TS4 - Resurrections Resurrections - Recently some UGC creators decided to quit modding forever. more...
+1 packs
Get Together
-
Dynamic Interactions - Resurrections
by o19 16th Mar 2024 at 8:26am
Dynamic Interactions Resurrections - Recently some UGC creators decided to quit modding forever. more...
2 6.2k 5
-
RunCheatCommands - Resurrections
by o19 16th Mar 2024 at 8:00am
Resurrections - Recently some UGC creators decided to quit modding forever. more...
3 5.3k 3