{"id":4967,"date":"2019-05-09T19:30:08","date_gmt":"2019-05-09T11:30:08","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=4967"},"modified":"2019-05-10T06:16:27","modified_gmt":"2019-05-09T22:16:27","slug":"creating-single-exe-from-unity-build-files","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2019\/05\/09\/creating-single-exe-from-unity-build-files\/","title":{"rendered":"Creating Single .EXE from Unity Build Files"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"217\" data-attachment-id=\"4968\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/05\/09\/creating-single-exe-from-unity-build-files\/unity-single-exe-build\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?fit=518%2C217&amp;ssl=1\" data-orig-size=\"518,217\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity-single-exe-build\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?fit=518%2C217&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?resize=518%2C217&#038;ssl=1\" alt=\"\" class=\"wp-image-4968\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?w=518&amp;ssl=1 518w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?resize=300%2C126&amp;ssl=1 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><figcaption>Nice single .exe file for the customer!<\/figcaption><\/figure>\n\n\n\n<p><strong>Using Enigma Virtual Box<\/strong><br><br><a href=\"https:\/\/enigmaprotector.com\/en\/downloads.html\">https:\/\/enigmaprotector.com\/en\/downloads.html<\/a><\/p>\n\n\n\n<p>&#8211; Select input file name: (This is .exe file from unity build)<br>&#8211; Enter output file name: (this is the output single exe file) *This MUST be same as the original .exe file name, so that data folder gets found.<br>&#8211; Click Add \/ Add Folder Recursive ..<br>&#8211; Browse to your Build folder, for example ..\/Builds\/ within your unity project (next to Assets\/ folder)<br>&#8211; Now you can test your single exe file<br>&#8211; Note: Loading data from StreamingAssets\/ folder within the single exe app seems to work also.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"418\" data-attachment-id=\"4969\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/05\/09\/creating-single-exe-from-unity-build-files\/image-11\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-2.png?fit=575%2C418&amp;ssl=1\" data-orig-size=\"575,418\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-2.png?fit=575%2C418&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-2.png?resize=575%2C418&#038;ssl=1\" alt=\"\" class=\"wp-image-4969\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-2.png?w=575&amp;ssl=1 575w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-2.png?resize=300%2C218&amp;ssl=1 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"378\" data-attachment-id=\"4970\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2019\/05\/09\/creating-single-exe-from-unity-build-files\/image-12\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-3.png?fit=320%2C378&amp;ssl=1\" data-orig-size=\"320,378\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-3.png?fit=320%2C378&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-3.png?resize=320%2C378&#038;ssl=1\" alt=\"\" class=\"wp-image-4970\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-3.png?w=320&amp;ssl=1 320w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/image-3.png?resize=254%2C300&amp;ssl=1 254w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><figcaption>Select whole Builds folder, if that contains your exe and data folder<\/figcaption><\/figure>\n\n\n\n<p><strong>Warp<\/strong><br><br>Tested this tool also, works, but seems to leave console window open when exe is run..<br>&#8211; <a href=\"https:\/\/github.com\/dgiagio\/warp#windows-1\">https:\/\/github.com\/dgiagio\/warp#windows-1<\/a> <br><\/p>\n\n\n\n<p><strong>TODO<\/strong><br><br>&#8211; Check if enigma supports command line arguments, then you could make it automatic with some editor scripts!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using Enigma Virtual Box https:\/\/enigmaprotector.com\/en\/downloads.html &#8211; Select input file name: (This is .exe file from unity build)&#8211; Enter output file name: (this is the output single exe file) *This MUST be same as the original .exe file name, so that data folder gets found.&#8211; Click [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4968,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[420,1,3],"tags":[188,1090,909,1091],"class_list":["post-4967","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-uncategorized","category-unity3d","tag-build","tag-exe","tag-single","tag-stand-alone"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2019\/05\/unity-single-exe-build.png?fit=518%2C217&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1i7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=4967"}],"version-history":[{"count":3,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4967\/revisions"}],"predecessor-version":[{"id":4974,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4967\/revisions\/4974"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/4968"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=4967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=4967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=4967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}