I am trying to export my game. I am using windows and I want to build it to windows. Also, I have never before built a game with Godot and doesn't really know how it works.<br><br>Currently, I am using Godot 2.1.0, having the 2.1.0 version of the export templates downloaded from the website of Godot.<br><br>Here is how I am exporting:<br><img alt="" src="http://i.imgur.com/k9HsOd7.png" title="Image: http://i.imgur.com/k9HsOd7.png"><br><br>When I try exporting to the project folder, it tells me to export outside of the project folder.<br>I do so and get 2 files: "data.pck" and "launcher.exe".<br>But these files are real small; clicking the "launcher.exe" shows a command prompt for half a second, messeages popping up in quick succession, then it disappears.<br>I copied these 2 files into my project folder then. It starts the game seems to run as needed, but freezes when I want to play a video.<br><br>Here is what the command prompt says:<br><img alt="" src="http://i.imgur.com/j5uyMKy.png"><br><br>So I start thinking, what is the problem with my Godot version?<br><br>I started creating the game with Godot 2.0.3, and switched to Godot 2.1.0 when it was released.<br><br>So could it be the problem? Should I be building on 2.0.3?<br><br>Also, I would be interested, why is the exporting thing saying to export outside of the project folder? Am I doing something wrong?

I suspect you didn't install the correct export templates or perhaps you installed them wrong, because the error:<br>

ERROR: Pack created with a newer version of the engine: 2.1.0

seems to indicate that the launcher is trying to run older executable code.<br><br>edit: reading your post again, you do realize that you need to install the export templates within the editor after downloading them, right?<br>

I'd also try using the steam version of Godot, just to be sure.<br>

Another idea that occurs: The video might use a sound codec that is not supported?<br>

You have to keep the exported files outside of the project folder. The basic reason is that if the executable finds an&nbsp;engine.cfg file it'll run that as the project. The reason for that is that you can simply skip exporting and provide the source project with a Godot executable on it.<br><br>There might be a couple of reasons for the problem you're having. One of them is that not all files needed by the project are being exported. You can set it to export all files in the export window settings on the Resource tab. Another problem is that you are mismatching case in your paths, so it's lowercase on the filesystem but uppercase in your project (or vice-versa). Windows is not case-sensitive for paths but it is a problem in other platforms and also inside the PCK file.<br><br>Move the launcher.exe and data.pck out of your project and try running it from the command line so you can see the error messages and we can pinpoint better what is the problem.<br><br>You should also try to re-download the templates and/or reinstall them.

<blockquote class="Quote">

vnen said:

You have to keep the exported files outside of the project folder. The basic reason is that if the executable finds an&nbsp;engine.cfg file it'll run that as the project. The reason for that is that you can simply skip exporting and provide the source project with a Godot executable on it.<br><br>There might be a couple of reasons for the problem you're having. One of them is that not all files needed by the project are being exported. You can set it to export all files in the export window settings on the Resource tab. Another problem is that you are mismatching case in your paths, so it's lowercase on the filesystem but uppercase in your project (or vice-versa). Windows is not case-sensitive for paths but it is a problem in other platforms and also inside the PCK file.<br><br>Move the launcher.exe and data.pck out of your project and try running it from the command line so you can see the error messages and we can pinpoint better what is the problem.<br><br>You should also try to re-download the templates and/or reinstall them.

</blockquote> Thanks all for the answers. It is really cool how much help I can get on this forum. :)<br>Thanks for telling me why the export works so.<br><br>I really had the old export templates, so I installed the new ones.<br><br>After that, it was still not OK, for when I started the game, it told me that it couldn't load "level_1.scn" for it couldn't load "level_1_wall_concrete_tex.png" and a few other files like that.<br>I had imported those with Godot 2.0.3 originally. So I imported them again with the current version and it solved the problem, it runs smooth. :)<br><br>Also, I am not likely having problem with case-sensitivity, since my paths contain only lower-case letters.- except for two subdirectories of "res://", which didn't cause the problem (at least it seems so :D).