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, or readme.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:

  1. prepends fx_version 'cerulean' and game 'gta5' to the old contents;
  2. writes the result as fxmanifest.lua;
  3. deletes __resource.lua.

This is a textual conversion and cannot guarantee that every legacy directive is compatible with a modern manifest.

Run Cleanup

  1. Back up the resource.
  2. Select/scan the intended resource through Scanner.
  3. Open Cleanup, click Run Cleanup, and read the confirmation.
  4. 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.

Ready to work on a resource? Download Vehicle Editor