# How to host obb files in my own server?

**URL:** <https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 15, 2016, 3:44am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504 "2016-09-15T03:44:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhesari](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhesari](https://forums.unrealengine.com/u/mhesari)\
**Post date:** [September 15, 2016, 3:44am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/1 "2016-09-15T03:44:41Z")

</div>

Hi Epic/community,

I use an alternative app store for android that doesn’t support OBB extensions.

How to upload obb files in my server and my game downloaded obb files from my server?

---

<div class="post-metadata">

**Author:** ![JackP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackP](https://forums.unrealengine.com/u/JackP)\
**Post date:** [September 15, 2016, 3:00pm UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/2 "2016-09-15T15:00:42Z")

</div>

You need to package your game’s content as downloadable content (DLC) and have the app download and mount the pak file data on launch. This is a fairly advanced topic and unfortunately we don’t yet have any documentation for this on mobile. 4.13 also requires some C++ code to initiate the download and mount the pak file.

4.13 added a wizard to build Project Launcher configurations to package the APK file and separately generate the DLC content. Version 4.14 will have blueprint functionality to manage the downloading and mounting of the DLC content, including patching/updating content, and we will have an example blueprint which shows how to do this without any C++ code.

- Jack

---

<div class="post-metadata">

**Author:** ![mhesari](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mhesari](https://forums.unrealengine.com/u/mhesari)\
**Post date:** [October 15, 2016, 5:18am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/3 "2016-10-15T05:18:34Z")

</div>

If you have any example on c++ should be work for me, please send me a link

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [October 17, 2016, 2:46am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/4 "2016-10-17T02:46:16Z")

</div>

Hi,

You can find patching functionality exposed to BP here:  
[https://github.com/EpicGames/UnrealEngine/tree/4.14/Engine/Plugins/Runtime/MobilePatchingUtils](https://github.com/EpicGames/UnrealEngine/tree/4.14/Engine/Plugins/Runtime/MobilePatchingUtils)

The flow of downloading a DLC/patch should be like:  
Download patch manifest from a server.  
Compare downloaded manifest with locally installed one if it exist.  
Download and install patch if manifest is updated.  
Mount downloaded pack into a game.

Let me know if you have more questions.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fec683b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fec683b](https://forums.unrealengine.com/u/anonymous_user_8fec683b)\
**Post date:** [December 16, 2016, 10:19am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/5 "2016-12-16T10:19:53Z")

</div>

Hi ,

Could you put the image again ?  
What do you think that is wrong here ? My android app doesn’t mount downloaded pack into the game

 ![118975-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/9/4c99a03f1d199caeae76d932d788344a319f6c90.png)

][1]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [December 19, 2016, 9:09am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/6 "2016-12-19T09:09:04Z")

</div>

I don’t see where you call Mount function on downloaded content. Once you receive onInstallSucceed event you need to call Mount function on object stored in PendingContent variable.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 25, 2017, 2:09pm UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/7 "2017-01-25T14:09:16Z")

</div>

Hey  
I was wondering how can I verify the data that has been downloaded? Is there any documentation for these blueprints?  
thanks.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 28, 2017, 11:48am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/8 "2017-01-28T11:48:50Z")

</div>

I can really use some help here!

I have a down-loader level that has an UI and codes implementing the download process. The problem that I have right now is with minimal apk + dlc settings on launcher window. I choose my Data dowloader level as for apk packaging and dlc profile contains all the maps and contents , It is wired that the everything is packaged in apk and my apk has over 300 mg size and my dlc has 4 mg size. I have confirmed my main project settings and excluded all maps from cook list but yet I’m getting 300 mg apk. its really getting frustrating.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [January 31, 2017, 6:24am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/9 "2017-01-31T06:24:58Z")

</div>

Hi,  
When you package project, along with map you specify for cooking in a launcher profile it will cook also maps specified as “Default maps” in Project Settings-\>Map And Modes. Could you set those Default maps" to empty and see if it helps to reduce APK size? Also in Project Settings-\>Packaging there a settings to specify additional maps to include into package, it’s hidden in advanced Packaging category, make sure there are no additional maps.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 31, 2017, 7:05am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/10 "2017-01-31T07:05:20Z")

</div>

Hi, And thanks for your replay.  
I have rechecked my project settings and attached screenshots from it. I went ahead and moved every content I had and kept only downloader level and contents connected to it ,packaged apk and moved my contents back and packaged the dlc , The problem That I have now is the download speed is -0 and install progress is -1 I have also tested this on mobile and the result was same , I have uploaded everything to my host , And here is my blueprint setup so I don’t really know whats the problem? And since we don’t have any documentations about it its really confusing.  
thanks.alt text

 ![124280-shot3_bluprintsetup.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/4/024dfbea865d7dcd0a3bce719b1489c64b39cb72.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [January 31, 2017, 8:29am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/11 "2017-01-31T08:29:59Z")

</div>

Could you attach BP screenshot in higher resolution? Can’t see on this one what could be wrong.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 31, 2017, 9:09am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/12 "2017-01-31T09:09:00Z")

</div>

![124298-part1_bp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/b/72b6fb4c971302c42a2498de0dc7d44fa37c045d.jpeg)

alt text

 ![124301-part3_bp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/d/23d6b5a72683ae9c1c1593072aa03fda51a8fb31.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [January 31, 2017, 9:20am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/13 "2017-01-31T09:20:29Z")

</div>

Seems like “Cloud URL” is incomplete on your screen.  
Should be full path to CloudDir like [http://server-name](http://server-name) and so on

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 31, 2017, 9:37am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/14 "2017-01-31T09:37:49Z")

</div>

Thank u , I can’t believe that how could I not see that , I was sure about Urls since I copied and paste them from host address , Now one more question , Where should I mount the data on mobile ? and how can I verify the data ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [January 31, 2017, 9:55am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/15 "2017-01-31T09:55:22Z")

</div>

Not sure what do you mean by verify. Everytime user starts your application, that BP script should run. It will download latest manifest file from the server and will compare it with locally stored (if it exists on user device) and will patch content only if manifest was updated. Otherwise it will just mount already installed content. You don’t need to do anything extra for mounting, “Installed Content” object in your BP script already has all the information.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 31, 2017, 10:38am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/16 "2017-01-31T10:38:08Z")

</div>

Thank You Very much , And for the last question , the mount point in the mount node should be empty or I have to fill it with address.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [January 31, 2017, 11:12am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/17 "2017-01-31T11:12:57Z")

</div>

It should be empty.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [January 31, 2017, 11:39am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/18 "2017-01-31T11:39:36Z")

</div>

Thanks for the explanations , Have a nice day.

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [February 1, 2017, 11:44pm UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/19 "2017-02-01T23:44:29Z")

</div>

Hey Sorry to bring this up again , I have packaged my dlc and everything worked fine , But there is a one problem , It seems the medias ( movies , Mp4 ) are not being packaged in .pak file as dlc? am I missing something ? What should I Do?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_afd92cec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_afd92cec](https://forums.unrealengine.com/u/anonymous_user_afd92cec)\
**Post date:** [February 2, 2017, 10:47am UTC](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504/20 "2017-02-02T10:47:02Z")

</div>

Yes, pak includes only Unreal assets. All other files usually copied directly along with pak. Right now BP exposed patching can only download/patch pak files, however patching system itself can do any types of files, it’s just currently not exposed to BP. We will look into improving it in next versions.

[Next page](https://forums.unrealengine.com/t/how-to-host-obb-files-in-my-own-server/370504.md?page=2)
