# How to modify the Changelist number stored in Version.h?

**URL:** <https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863>\
**Category:** Platform & Builds\
**Tags:** build, unreal-engine, version, question\
**Created:** [January 21, 2016, 9:33pm UTC](https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863 "2016-01-21T21:33:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scyssion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Scyssion](https://forums.unrealengine.com/u/Scyssion)\
**Post date:** [January 21, 2016, 9:33pm UTC](https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863/1 "2016-01-21T21:33:42Z")

</div>

I simply want to modify the define **BUILT\_FROM\_CHANGELIST** to the current perforce Changelist being built by the build grid. I noticed in _UE4Build.cs_ there is an **UpdateVersionFiles()** method that will do this for me. In addition I also found _UpdateLocalVersion.Automation.cs_ which seems to take in an argument of “cl” to allow me to change this number.

I tried:

```
Build.bat MyGameProject Win64 DebugGame -waitmutex -cl=1111 -verbose

```

but that did not seem to work.

What exactly do I need to do in order to modify the Changelist number?

I also noticed some attributes for the class UpdateLocalVersion.

```
[Help("CL", "Overrides the automatically disovered changelist number with the specified one")]
[RequireP4]
public class UpdateLocalVersion : BuildCommand
{ }

```

How do I go about informing the Unreal build tool, that the machine does indeed have Perforce and that is indeed a Build machine?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 9, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863/2 "2016-02-09T19:26:09Z")

</div>

Hello,

Take a look at this post, and see if any of the information is helpful to you. Let me know if it is useful or not [https://answers.unrealengine.com/questions/164423/where-to-inject-custom-engine-versioning.html](https://answers.unrealengine.com/questions/164423/where-to-inject-custom-engine-versioning.html)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 16, 2016, 6:11pm UTC](https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863/3 "2016-02-16T18:11:14Z")

</div>

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

---

<div class="post-metadata">

**Author:** ![Marinoreik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marinoreik](https://forums.unrealengine.com/u/Marinoreik)\
**Post date:** [January 4, 2024, 4:01pm UTC](https://forums.unrealengine.com/t/how-to-modify-the-changelist-number-stored-in-version-h/344863/4 "2024-01-04T16:01:52Z")

</div>

Hi,  
Mr Scyssion how did you do this correctly? Do you still have this parameter full somewhere?
