CAS Part on Hover

Shows a CAS catalog part's hex ID and internal name when you hover it in Create-A-Sim, so you can
identify a part (especially custom content) for Sims 4 Studio lookup.

REQUIREMENTS
- The Sims 4 (base game)
- Script mods enabled (Game Options -> Other -> Enable Script Mods)

WHAT'S NEW IN v1.2
- Optional More CAS Columns compatibility. Standalone 3/4/5/6-column layouts are now included, so you
  can widen the CAS catalog AND keep hover names at the same time. See "MORE COLUMNS (OPTIONAL)" below.

COMPATIBILITY
This mod does not override any EA part tuning resources and it changes no gameplay behavior.

It DOES replace EA's cascustomizer UI resource, so it WILL CONFLICT with any other mod that overrides
cascustomizer. Only one can be active: whichever loads last wins, and the other one's changes stop
working with no error message and nothing in the exception log. If your hover names stop appearing (or
another CAS UI mod stops working), a cascustomizer conflict is the first thing to check.

More CAS Columns (weerbesu): do NOT install the standalone More CAS Columns package alongside this mod.
Use the built-in column layout under "MORE COLUMNS (OPTIONAL)" below, which already includes the column
widening -- installing both causes a load-order conflict.

Color Sliders (thepancake1) is compatible in its core form -- the main slider UI and the converted
texture packages do not touch cascustomizer. The one exception is the optional "Enable Eyebrow Sliders"
add-on (__thepancake1_ColorSlidersUI_EnableEyebrowSliders), which also overrides cascustomizer and
therefore conflicts. Run either that add-on or this mod, not both.

The mod is built against the current game version's cascustomizer. After a game patch that updates the
CAS interface, this mod still loads and still shows hover names, but EA's own changes to that screen
will not appear until the mod is updated.

WHAT IT DOES
On hover in CAS, EA-content parts (hair, clothing, makeup, etc.) and pet coat/fur patterns show their
hex ID and internal name out of the box.

Custom-content (CC) STYLE parts -- a distinct new item that has its own catalog tile, like a new
hairstyle -- show no tooltip until you run the optional command below, after which they show their hex
id and, when present, their internal name.

CC SWATCHES (extra color options added to an existing style, e.g. a hair recolor) cannot be named --
that is a limitation of the game's color-swatch UI and applies to EA swatches too. The hex ID alone is
enough to look a part up in Sims 4 Studio.

NOTE: Co-branded and special-event items currently keep their pre-existing tooltip text rather than
showing the hex ID and internal name.

INSTALLATION
The download unzips into a single deadlystingnyc_cas_part_on_hover folder. Drop that whole folder into
your Documents/Electronic Arts/The Sims 4/Mods folder, then enable Script Mods in Game Options -> Other.

That gives you the standard 2-column CAS with hover names -- the default most people want.

STANDARD 2-COLUMN CAS (default)
After dropping the folder in, DELETE the "More Columns Compatibility (optional)" subfolder if you don't
want a wider CAS catalog. That's it -- you're done.

MORE COLUMNS (OPTIONAL)
Only if you want a wider CAS catalog (3, 4, 5, or 6 columns). Inside the mod's folder, open
"More Columns Compatibility (optional)/", then:

  1. DELETE the default packages from the mod's folder first:
       deadlystingnyc_cas_part_on_hover.package
       deadlystingnyc_cas_part_on_hover_template.package
  2. MOVE deadlystingnyc_cas_part_on_hover_caslibrary.package up into the mod's folder (required for ANY
     column layout).
  3. Open ONE column folder (3column, 4column, 5column, or 6column) and MOVE BOTH files inside it up into
     the mod's folder.
  4. Delete the now-empty "More Columns Compatibility (optional)" folder.

Do not use more than one column folder. Do not install the standalone More CAS Columns mod -- the column
widening is already built in here.

CREDIT
The More Columns layouts include column-widening code from weerbesu's "More CAS Columns"
(https://www.patreon.com/weerbesu), bundled and adapted with permission. All credit for the extra column
feature goes to weerbesu. The bundled caslibrary package provides the resource that makes the built-in
columns self-sufficient, so More CAS Columns is NOT required (and should not be installed alongside).

OPTIONAL: NAME YOUR CUSTOM CONTENT
Out of the box the mod names EA content and pet fur. To also name your installed CC STYLE parts:

THIS STEP WRITES TO ONE FILE ON YOUR DISK. Running the command below OVERWRITES the mod's own MAIN
package (deadlystingnyc_cas_part_on_hover.package, or the _Ncolumn.package if you installed a column
layout) with your installed content added to the name map. It edits only that one shipped file --
nothing else, and never writes anywhere outside your Mods folder. If anything goes wrong mid-write,
your existing package is left intact (the new file is written and swapped in atomically). It also names
any EA content the shipped map didn't include (event or pre-order items you have that the author didn't).

1. Load into a lot (live mode -- not Create-A-Sim; the cheat console does not run commands while CAS
   is open).
2. Press Ctrl+Shift+C, type "testingcheats true", Enter.
3. Type "dsn_cph_generate", Enter.
4. QUIT THE GAME, then delete these cache files from your Sims 4 folder:
     localthumbcache.package and avatarcache.package.
5. Restart the game. Your CC names now appear on hover.

Re-run whenever you add new CC.

WARNING: The baking command may fail due to access permissions, especially if your The Sims 4 folder is
installed in a non-default location. In these cases, an error message detailing the workaround process
will be displayed.

IF THE COMMAND REPORTS IT COULDN'T SAVE
On some setups the running game holds the mod's package file open, so it can't be replaced while the
game is running. If you see a message that the names package couldn't be saved, do this once:

  1. Close The Sims 4 completely.
  2. In your Mods folder, DELETE the mod's MAIN package (deadlystingnyc_cas_part_on_hover.package, or
     the _Ncolumn.package if you installed a column layout).
  3. In your Sims 4 folder, DELETE localthumbcache.package and avatarcache.package.
  4. Start the game, load a lot, and run dsn_cph_generate again (it will ask you to clear those two
     cache files once more so the names load).

The mod writes a fresh names package cleanly. EA and pet-fur names keep working from the shipped package
the whole time, so this only affects your baked CC names.

Updating the mod for new EA content DOES NOT preserve your baked CC names. You will need to re-bake your
CC names after updating the mod files.

TEMPLATE PACKAGES ARE OPTIONAL
The _template.package files are only used by the optional dsn_cph_generate command to name your CC. If
you never bake CC names, you can leave them out -- hover names for EA content and pet fur work without
them. (Keeping them installed does no harm.)

LICENSE
Free for personal use. Do not redistribute, reupload, or include in mod packs without permission.
Do not use this mod's code in your own projects without credit.

The bundled More CAS Columns column-widening code is used with weerbesu's permission; please respect
weerbesu's own terms for that mod.

Copyright 2026 deadlystingnyc. All rights reserved.
