![]() | ||||
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- This tutorial is for The Sims 2 only.
A userstartup.cheat file is a special file that allows players to automatically enable certain cheats upon starting the game. It also allows cheats to be shortened to an "alias", making them easier to remember and easier to type in.
Making a userstartup.cheat file[]
Before attempting to make a userstartup.cheat file, check to see if you already have one. Some mods, like the Radiance Lighting mod, automatically create a userstartup.cheat file. If this is the case, skip to Editing a userstartup.cheat file
Assuming you installed the game in the default location, go to the game's user configuration folder, located at the following:
- Windows XP:
My Documents\EA Games\The Sims 2\Config
- Windows Vista or newer:
Users\<your username>\Documents\EA Games\The Sims 2\Config
- Ultimate Collection, Windows Vista or newer:
User\<your username>\Documents\EA Games\The Sims 2 Ultimate Collection\Config
- macOS Mojave or earlier:
Users/<your username>/Documents/EA Games/The Sims 2/Config
- Super Collection, macOS Sierra or later: Open Finder, select "Go" > "Go to Folder", then type:
~/Library/Containers/The Sims™ 2: Super Collection/Data/Library/Application Support/Aspyr/The Sims 2/Config
Look for a file titled userStartup.cheat (or simply userStartup if file extensions are hidden on your computer). If the file exists, skip to the next section. Otherwise, create it.
To simplify the process, you will need to make your computer show file extensions.
Now, open a plain text editor program.
For Windows users, open Notepad. Then, do the following:
- Create a new file (^ Ctrl + N).
- Save the file (^ Ctrl + S). You will be shown the "Save As" window.
- Under "Save as type:", change the file type to "All Files".
- Change the entire name to
userStartup.cheat
. Make sure the file name does not end with.txt
. - Save this file to the game's user configuration folder.
For Mac users, open TextEdit. Then, do the following:
- Create a new file (⌘ Cmd + N).
- Save the file (⌘ Cmd + S). You will be shown the "Save As" window.
- Deselect the "If no extension is provided, use .txt" checkbox.
- Change the entire name to
userStartup.cheat
. Make sure the file name does not end with.txt
. - Save this file to the game's user configuration folder.
Editing a userstartup.cheat file[]
To edit an existing or newly created userstartup.cheat file, open it with a plain text editor program, such as Notepad or TextEdit. You can begin adding your cheats and aliases in your userstartup.cheat file, and they will take effect the next time you start your game.
There are two things you can put in a userstartup.cheat file:
- Cheats you would like to enable automatically and have on all the time.
- Aliases, or "shortcuts", to existing cheats so they're easier to use and easier to remember.
Adding cheats that automatically enable themselves upon startup[]
Simply type the name of the cheat, along with any necessary parameters. For example, to start the game up with the moveobjects cheat automatically enabled, simply write the following:
moveObjects on
Multiple cheats can be added, providing that they're all separated by a line break, as shown below:
moveObjects on boolProp constrainFloorElevation false boolProp ControlPets true boolProp petActionCancel true boolProp testingcheatsenabled true
Only cheats that can be enabled and disabled will work here. One-time cheats, such as kaching
and motherlode
, will not work.
Plumbbobtoggle [on/off]
and showHeadlines [on/off]
cheats will not work in a userStartup.cheat file. They must be entered manually.
Additionally, the bugJarTimeDecay [on/off]
cheat must be placed on the very last line of the userStartup.cheat file. Failing to do so otherwise will break the file.Adding aliases for existing cheats[]
Aliases are alternate ways of entering a cheat. For example, you can use this to create shorter versions of cheats that are easier to type. The cheat's functions are not changed, and the original cheat code will continue to work.
For example, if mon
was set to be the alias for moveobjects on, entering mon
into the cheat console has the same effect as entering moveobjects on
.
Aliases are added to the userStartup.cheat file in the following format:
alias textstring "cheat command" "short description" "long description"
- alias must always be added. It must start the line the command is on, and it must be spelled in the exact same way as noted here.
- textstring is the alias you would like to use. This alias must be unique — no other alias or cheat should be using the same string, or it may not work as intended. (See this page for a full list of cheats)
- "cheat command" is the name of the cheat you wish to assign the alias to.
- "short description" This is the text that is shown when the player uses the
help
command in the cheat console. It will provide a short, incomplete list of the cheats in-game, as well as any aliases in the userStartup.cheat file. A brief description follows the listed cheats. The "short description" parameter is that text. Be short and brief, but specific enough so that you will be able to remember what cheat the alias is connected to. This is optional, and the alias will function without it. - "long description" is the text the player sees if they use the
help
command, along with the name of the alias. It can be longer and more specific and detailed than the short description. Like the short description, this is not needed for the alias to function.
For example, using the above example, if mon
was the alias for moveobjects on
, it would be added to the userStartup.cheat file like this:
alias mon "moveobjects on" "Allows the player to move objects that are normally unmovable" "Allows the player to pick up, move, and delete all and any object in build or buy mode"
The player would see something like this if they used the help
command:
mon -- Allows the player to move objects that are normally unmovable
The player would see something like this if they used the help mon
command:
mon -- Allows the player to pick up, move, and delete all and any object in build or buy mode
If the help
command is used and no descriptions were placed in the UserStartup.cheat file, the message will look like this:
mon -- Aliased to 'moveobjects on <arguments>'
Like automatically activating cheats, multiple aliases can be added to the file, as long as they all begin with "alias" and that they're all separated by line breaks. For example:
alias mon "moveobjects on" "Allows the player to move objects that are normally unmovable" "Allows the player to pick up, move, and delete all and any object in build or buy mode" alias mof "moveobjects off" "Disables the moveobjects cheat" "Only allows the player to pick up objects that can normally be picked up and are not in use" alias mm "maxmotives" "Fills the motives of all Sims on the lot" "Brings the motives of all Sims on the lot to +100"
Only use letters and numbers in your alias; symbols and other characters will not work. Also keep in mind that some cheats are only available if you have certain expansion packs installed, and you can't use an alias for a cheat that isn't available in your game.
Be sure to check the formatting of your aliases carefully! Make sure the cheat command, short description, and long description fields start and end with a quotation mark ("). If there is something that has an unclosed set of quotation marks, or a set that isn't opened, it will break your userStartup.cheat, and anything placed after the line with the syntax error will not load.
Examples[]
Here is an example of a good userStartup.cheat file:
intProp maxNumOfVisitingSims 12 moveObjects on boolProp constrainFloorElevation false boolProp ControlPets true boolProp petActionCancel true boolProp testingcheatsenabled true alias mon "moveobjects on" "Allows the player to move objects that are normally unmovable" "Allows the player to pick up, move, and delete all and any object in build or buy mode" alias mof "moveobjects off" "Disables the moveobjects cheat" "Only allows the player to pick up objects that can normally be picked up and are not in use" alias mm "maxmotives" "Fills the motives of all Sims on the lot" "Brings the motives of all Sims on the lot to +100" alias tcet "boolProp testingcheatsenabled true" "Enables debug mode" "Enables special debugging tools. Use with caution" alias tcef "boolProp testingcheatsenabled false" "Disables debug mode" "Disables the special debugging tools"
Here is an example of a userStartup.cheat file that has a missing quotation mark on one of its aliases. Anything placed after that faulty line will be ignored.
intProp maxNumOfVisitingSims 12 alias mon "moveobjects on" "Allows the player to move objects that are normally unmovable" "Allows the player to pick up, move, and delete all and any object in build or buy mode" alias mof "moveobjects off" "Disables the moveobjects cheat" "Only allows the player to pick up objects that can normally be picked up and are not in use" alias mm "maxmotives" "Fills the motives of all Sims on the lot "Brings the motives of all Sims on the lot to +100" alias cfet "boolProp constrainFloorElevation true" "Allows the player to change the elevation of occupied tiles" "Allows the player to change the elevation of tiles occupied by walls, floors, foundations, etc." alias muny "motherlode" "Gives the currently family 50 000 Simoleons" "Gives the family that is currently being played a whopping 50 000 Simoleons. Money!"
External links[]
- Userstartup.cheat on SimsWiki.Info.