Sometimes it’s useful to verify that you have a valid local copy of the game and engine after a workstation issue. (Windows Blue-Screen, power failure, computer freeze, etc.)
When using Perforce, there is a command called “p4 clean” that will ensure you have a 1:1 bit-for-bit copy of what’s on the server by MD5-hashing every file in your local drive and checking the hash digest with the server.
But there is something even better!
I created a tool called P4Sweep that is 10x faster than “p4 clean” over remote VPN connections to a Perforce server.
P4Sweep can verify a 400 GB Unreal game in 3 minutes on a 16-core workstation with an SSD.
Here is the code so you can try it yourself: