How to Count YMTs
You cannot budget from folder size. You count files.
Difficulty: Easy (count) / Intermediate (creaturemetadata) · Affects: both (counting is the same) · remaining slots stay APPROXIMATE
INFO
Search: how many ymt, count ymt, male female slots, creaturemetadata count, remaining ymt.
Where · What counts · Formula · Worksheet
Where to look
In every clothing resource:
resources/[clothes]/some_pack/
fxmanifest.lua
stream/
mp_m_freemode_01_mp_m_*.ymt
mp_f_freemode_01_mp_f_*.ymt
mp_creaturemetadata_*.ymt
*.ydd
*.ytdYMTs may also sit next to stream/. Search the whole resource for *.ymt.
On Windows (PowerShell), from the server resources folder:
Get-ChildItem -Recurse -Filter *.ymt |
Select-Object FullName, Length |
Format-Table -AutoSizeThen classify each file. Do not count doortuning.ymt or map YMTs — those are not freemode clothing collections.
What counts
Male | mp_m_freemode_01*.ymt clothing collection — yes, male bucket. |
Female | mp_f_freemode_01*.ymt clothing collection — yes, female bucket. |
Creature | mp_creaturemetadata*.ymt — yes. Shared; budget conservatively on both genders (DCT practice, APPROXIMATE). |
YDD/YTD | No (not a slot). YTDs are TxdStore. |
.meta | pedalternatevariations.meta — no (different limit). See ERR_MEM. |
Replace | Overwrite vanilla names without a new collection YMT — no extra add-on slot. Still test. |
Duplicate | Same collection started twice — yes, twice if both load. |
INFO
One resource folder can contain several YMTs. Putting ten packs in one folder does not merge slots.
What does not count
WARNING
Gigabytes on disk
Download size is not a slot.
WARNING
Number of shirts
Drawables inside a YMT are a different ceiling.
WARNING
Number of YTDs
That is TxdStore.
WARNING
Escrowed vs open
Encryption does not remove a YMT.
WARNING
Client cache size
Irrelevant to the count.
Male vs female
Keep two running totals. Do not add male + female into one number and compare it to the table.
Male add-on clothing YMTs = ___
Female add-on clothing YMTs = ___
Creaturemetadata YMTs = ___remaining_male ≈ free_slots(build) - male_clothing_YMTs - creaturemetadata_budget
remaining_female ≈ free_slots(build) - female_clothing_YMTs - creaturemetadata_budgetfree_slots(build) comes from the Game Build Table (APPROXIMATE).
creaturemetadata_budget: safest operations practice is 1 per such file, applied to both gender remaining counts, matching DCT. If you have evidence a given file only attaches to one ped, you can be less conservative — test both genders anyway.
If either remaining value is 0 or negative, expect crash on join or on that gender’s character load.
Multiple resources
Sum every started resource, not just the Zaiders pack:
Civ | Civilian add-on packs. |
EUP | Department packs. |
Faces | Face/head as clothing collections. |
Hats | “Small” hat-only add-on packs still use 1 YMT per gender they ship. |
Maps | Map DLCs that illegally ship freemode YMTs (rare; still count them). |
Stopped resources (ensure commented) do not count.
Worksheet
| Resource | Male YMT | Female YMT | Creaturemetadata | Notes |
|---|---|---|---|---|
| Total | ||||
| Free on this build (approx.) | — | from table | ||
| Remaining | stop if ≤ 0 |
Confirm in game
Counting files is necessary but not sufficient (a malformed YMT can crash before the slot math matters).
Start with totals under the table
Start with totals under the table.
Spawn male freemode, then female
Spawn male freemode, then female.
If only one gender crashes, re-count that gender
You likely missed a file or double-started a resource.