Skip to content

How to Count YMTs

Quick answer

Count clothing .ymt files across every started resource, in two separate buckets: male and female. Compare each bucket against the free slots for your game build.

Difficulty: Beginner · Affects: both · Result is APPROXIMATE because the build figures are

INFO

Search: count ymt, how many, remaining slots, capacity check, budget.

What counts

Filename patternCounts as
mp_m_freemode_01*.ymt1 male slot
mp_f_freemode_01*.ymt1 female slot
mp_creaturemetadata*.ymt1 slot on both genders (conservative)

What does not count

pedalternatevariations.meta — different limit entirely, see Alternate Variations. Map YMTs, doortuning.ymt, vehicle metadata, and anything not attached to a freemode ped.

How to check

  1. Open every resource listed with ensure in server.cfg that streams clothing — including packs you forgot about, EUP, hair packs, and job uniforms.
  2. In each one, look inside stream/ for files matching the patterns above.
  3. Tally male and female separately.
  4. Add one to each bucket for every mp_creaturemetadata*.ymt you find.

The count is server-wide. A single pack's own documentation cannot tell you your remaining capacity, because it cannot see the other resources you run.

Worksheet

Game build:            ____   free slots/gender: ____

Resource               male   female   creature
--------------------   ----   ------   --------
zaiders_pack_a           1       1         1
zaiders_pack_b           1       1         0
eup_uniforms             2       2         0
hair_pack                0       1         0
--------------------   ----   ------   --------
Used                     4       5         1

Male used     = 4 + 1 = 5
Female used   = 5 + 1 = 6

Then:

remaining_male   = free_slots − male_used
remaining_female = free_slots − female_used

If either result is 0 or negative, you are over budget. Expect a crash on the gender that went over, not a warning.

In the example above, on b3570 (5 free) the male side is exactly full and the female side is already over by one. That server will crash on female character load.

Confirm in game

  • Start the server and join.
  • Load a male character, then a female character.
  • Open the clothing menu on both.
  • If one gender crashes and the other does not, your count for that gender is wrong or the build is tighter than you assumed.

If you are over

  1. Repack or merge collections — fewer YMT files for the same clothes.
  2. Move to a build with more free slots.
  3. Remove a pack.
  4. Switch some content to replace clothing.

Support for Zaiders Store FiveM clothing packs.