A relatively simple guide to adding multiple projects to your Perforce source control (using P4V)
https://dev.epicgames.com/community/learning/tutorials/BEqk/unreal-engine-adding-additional-projects-to-perforce-using-p4v-as-simply-as-possible
Many thanks for the tutorial, just a quick question, how can we clear the history or some old update version that the project didn’t essential ? my project have 80G of content folder, but the steam depot got 160G of old cache.
Hey ThuanUE, the depot is likely larger because of old versions of files being stored there. If you want to get rid of the old versions, there are multiple ways to do this:
-
I’d suggest looking up how to reduce the number of old versions you’re maintaining. And, maybe make sure you aren’t saving unnecessary files to the depot. This is a safer solution.
-
If you really want to get rid of all old file versions: log into P4Admin, go to the depots tab, right click whatever files/folders you want to get rid of, and select “Obliterate”. PLEASE NOTE: THIS IS PERMANENT. I’d highly suggest keeping old versions of any important files (and honestly, keeping an additional backup outside of perforce is a great idea too)