In these guide we will install P4V and configure Unreal Engine to use your Helix Core server.
-
Download and install P4V.
-
In P4V, enter the address and the username given by your Helix Core Server administrator.
-
Click on OK, then this prompt will appear :
Choose
Unicode (UTF-8)then valid. -
If a window appear, enter your password. Else, click on
Sign Upand enter your credentials. -
Now, you can see P4V interface.
It has 3 main pane :
-
Toolbar : Provides quick access to a subset of actions and tools available from the menu bar. To get information about a toolbar item or other object in P4V, move the mouse pointer over the object. P4V displays a small window (tooltip) containing status or explanatory information about the object. P4V makes extensive use of tooltips.
-
Left pane : Includes the following tabs:
- Depot Tree : Shows all of the files in the depot.
- Workspace Tree : Shows the files on your computer, including files that are not in the depot
-
Right pane : Contains tabs for working with changelists, labels, workspaces, users, jobs, streams, and branches.
-
Follow the step to switch stream and pick the main stream.
-
You have now the last version of the project.
-
Go to your working directory and open the .uproject.
-
At the bottom right corner, click on
Revision Control > Connect to Revision Control. -
In provider, select Perforce.
-
Most of the info should autocomplete (if not, enter same info as for P4V).
-
You should see your newly created workforce in the
Available workspacesdropdown. Select it. -
Click
Accept Settings. Now perforce integration is activated. -
In Edit > Editor Preferences, search and enable
Automatically Checkout on Asset Modification.
-
Go to the Pending Changelists pane (View > Pending changelists).
-
You should see the default changelist listed at the top. This changelist contains files that have been modified but not yet submitted. Double-click on the default changelist, add a description and uncheck any files you don't want to appear in the new changelist.
-
Click on save to create a new changelist and it will appear in the Pending Changelists pane.
-
Go to the Pending Changelists pane (View > Pending changelists).
-
Edit the changelist you want to create a review and add the
#reviewkeyword in the description. -
Go to your swarm site and you'll find your review.
-
Go to the Pending Changelists pane (View > Pending changelists).
-
Right-click on the changelist you want to submit then select
Submit.... -
Add a description, check all files again and click on Submit.
Shelve is the process of temporarily storing files in the Helix server without checking in a changelist.
-
Go to the Pending Changelists pane (View > Pending changelists).
-
Right-click on the changelist you want to shelve and select
Shelve Files.... -
Uncheck the files you don't want to shelve and click on Shelve. Now everyone can get your changes without having to submit them.
Unshelve is the process to pick a shelve changelist and apply its modification in your workspace. So that you can pick someone else's changelist to review or debug.
-
Go to the Pending Changelists pane (View > Pending changelists).
-
(Optional) If the shelve belongs to someone else, replace the user in the Pending changelists search bar (e.g hpasquier).
-
Right-click on the changelist and select
Unshelve Files....
-
Go to the Stream Graph pane (View > Stream Graph).
-
Press Ctrl+N and add a stream name.
-
Select the stream type corresponding to your need :
⚠️ Keep in mind that Helix Core copy the entire project for each stream (except virtual stream). -
Click on OK.
-
Create a new workspace with Connection > New Workspace.
-
Change the workspace to follow a convention : username_stream-name (e.g jdoe_main or jdoe_arts).
-
Choose the folder on which the files will be put in workspace root.
-
For the stream, select Browse and pick the stream you want (e.g //<YOUR_PROJECT_NAME>/main).
-
Go to Advanced, enable
Rmdirand selectRevert unchanged filesinOn submitdropdown. -
Press OK.
-
On the left pane, click on
Workspacetab and select the folder. Then, click of the bigGet Latestbutton on the top toolbar.
-
Conflict files have a question mark icon.
-
Right-click on the file and pick
Resolve.... -
The resolve window will open and provide you with multiple options (Accept Source, Accept Target...).
-
We recommend to
Run Merge Tooland it will show conflict sections.From left to right, you have the source, base and target. - Source : Your changes. - Base : Version you based your changes. - Target : Current version in Helix Core.
-
For each conflict, you can pick the version using the bottom window. Each conflict has 2 icons next to it (blue for source and green for target), you just have to click on the corresponding icon.
-
Save your changes (Ctrl + S) and close the window. P4V will automatically propose to replace the conflict file with the merged result file, click on yes.
-
Repeat the process for each file and your are done !
-
Create a new Blueprint and save it. A green sum sign appear on the new Blueprint meaning it's mark for add.
-
At the bottom right corner, click on Revision Control > View Changes. It list all pending changelist.
ℹ️ Your new blueprint will be linked to the
defaultchangelist. -
Right-click on your file in the default changelist and select
Move Files To.... -
Add a description and click OK. You have created a new changelist !
You can also create a new changelist by clicking on the + button :
-
Create a new Blueprint and save it.
-
At the bottom right corner, click on Revision Control > Submit Content. This window will be displayed :
-
By default, your changelist will contains every files updated. Don't forget to remove files you don't want to submit yet.
-
After setting a description, you just need to click on
Submit.
You can pick someone else's changelist to review or debug.
-
At the bottom right corner, click on Revision Control > Review Changelists. This window will be displayed :
-
Enter the changelist id you want to load and now you are good to go !
| Notion | Git notion | Definition |
|---|---|---|
| Depot | Repository | A file repository hosted by server. |
| Workspace | NA | Folders or directories on your workstation where you work on revisions of files that are managed by the Helix Core server. |
| Check out | git add | To designate one or more files, or a stream, for edit. |
| Stream | git branch | A "branch" with built-in rules that determines what changes should be propagated and in what order they should be propagated. |
| Get Latest / Sync | git pull | To copy a file revision (or set of file revisions) from the Helix server depot to a client workspace. |
| Submit | git push | To send a pending change list into the Helix server depot for processing. |
| Change list | commit | A list of files, their version numbers, the changes made to the files, and a description of the changes made. |
| Revision | NA | File version. |
| Revert | git revert | To discard the changes you have made to a file in the client workspace before a submit. |
| Shelve | git stash | The process of temporarily storing files in the Helix server without checking in a changelist. |
- [P4V User guide](https://www.perforce.com/manuals/p4v/p4v.pdf)



