Start here · Vehicle Editor guide
Safe workflow and resource structure
Learn the recommended FiveM resource structure, backup workflow, validation steps, and safe testing process before editing files.
Recommended resource structure
my_vehicle/
├── fxmanifest.lua
├── data/
│ ├── vehicles.meta
│ ├── handling.meta
│ ├── carcols.meta
│ └── carvariations.meta
└── stream/
├── model.yft
├── model_hi.yft
└── model.ytdScanner also supports __resource.lua, meta files in subfolders, multiple
vehicles.meta files, nested stream folders, and workspaces containing multiple
resources.
Recommended editing sequence
- Duplicate the original resource into a working folder.
- Open Vehicle Editor and scan that working folder.
- Check the resource and vehicle counts in the status bar, then locate the target spawn name.
- Make one logical group of changes at a time.
- Save and inspect both the output and any generated backup.
- Rescan after a rename, split, merge, or directory-structure change.
- Start the result on a development server and check the console.
- Spawn the vehicle and test its model, textures, handling, siren/audio, LODs, and collision before moving it to production.
Features that write directly to source files
| Feature | Primary effect | Automatic backup |
|---|---|---|
| Meta Editor (Visual) | Changes a vehicle item in vehicles.meta | .bak |
| Meta Editor (Code) | Replaces the entire XML file | No |
| Handling (Visual) | Changes one CHandlingData item | .bak |
| Handling (Code) | Replaces the entire handling.meta file | No |
| Carcols | Replaces the selected file | No |
| Bulk Engine Sound | Changes one or more vehicles.meta files | .bak |
| Vehicle Renamer | Renames stream files and replaces meta references | No |
| YTD Editor | Repacks over the original YTD | No |
| 3D XML Editor | Writes XML and can compile over a YFT | No |
| Resource Optimizer | Replaces selected YTD files | One-time .backup |
| Cleanup | Deletes junk files and can replace a legacy manifest | No |
Merger, Splitter, Sound Pack Builder, RPF Unpacker, and Export write to an output location. Use an empty output folder to prevent stale files from mixing with the new result.
What an automatic backup means
- A
.bakfile is created by copying the current file before a save. A later save may overwrite the same.bak. - Optimizer creates
.backuponly when that backup does not already exist, so the first backup is preserved. - Automatic backups are not version history. Use Git or separate ZIP archives to preserve multiple editing stages.
Asset Escrow
Vehicle Editor does not decrypt or bypass FXAP. Merger detects .fxap files at a
resource root and displays a warning. Continuing may break the resource or
violate its license. Only modify assets you are authorized to edit.
FiveM verification checklist
ensure resource_nameproduces no manifest or data-file errors.- The spawn name is correct and does not conflict with another resource.
- Standard and
_himodels render correctly at near and far distances. - Textures, transparency, normal maps, and liveries render correctly.
- Collision, doors, glass, wheels, lights, extras, and sirens still work.
handlingIdinvehicles.metamatcheshandlingName.audioNameHashpoints to the intended sound and its sound resource is started.- Client and server consoles report no missing file or invalid XML errors.