x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I create a .exe of my game?

I want to create a .exe of the game I have right now, that I can load without needing the editor. How can I do that?

Product Version: Not Selected
Tags:
more ▼

asked Apr 30 '14 at 03:29 PM in Packaging & Deployment

avatar image

molinaa
56 7 10 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

In the Editor use the menu entries in:

File --> Package Project

[EDIT]

I summarize the discussion in the comments:

If you are having troubles to start your executable on another machine, check if the packaging mode "Shipping" is selected. An executable packaged in "Shipping" mode can be copied around to other machines.

If "Development" is selected then the other machine must have an Unreal Engine installation too.

[/EDIT]

more ▼

answered Apr 30 '14 at 03:31 PM

avatar image

DarthB
720 32 26 55

avatar image Jacky Apr 30 '14 at 03:36 PM
avatar image JayC3D Jan 15 '15 at 01:45 PM

Hello,

I'm still learning Unreal Engine... And I have some questions :

I understood the packaging process but I need some more infos about it.

I'm actually working on a project and do some tests with .exe.

But I have to try the packages on another computer, How can I create an .exe of my game/app copy it to another machine and run it?

I tried to copy/paste the windowsnoeditor folder to the other machine but it searched for a .uproject file, why? Is it impossible to make a real standalone .exe and move it where we want? So here comes my last question, how to install a game/app on a device/computer? (no matter the version, I mean tests and final versions)

I don't understand the logic.

Thanks

JC

avatar image [Epic] Gribbs ♦♦ STAFF Jan 15 '15 at 04:07 PM

Howdy JayC3D,

How would you be packaging the project (Development or Shipping)? If you are building for development, you would need to have UE4 installed on the Computer as well in order to play you project? Packaging for shipping should allow the project to be played on the computer.

You may also want to zip up the file and then transfer it over that way.

Let me know if this helps with your testing.

Thanks!

avatar image Xarol Apr 03 '16 at 03:24 AM

Sean,

I choose packaging for shipping but the resulting executable does not work on a separate machine. I get an error about missing msvcp140.dll.

Is there a way to force static linking or do I need to force my users to download this and other DLLs?

Thanks, -X

avatar image Cameron Abt Apr 26 '16 at 01:39 AM

Sounds like you're missing the VS 2015 redistributable (at least I think 140 is 2015). You should be able to include them as an extra in the install by clicking "Include Prerequisites" on the Project - Packaging settings of the Project Settings page.

When you package your game, it should end up under "\Engine\Extras\Redist\en-us" if you're packaging in US English.

alt text

packaging.png (83.6 kB)
avatar image [Epic] Gribbs ♦♦ STAFF Jan 19 '15 at 07:41 PM

Hey JayC3D,

Just wanted to check in with you and see if this previous information has helped you with getting a project on your other computer. Be sure to let me know if you need any additional help.

Thanks!

avatar image JayC3D Jan 24 '15 at 12:34 PM

Hello Sean!

Sorry I didn't activated notifications for this topic and I took some time to find it again :P

I tried your solution, packaged the project in Shipping mode and it solve my problem! Many thanks Sean, you saved me!

JC

avatar image OMGTKB Sep 15 '18 at 12:50 AM

Can we please rename the big "build" button in the editor? "Build" means "create an executable binary".

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi,

I am new to unreal 4 and now I am working on a project to tests with .exe.

I followed the above answers and got .exe file with windows (64 bit).

After running in UE4 editor, I just packaged my project and got .exe file (saved in C directory). When I double click to start running, its showing the screen but I need to access with mouse cursor. Just got the screen like below but I need mouse cursor to click those buttons in the game.

When I run in the UE4 editor, I can able to access those buttons with mouse cursor but I cannot run the same in .exe file

Can I know how to run this .exe file getting the levels running which I saved and run same like in UE4 editor?

Please help me to solve this issue. Thanks in advance!

alt text

alt text

more ▼

answered Jan 21 '15 at 02:49 PM

avatar image

purmo037
30 10 13 20

avatar image [Epic] Gribbs ♦♦ STAFF Jan 21 '15 at 03:12 PM

Howdy purmo037,

Thank you for sharing that information. I am going to need a bit more before i being looking into what is occurring for you. What version of UE4 would you be using and is that build a binary or source build of UE4? Which template would you be using when you are seeing this error?

Any additional information would be greatly appreciated.

Thanks and have a great day!

avatar image purmo037 Jan 21 '15 at 03:20 PM

Hi Sean,

I fixed that error by changing the level name from File --> Package project --> packaging settings --> Maps & Models.

Now I need to play same like UE4 editor with mouse cursor which is not showing when I run in .exe.

I am using V4.6.0 and V4.6.1.

Thanks!

avatar image [Epic] Gribbs ♦♦ STAFF Jan 21 '15 at 03:30 PM

Hi Purmo,

You can set it up like this if you are using blueprints: alt text

This setup will allow for the mouse to be shown once packaged.

Thanks!

avatar image purmo037 Jan 21 '15 at 03:35 PM

Hi,

Thank you so much for your kind help. I used the same Blueprint but without checking Show Mouse Cusor. Now its working after checking it.

Thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hello

I am trying to package my project but it writes me everytime "Packaging error: Unknown error" I do not know what could be the issue please help me out ASAP, I have a school project to finish by the end of the day

more ▼

answered Jun 03 '18 at 04:48 PM

avatar image

Rafael Uzumaki
1 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question