Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!

RunCheatCommands - Resurrections

SCREENSHOTS
245 Downloads 9 Thanks  Thanks 0 Favourited 2,059 Views
This download has been published by the creator but not yet checked by staff.
Uploaded: 16th Mar 2024 at 1:00 AM
Resurrections - Recently some UGC creators decided to quit modding forever. Creators who have mods which are not online might be in a worse position.
Run Cheat Commands

This mod runs cheat commands when starting TS4. Add them to a simple text file:
  • testingcheats true # Enable cheat commands
  • death.toggle false # Disable death
  • ...


Usage
Add or remove the commands from 'commands.txt'.
  • To disable a line make sure it starts with '#'.
  • To enable a line remove the '#' at the beginning.

For 'toggle' commands always a 2nd parameter 'true/false' or 'on/off' should be supplied.

commands.txt
The config file '/mod_data/run_cheat_commands/commands.txt' contains all commands with parameters which will be executed.

commands.ini
The '/mod_data/run_cheat_commands/commands.ini' file defines how to execute the commands as TS4 has two flavors.

Internals
The commands.txt file will be read and executed two times.
  • First time when the 'Loading Screen' appears - there not all cheats work.
  • Second time after the household is loaded, there all supported cheats should work
  • Commands which are not in 'commands.ini' will be executed for both flavors and one will run fine.

Limitations
  • Pie menu cheats are not supported.
  • Getting and using a sim_id is not supported. Even though sims.get_sim_id_by_name "first names" "last names" should work the result can't be accessed.

Future / Ideas
Make the sim_id available and allow to loop over multiple sim_ids (e.g. complete 'Goth' family)



Addendum

Game compatibility
This mod has been tested with The Sims 4 1.105.345, TS4-Tools 3.2, TS4Lib 0.2.0 (2024-02).
It is expected to be compatible with many upcoming releases of TS4, TS4-Tools and TS4Lib.

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).

Dependencies
Copyright and License
  • © 2024 o19
  • License unless the Electronic Arts TOS for UGC overrides it:
    This mod is licensed to you, not sold.
    I grants you a personal, limited, non-transferable (i.e., not for sharing), revocable and non-exclusive license to use this mod to which you have access for your non-commercial use, subject to your compliance with this Agreement.
    You may not copy, modify or distribute my mod, unless expressly authorized by me or permitted by law.
    You may not reverse engineer or attempt to extract or otherwise use source code or other data from my mod, unless expressly authorized.
    I own and reserve all other rights.