# how to execute command before the game launch in android

**URL:** <https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304>\
**Category:** Community & Industry Discussion\
**Tags:** command, resolution, unreal-engine, Android, question\
**Created:** [March 2, 2016, 4:06pm UTC](https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304 "2016-03-02T16:06:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhnoni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhnoni](https://forums.unrealengine.com/u/mhnoni)\
**Post date:** [March 2, 2016, 4:06pm UTC](https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304/1 "2016-03-02T16:06:48Z")

</div>

HI i have a packaged game to my android , i want to execute commands before the game start but the GameUserSettings.ini is getting clear after every launch in my android so is there are any other way ?

btw when i execute command r.SetRes in the game my screen get cropped with black boarder in the side and not getting the right fit so any reason why ?

i know i can make a profile in UE4 editor but i want to know how to excute commands before the game launch .

note : my android is mali400 galaxy beam

thanks  
MH

---

<div class="post-metadata">

**Author:** ![mhnoni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhnoni](https://forums.unrealengine.com/u/mhnoni)\
**Post date:** [March 5, 2016, 4:27pm UTC](https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304/2 "2016-03-05T16:27:13Z")

</div>

any help pls ?

---

<div class="post-metadata">

**Author:** ![mhnoni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhnoni](https://forums.unrealengine.com/u/mhnoni)\
**Post date:** [March 18, 2016, 9:53pm UTC](https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304/3 "2016-03-18T21:53:49Z")

</div>

bump…

---

<div class="post-metadata">

**Author:** ![mhnoni](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhnoni](https://forums.unrealengine.com/u/mhnoni)\
**Post date:** [March 28, 2016, 8:43pm UTC](https://forums.unrealengine.com/t/how-to-execute-command-before-the-game-launch-in-android/349304/4 "2016-03-28T20:43:58Z")

</div>

any help ?
