This guide explains how to optimize your .ytd files for GTA V and FiveM.
FiveM Supply sometimes delivers textures, such as liveries, in a high quality format. While this provides the best possible visual result, it can also have an impact on player performance. We do this because it is always possible for customers to lower the quality themselves later, but not to increase it again afterwards.
By following this guide, you will be able to optimize these textures yourself.
Important: Optimizing textures can reduce file size and improve performance, but it may also reduce the visual quality of the vehicle.
๐ Why would I optimize a YTD file? #
A .ytd file contains vehicle textures used by GTA V and FiveM. If these textures are very large or stored in a heavy format, they may increase memory usage and affect streaming performance.
Optimizing a .ytd file can help with:
- reducing memory usage
- improving streaming performance
- lowering the chance of texture-related warnings
- making vehicles lighter for players to load
๐ ๏ธ What do you need? #
Before you begin, make sure you have the following software installed:
- OpenIV
- An image editing program such as:
- Paint.NET
- Adobe Photoshop
- or another compatible image editor
Download links:
- OpenIV:
https://openiv.com/ - Paint.NET:
https://www.getpaint.net/
๐งพ Step-by-Step Guide #
1. Open OpenIV #
Open OpenIV on your computer.
If you do not have this software yet, download and install it first.
2. Add the vehicle to OpenIV #
Add the vehicle you want to edit to your OpenIV environment.
Important: Do not add or edit these files directly inside your original GTA files. Always use a separate folder, such as a mods folder.
You can create this folder in OpenIV by using:
New โ Folder โ mods โ OK
This is the safest way to edit files without affecting your base game files.
3. Enable Edit Mode #
Turn on Edit Mode in OpenIV so you can make changes to files.
You can find this at the top of the screen.
If a popup appears, press Yes.
4. Open the YTD file and export the texture #
Open the .ytd file and look at the textures inside it.
Choose the texture you want to optimize, then click:
Export selected
Save the file to a location on your computer, for example:
Documents\FiveM_Textures
File type advice:
- save as
.ddsif you use Paint.NET - save as
.pngor.jpegif you use Photoshop or another similar image editor
5. Open File Explorer #
Go to the location where you saved the exported texture.
6. Open the texture in your image editor #
Open the texture in the image editing program of your choice.
If you do not have one, you can use Paint.NET for free.
๐๏ธ Step 7 for Paint.NET #
If you are using Paint.NET, there are two common ways to optimize the texture.
Option 1: Heavy optimization #
If you want to optimize the vehicle more aggressively, with a higher risk of quality loss, you can reduce the texture size.
Do the following:
- press
Ctrl + R - choose Width percentage
- set it to 50%
This significantly lowers the texture size and can greatly reduce performance impact.
Warning: This may noticeably reduce visual quality.
Option 2: Light optimization #
If you want to optimize the vehicle more lightly, this is often possible when a FiveM Supply livery is saved as file type A8R8G8B8.
In that case, you can save the texture as DXT5 instead.
Do the following:
- press
Ctrl + Shift + S - use Save As
- save the file as
.pngor .dds, in the save settings, select DXT5
This usually gives a lighter result than A8R8G8B8 while keeping better quality than resizing.
๐ผ๏ธ Step 7 for Other Image Editing Programs #
If you are using another image editing program such as Adobe Photoshop, the general process is similar.
You can:
- resize the texture
- save it in a lighter format
Saving as .png often results in a lighter texture format compared to the heavier A8R8G8B8 format.
๐ฅ 8. Import the texture back into OpenIV #
Once your texture has been edited, go back to OpenIV.
Use the Import button in the top left corner and select your edited texture.
Then press:
Save
๐ 9. Move the updated YTD back to your vehicle resource #
After saving the edited .ytd file, drag it out of OpenIV and place it back into your vehicle folder inside the /stream folder.
Replace the old file on your server with the updated one.
โ ๏ธ Console Warning Explanation #
What does this warning mean? #
Asset x/x.ytd uses X.0 MiB of physical memory. Oversized assets can and WILL lead to streaming issues (such as models not loading/rendering)
This warning means that the specified file is larger than GTA V or FiveM would ideally prefer.
This is very common and does not always mean there is a direct problem.
Especially yellow warnings are usually not something you need to worry about immediately.
Should I be worried? #
In most cases:
- yellow warnings are common
- they do not automatically mean the asset is broken
- they do not always create direct issues
However, it can still be better for player performance to reduce the file size by:
- lowering the texture size
- converting to a lighter texture format
- making 3D or texture-related optimizations
โ Does FiveM Supply provide optimized YTD files? #
FiveM Supply provides free support for optimizing liveries only.
If you want help with livery optimization, feel free to contact support.
๐งฏ Troubleshooting #
My texture looks blurry after editing #
This usually means the texture was resized too much or compressed too heavily.
Try:
- using a higher resolution
- avoiding extreme downscaling
- using a lighter optimization method such as DXT5 instead of resizing by 50%
My edited texture does not appear in-game #
Make sure that:
- the updated
.ytdwas imported correctly in OpenIV - you pressed Save
- the edited
.ytdreplaced the original file in your server resource - the file is in the correct
/streamfolder
My server still gives memory warnings #
That can be normal if the texture is still relatively large.
You can reduce the warning risk further by:
- resizing the texture more
- optimizing multiple textures inside the
.ytd - using lighter texture formats where possible
๐ก Best Practice Tips #
- always make a backup before editing
- only optimize the textures you really need
- test changes in-game after every edit
- avoid lowering quality too much if the vehicle needs to stay visually sharp
- use light optimization first before using heavy resizing
โ FAQ #
Can I optimize every texture in a YTD? #
Yes, but not every texture needs it. It is usually best to optimize only the textures that have the biggest impact.
What is the safest way to optimize a livery? #
The safest method is usually saving it in a lighter format such as DXT5, instead of heavily resizing it.
Does resizing always improve performance? #
It often helps, but it also reduces quality. The result depends on the original texture size and format.
Does FiveM Supply help with optimization? #
Yes. FiveM Supply offers free support for optimizing liveries only.
๐ง Support Information #
If you need help with a FiveM Supply livery, support is available for livery optimization only.
For other texture edits or custom optimization work, you may need to make the changes yourself or use your own developer.