0
$\begingroup$

I have created a simple stand-alone using the BGE that I would like to distribute to various people in a manner that involves as little effort on their part as possible.

I can easily create my stand-alone and run it on the machine that I have created it on. I'm using a PC.

However, when I move the files to another location within my computer, the runtime does not work. I'm assuming that the BGE needs to know the exact path of the various .dll files to work properly. I would like to be able send the entire package to a friend and have them unzip (or "install") the package and have it work.

Any ideas? Am I doing anything wrong?

Thanks!

$\endgroup$
2
  • $\begingroup$ Doesn't it work if you export your game to a folder and then just copy the whole folder? $\endgroup$ Commented Oct 9, 2017 at 21:13
  • $\begingroup$ Unfortunately, no. $\endgroup$ Commented Oct 10, 2017 at 14:46

1 Answer 1

0
$\begingroup$

Before you export you should do File/External Data/Make All Files Relative and save.

This ensures the paths are relative to the current blend file.

Be aware: This influences the current blend only. When you link to blend files that refer to other files, this file needs to be changed too.

When you export from WinOS you need to deliver all files from your export directory to ensure all the libraries (.dll) are available.

$\endgroup$
1
  • $\begingroup$ Thanks! I assume you mean "make all PATHS relative" as, in Blender 2.79, that is the option that is closest. $\endgroup$ Commented Oct 10, 2017 at 14:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .