Skip to content

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
    *.ytd

YMTs may also sit next to stream/. Search the whole resource for *.ymt.

On Windows (PowerShell), from the server resources folder:

powershell
Get-ChildItem -Recurse -Filter *.ymt |
  Select-Object FullName, Length |
  Format-Table -AutoSize

Then classify each file. Do not count doortuning.ymt or map YMTs — those are not freemode clothing collections.

What counts

Malemp_m_freemode_01*.ymt clothing collection — yes, male bucket.
Femalemp_f_freemode_01*.ymt clothing collection — yes, female bucket.
Creaturemp_creaturemetadata*.ymtyes. Shared; budget conservatively on both genders (DCT practice, APPROXIMATE).
YDD/YTDNo (not a slot). YTDs are TxdStore.
.metapedalternatevariations.metano (different limit). See ERR_MEM.
ReplaceOverwrite vanilla names without a new collection YMT — no extra add-on slot. Still test.
DuplicateSame 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_budget

free_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:

CivCivilian add-on packs.
EUPDepartment packs.
FacesFace/head as clothing collections.
Hats“Small” hat-only add-on packs still use 1 YMT per gender they ship.
MapsMap DLCs that illegally ship freemode YMTs (rare; still count them).

Stopped resources (ensure commented) do not count.

Worksheet

ResourceMale YMTFemale YMTCreaturemetadataNotes
Total
Free on this build (approx.)from table
Remainingstop 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.

Support for Zaiders Store FiveM clothing packs.