Add setup.bat result to source control?

Hi,

Our team decided to use UnrealGameSync to sync our engine and project files in Perforce, so we put UE4’s engine code in our perforce depot, and everyone can build and use the latest engine.

But in general workflow, we have to ask every member to run Setup.bat which will download 11+ GB additional files. This is extremely slow in our internet environment(like 0.5MB/s).

Should we also add those files which downloaded by Setup.bat into our stream? Or which files should we add ?

1 Like

Finally we dug into the setup.bat file and find there’s some argument which we can use.

--cache=[Path]

We setup an NAS sharing folder, and run setup.bat with that argument, so everyone will use the same cache folder which is super fast in LAN network.

Command:

Setup.bat --force --threads=8 --cache="Z:\UnrealEngine\GitDPackCache"

By the way, if you have already run the setup.bat file, the pack files is in .git\ue4-gitdeps folder by default.

1 Like