# How can i override maps cooked via UAT

**URL:** <https://forums.unrealengine.com/t/how-can-i-override-maps-cooked-via-uat/473163>\
**Category:** Platform & Builds\
**Tags:** Cooking, uat, unreal-engine, packaging-projects, question\
**Created:** [October 19, 2020, 2:54pm UTC](https://forums.unrealengine.com/t/how-can-i-override-maps-cooked-via-uat/473163 "2020-10-19T14:54:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Szlachu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Szlachu](https://forums.unrealengine.com/u/Szlachu)\
**Post date:** [October 19, 2020, 2:54pm UTC](https://forums.unrealengine.com/t/how-can-i-override-maps-cooked-via-uat/473163/1 "2020-10-19T14:54:28Z")

</div>

I want to include only some of the maps while building with UAT and from what i see DefaultEngine maps are note overriden by -map= flag, the maps in this flag are getting added as extra ones.  
Soo im trying to use -MapIniSection= but no luck there either because right now UBT or even UE4Editor-Cmd.exe dont care what i put in there.  
My commands are:

```
RunUAT BuildCookRun -ue4exe=UE4Editor-Cmd.exe -utf8output -project="ShooterGame.uproject" -noP4 -clientconfig=Development -nocompileeditor -nocompile -platform=Win64 -targetplatform=Win64 -cook -MapIniSection=NormalMaps -stage -pak -package -archive -archivedirectory=E:\Tests\TestBuilds\TestBuild 

```

and

```
UE4Editor-Cmd.exe "ShooterGame.uproject" -run=Cook -MapIniSection=NormalMaps -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -abslog="Cook-2020.10.19-16.23.10.txt" -stdout -CrashForUAT -unattended -NoLogTimes -UTF8Output

```

On the bottom of DefaultGame.ini i have 2 extra ini sections added:

```
[CustomMaps]
+MapsToCook=(FilePath="/Game/Maps/Sanctuary.umap")

[NormalMaps]
+MapsToCook=(FilePath="/Game/Maps/Highrise.umap")
+MapsToCook=(FilePath="/Game/Maps/Highrise1.umap")
+MapsToCook=(FilePath="/Game/Maps/Highrise_2.umap")

```

but the result is the same when i use UE4Editor-Cmd.exe or RunUAT.bat with CustomMaps or NormalMaps as my MapIniSection.

Am i doing something wrong here?

Maybe my sections are placed in the wrong file?

I’ll be gratefull for any help because i cannot grasp what am I doing wrong.

---

<div class="post-metadata">

**Author:** ![Pbrownnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pbrownnz](https://forums.unrealengine.com/u/Pbrownnz)\
**Post date:** [May 17, 2022, 2:42am UTC](https://forums.unrealengine.com/t/how-can-i-override-maps-cooked-via-uat/473163/2 "2022-05-17T02:42:21Z")

</div>

Hi, did you ever find a solution to this?

---

<div class="post-metadata">

**Author:** ![Nolan\_ci1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nolan\_ci1](https://forums.unrealengine.com/u/Nolan_ci1)\
**Post date:** [February 9, 2023, 12:09pm UTC](https://forums.unrealengine.com/t/how-can-i-override-maps-cooked-via-uat/473163/3 "2023-02-09T12:09:13Z")

</div>

Hi!  
Not sure if you had the wrong .ini…

Extracted from **EditorEngine.h**

> Load the list of maps from the given section of the Editor.ini file
