Copy Files On Export's icon

Copy Files On Export 0.3.0 Tools 4.2 Community

Submitted by user rihards; MIT; 2025-05-05

Copy Files On Export is an addon for Godot 4 which allows you to define a set of files and directories which will be copied alongside the project when it is exported, optionally filterable by feature! Useful if you want to include a README or other files for your users without having to copy the files manually or set up automation via external means.

To configure the addon, head to Project → Project Settings → Copy Files On Export. The table in that section defines the file and directory mappings which will be copied to the export location. Click "Add" to add a new mapping. Then press "Select" and navigate to the file or directory you wish to include in your export destination. Then for "Path in export location" type a valid path which defines the destination of the mapping. The following formats should work:

* some-file.txt
* foo/bar/some-file.txt
* /foo/bar/some-file.txt
* ./foo/bar/some-file.txt
* foo/bar/baz (for directories)
* etc.

If you want to limit the mapping to one or more specific feature tags, you can enter them comma-separated in the "Limit to features" field.

Directories will be copied recursively - their contents will be copied in their entirety. For your convenience, ".import" and ".uid" files will be skipped.

On MacOS, the data will be placed alongside the *.app. Android and iOS exports are currently untested, therefore, "officially" unsupported. I'll appreciate any test results you can post!

View more information or file issues with the addon in the git repository - https://github.com/paskausks/gd-copy-files-on-export


View files Download Submit an issue Recent Edits