Optimize
Optimize makes the textures inside .ytd, .ydr, .ydd and .yft files take less video memory and less space on disk. Your players download less, and big files stop going over FiveM’s 16 MB limit.

Optimize a resource
Section titled “Optimize a resource”-
Open Tools → Optimize, or click Optimize in the toolbar.
-
Pick Max size: 2048 px, 1024 px or 512 px. Textures larger than that are scaled down. The default comes from Settings.
-
Add what to optimize:
- drop folders or files on Drop .ytd · .ydr · .ydd · .yft here, from Windows or from the studio’s Explorer (folders are searched all the way down),
- or click Add files or Add folder,
- or click Add current project.
-
Choose Copy or In place under OUTPUT (see below).
-
Click Optimize N, where N is the number of files that will get smaller.
When it’s done, the status line says how much video memory and disk space you saved, for example Done. Saved 65.6 MB VRAM · 40.2 MB on disk.
Read the list
Section titled “Read the list”Each file shows its type, its number of textures, its size NOW and AFTER, and its SAVING. Files that won’t change show a status instead:
| Status | Meaning |
|---|---|
| OPTIMIZABLE | Will get smaller. The bar shows by how much. |
| ALREADY OPTIMAL | Nothing to gain. |
| ESCROW — LOCKED | Encrypted by Cfx.re. It can’t be read or optimized, so it is skipped. |
| UNSUPPORTED | Not a file Optimize handles. |
| FAILED | It couldn’t be read or written. Hover the status to see why. |
Click a file to see each texture inside it, with its own before and after. VRAM SAVED on the left adds everything up. Under SHOW, pick Vehicles, MLO / Map, Clothing or Other to narrow the list. Clear empties the list.
Choose Copy or In place
Section titled “Choose Copy or In place”| Output | What happens |
|---|---|
| Copy (default) | Optimized copies go to the output folder. Your original files are not changed. The resource the files belong to is copied too, so the result is a complete resource you can drop on your server. |
| In place | The original files are changed where they are, so your server uses the smaller versions straight away. The studio asks before it starts. |
In Copy mode, the output folder is a noxsware_output folder next to the source. Click Choose folder… to pick another one, or set a Default output folder in Settings. Open opens the output folder.
What In place keeps for you
Section titled “What In place keeps for you”Before a file is changed in place for the first time, the studio keeps the original beside it as <file>.noxbak. If it can’t make that copy, it skips the file. Changes in place to a pack are also recorded in History as one step, so you can undo them there.
To put every original back at once, use Tools → Advanced → Restore originals (undo every in-place rewrite). It lists the files that have a .noxbak copy and asks before restoring them.
The .noxbak files make the resource bigger on disk, but FiveM doesn’t load them. Once you’ve tested the optimized files in game, you can delete them.
What it does to textures
Section titled “What it does to textures”- Uncompressed textures become DXT5, about four times smaller.
- Textures that are already compressed keep their format. A BC7 texture is not turned into DXT5, and normal maps are never changed to DXT5.
- Anything larger than Max size is scaled down.
- Mipmaps are rebuilt. See-through cut-outs keep their shape at a distance, so clothing edges don’t fade away.
Make models lighter
Section titled “Make models lighter”Models ▾ has two tools for the models themselves. They work on the files in the list, or on a folder you pick when the list is empty.
- Fewer polygons and LODs… (Experimental) takes triangles out of clothing models where the shape barely changes, and makes the Medium and Low versions the game shows at a distance.
- Pack UVs tighter (smaller textures)… (Experimental) moves the used parts of a texture close together, so the texture can be smaller.
See Model Studio and Blender for more on editing models.
Good to know
Section titled “Good to know”- Optimize works on clothing, vehicles and maps alike.
- Builds can optimize as they go: see Optimize textures on Build clothing and Optimize on build on Build a vehicle resource.
- Validate and Server check find files that need optimizing and send them here.
Next: Validate checks a resource before you ship it.