DEV Community

Maciej Sawicki
Maciej Sawicki

Posted on

[Game of Purpose] Day 12 - VCS thoughts

Today I am still travelling and has only access to a weak laptop, so I cannot do any Unreal work. I even installed Unreal, but even running a started project is a pain in 2 FPS.

On the other hand I've been thinking about a VCS (Version Control System). My whole programming life I've been using Git, but it turns out the most popular is Perforce. Well, Git was created mainly to handle text files and it does that wonderfully, but it is not optimal for binary file, which I think Unreal uses the most.

To use Git I just create a project on GitHub and select it in IntelliJ IDEA and that's basically all. I can commit, push, pull, merge, etc.

However it looks like it's not that simple with Perforce. There is no free hosting service, so I'd need to spend some money to even host my files. Well, that is understandable, because even one of the biggest git projects with thousands of commits take a couple of GBs of space. Not the project, all the history! Regular small projects don't exceed dozen of MBs.

I deployed Helix Core to Digital Ocean as a Droplet. It will cost me 28 USD/month. That's quite a money. I wanted to have some monthly budget, but that would eat a great deal of it. Anyway, I'll talk about the budget another day.

I then created a sample Unreal project and tried to commit and push it to my Perforce server but I was stuck. Knowing git I couldn't figure out anything. There were some depots, stream depots and workspaces. I created 3 workspaces, but for some reason Unreal saw only 1 of them. I don't know why. I tried to make an init commit through Unreal, but there were some errors about wrong mapping. Don't know what it is. I read somewhere we first need to init it via a GUI program called P4V. I created pushed the files, but could only do it to a workspace that was not seen by Unreal. Then I wanted to remove them, but there were some errors... and so one and so one. I would probably need to watch some tutorial on YouTube.

Top comments (0)