For the complete documentation index, see llms.txt. This page is also available as Markdown.

Building

When your project is ready, hit Build and choose the FiveM target. The tool assembles a complete, drop-in resource.

What gets generated

your_pack/
β”œβ”€ stream/
β”‚  β”œβ”€ mp_m_freemode_01_koja/
β”‚  β”‚  └─ jbib/
β”‚  β”‚     β”œβ”€ mp_m_freemode_01_koja^jbib_000_u.ydd
β”‚  β”‚     β”œβ”€ mp_m_freemode_01_koja^jbib_diff_000_a_uni.ytd
β”‚  β”‚     └─ mp_m_freemode_01_koja^jbib_diff_000_b_uni.ytd
β”‚  β”œβ”€ mp_m_freemode_01_koja.ymt        ← registers the drawables
β”‚  └─ ...
β”œβ”€ mp_m_freemode_01_koja_shop.meta      ← makes items appear in shops/menus
β”œβ”€ mp_f_freemode_01_koja_shop.meta
β”œβ”€ pedalternatevariations.meta
β”œβ”€ first_person_alternates.meta
└─ fxmanifest.lua
  • stream/ β€” every model and texture, renamed to the exact GTA add-on convention (ped + collection name, component token, drawable number, variant letter, _u / _uni suffixes). Files are sorted into per-ped / per-component subfolders. You never rename anything by hand. See Naming Conventions.

  • .ymt (CPedVariationInfo) β€” registers each add-on drawable and its texture count. Without this the files stream but nothing shows in the clothing menu.

  • *_shop.meta (one per gender) β€” the SHOP_PED_APPAREL_META_FILE that lists the items for shops / menus.

  • pedalternatevariations.meta and first_person_alternates.meta β€” the alternate-variation metas (each can be turned off in the build options).

  • fxmanifest.lua β€” generated and ready, with every meta registered via data_file.

  • Optionally clothes_info.json β€” a human-readable dump of every packed item, if you enable it.

Set the collection / dlc name in the build options β€” it's the koja part above and what marks the whole pack as an add-on collection. If you leave it blank the tool derives it from the resource name.

Gender handling

Items are per-gender, so a male item builds under mp_m_freemode_01 and a female item under mp_f_freemode_01. Use Copy to other gender on an item if you want it on both peds.

Installing the result

  1. Copy the built folder into your server's resources/ directory.

  2. Add ensure your_pack (or start your_pack) to your server.cfg.

  3. Restart the server (or start the resource).

Auto-generated metadata (.ymt)

The component-variation metadata that makes garments selectable in-game is what turns a folder of files into real, scrollable clothing. Keep an eye on the limits β€” this metadata is where the 128-per-component ceiling and .ymt file counts come into play.