Built Application missing a few bricks?
I have no idea how to build my application so I can install it on another computer. Actually, that is an inaccurate statement. I don't know how to correctly include external files.
How do I save external MP3 Music and pictures with my application so that they play and appear on other computers. Do I need to alter the events any? Do I need to tinker with the Install options? I have gotten the files to save where they are supposed to, but the game doesn't open them on the other machines.
Re: Built Application missing a few bricks?
You should put all your external files in the directory of the .MFA file (or in a sub-directory) and build the EXE file in the same directory. And then you can distribute the EXE file and the external files (with the same sub-directory structure).
In the event editor if you select the filename parameters via file selectors there is no need to do anything special, the filenames will be relocated. If the filename parameters are expressions, you should specify the full pathname of the application in the expression parameter, for example : AppPath$ + "yourfile.mp3", or AppPath$ + "subdir\yourfile.mp3".
Yves.
Re: Built Application missing a few bricks?
How exactly do you put external files in sub directories of the application? I have no idea how to do that. The file I'm trying to put in the application's called DXDemo01.mfd.
Re: Built Application missing a few bricks?
I mean in sub-directories of the directory where is located the MFA file (in the Windows directory structure). For example :
yourapp.mfa
subdir\DXDemo01.mfd
and then you build your .exe in the same directory :
yourapp.mfa
yourapp.exe
subdir\DXDemo01.mfd
and you redistribute the .EXE file and the external files it uses :
yourapp.exe
subdir\DXDemo01.mfd
(ps: DXDemo01.mfd could be also in the same directory as the MFA file, you are not forced to put it in a sub-directory)
Re: Built Application missing a few bricks?
Oh, okay. I get it now. Thanks. ^^