# exe file size and steam drm

**URL:** <https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918>\
**Category:** Platform & Builds\
**Tags:** Steam, exe, unreal-engine, Packaging, UE4, question\
**Created:** [May 26, 2021, 7:58am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918 "2021-05-26T07:58:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [May 26, 2021, 7:58am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/1 "2021-05-26T07:58:09Z")

</div>

currently unreal packages the exe file in path WindowsNoEditor\Game\Binaries\Win64 for 73mbs. steam drm on their website requires under 64mb files. how can i reduce that exe file size? i see some big company games with under that 64mb size, have i ticked some packaging settings on or something? thanks

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 26, 2021, 11:35am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/2 "2021-05-26T11:35:11Z")

</div>

I’m not at the correct machine right now, but I seem to recall there’s no limit on the DRM size if you do it using the SDK.

I can’t find a video about it, but this is the manual page:

[https://partner.steamgames.com/doc/features/drm#manual](https://partner.steamgames.com/doc/features/drm#manual)

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [May 26, 2021, 11:39am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/3 "2021-05-26T11:39:55Z")

</div>

ok, i will try that! thanks

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [May 28, 2021, 9:06am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/4 "2021-05-28T09:06:56Z")

</div>

ok been playing with the drmtool / build upload. build uploads but drm fails, it will upload but gives error after.

DRM wrap failed with EResult 8 (Invalid Parameter)

im using example line from docs:

builder\steamcmd.exe +login mysteamaccount mysteampassword +drm\_wrap 480 “D:\src\steamworkssdk\steamworksexample\release\steamworksexample.exe” “D:\src\steamworkssdk\tools\ContentBuilder\content\windows\_content\SteamworksExample.exe” drmtoolp 0 +run\_app\_build …\scripts\app\_build\_480.vdf +quit

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [May 28, 2021, 9:12am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/5 "2021-05-28T09:12:44Z")

</div>

it also says that “Executables with a TLS callback can only be wrapped in compatibility mode”

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [May 28, 2021, 9:37am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/6 "2021-05-28T09:37:23Z")

</div>

ok i figured it out, changed “0” from the example code into “6” compatibility mode, upload and download worked, also build submitted. and the drm works after testing! big thanks ClockworkOcean!

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 28, 2021, 9:42am UTC](https://forums.unrealengine.com/t/exe-file-size-and-steam-drm/483918/7 "2021-05-28T09:42:32Z")

</div>

Good stuff 🙂

It’s worth tinkering with the parameters a bit, I recall having to use compat mode sometimes, but then it just worked without it later…
