Resource tools · Vehicle Editor guide
Auto-Format and Cleanup
Remove known junk files, migrate legacy resource manifests, and understand the destructive changes made by cleanup.
Cleanup recursively deletes known junk files and migrates a legacy manifest. It is destructive and does not create a backup.
Deleted files
- Every file ending in
.z3d,.bak, or.log. - Files named
desktop.ini,thumbs.db,.ds_store, orreadme.txt, case-insensitively.
Important: .bak files generated by Meta or Handling Editor are also cleanup
targets. Move important backups outside the resource before running it.
Manifest conversion
When __resource.lua exists and fxmanifest.lua does not, Cleanup:
- prepends
fx_version 'cerulean'andgame 'gta5'to the old contents; - writes the result as
fxmanifest.lua; - deletes
__resource.lua.
This is a textual conversion and cannot guarantee that every legacy directive is compatible with a modern manifest.
Run Cleanup
- Back up the resource.
- Select/scan the intended resource through Scanner.
- Open Cleanup, click Run Cleanup, and read the confirmation.
- Inspect the deleted-file count/list and diff the manifest afterwards.
Version 1.2.2 limitation
Cleanup still reads its target from the old scanner state (scanPath), while the
multi-workspace Scanner uses workspacePaths. It may display “Please select a
resource folder” even after scanning. Do not attempt to work around the target;
perform cleanup manually until the implementation is corrected.