How do you guys track your DCC Project Files? (SOLVED)

It’s my understanding that every folder under the Defold project structure is visible to the Editor and, I am guessing, will be packaged with the game, so where do you guys keep your DCC Project files (.psd, .blend, .ma, etc)?

Do you create another repo with them in or is there a way of having a folder in the project hierarchy that is ignored during packaging?

A lot of project files and such doesnt handle versioning well. (vice versa, versioning doesnt scale with binary files very well).
We actually keep them totally separated and am using a cloudservice such as Dropbox or similar.
That said, files like that are not bundled in the game unless you specifically add them as resources in game.project
eg.
custom_resources = resources/,assets/level_data.json

1 Like

Defold keeps track of all resources that are referenced in your game, starting from game.project and branching out into a tree of dependencies with the bootstrap collection at it’s root. When bundling it will include only the files that are used. Anything else will be ignored.

1 Like

Nope. Only what’s part of the resource tree will be packaged. The tree starts with the bootstrap collection (usually main.collection) and follows whatever you have in that collection that links further (sprites, atlases, collections, proxies, factories etc).

So if you have a “test_main.collection” that you use for testing and use temporarily as bootstrap collection, it will not be included if you build with “main.collection” as bootstrap.

See https://www.defold.com/manuals/resource/

3 Likes

Excellent. Another tick in the box for Defold!

6 Likes

If you tick the box “Build report” when bundling, and then open “report.html” in your bundle folder, you will see what files will actually end up in your game, and how large those assets are.

7 Likes