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

Adding replace/addon clothes

Automatically detect your addon and replace clothing, take photos, and detect colors.


Before you begin

Run this command to unlock the pipeline commands:


Step 1 - Detect replace clothes

Scans for replace clothes and marks them for processing.

  • Skip this step if you only have addon clothes (no replaces).

  • Only needs to run once - no need to repeat on future updates unless you add new replaces.

  • Takes a few minutes.


Step 2 - Recalibrate

Goes through all clothes and searches for addons/replaces.

  • You must be in-game with plenty of open space around you.

  • Don't leave your position until the last spawned ped disappears.

  • Takes ~15 minutes.


Step 3 - Take photos

Takes photos of all marked clothing and detects colors automatically.

Requirements

  • Start rcore_clothing_for_photos before running this command.

  • Windowed mode - don't run in fullscreen.

  • Normal or lower graphics - higher settings may cause memory crashes. Don't change resolution or window size.

  • Clear your screen - hide crosshairs, draw text, nearest postal, and anything rendered outside NUI.

  • Disable shaders (NVE, ReShade, etc.) - lighting must be realistic. The hoodie in the confirmation dialog should look gray, not white.

Run this command in server console / txAdmin:

During the process

  • Confirm in-game that the first photo looks correct before continuing.

  • Wait for male ped photos to finish, confirm, then repeat for female ped.

  • Can take hours depending on how many clothes you have.

  • Can be stopped and restarted at any time - it picks up where it left off.

  • The green background is removed automatically in post-processing.

If the process fails, a window appears with a link. Open the link to check what's blocking the green screen, fix it, and re-run.


Step 3.5 - Manual photo mode

Some items (earrings, neckwear, etc.) are too small for automatic detection. Use manual mode to photograph them with a free camera.

Control
Action

WASD + mouse

Move camera

Hold Shift

Slow movement

Spacebar

Take photo / skip item

  • Windowed mode only.

  • Position the item so it's at least 300ร—300px - bigger is better.

  • If no item is visible in the green screen room, press spacebar to skip.

  • The two-tone green screen in this mode is intentional.


Step 4 - Clean up invisible items

Removes empty slots from addon packs that result in missing photos and invisible clothing.

  • Follow the same requirements as Step 3 (windowed, clear screen, etc.).

  • Unlike Step 3, this cannot be resumed - if stopped, start from the beginning.

  • Runs quickly.

โ—After finishing all previous steps, stop rcore_clothing_for_photos and restart your game. It must not run, when you are not taking the photosโ—


Step 5 - RCore AI (optional)

Automatically assigns names, categories (polo, shirt, hoodie, etc.), and improved colors to your addon clothes.

This is optional - you can do all of this manually via Admin Mode.

Read more on the RCore AI page.


Adding new clothes later

Scenario
Steps to run

New addon clothes

Steps 2, 3, 3.5 (only new items are processed)

New replace clothes

Steps 1, 2, 3, 3.5

Last updated