I can’t remember exactly, but I think I literally just used the very first command found on this page:
(Change the bold!)
So:
RunUAT BuildCookRun -project=“full_project_path_and_project_name.uproject” -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory=“Output Directory”
I ran this from cmd. You first must get cmd to the correct directory first where the cook tool is located. I used absolute paths for project and archive path.
I was pleasantly surprised how it ‘just worked’
I think being able to compile without my weak CPU having to struggle with having UE4 open at the same time must of helped a lot.