INH & OBese87:
You may be confusing the guy a little here...
Quote: "You'll also need to have n paths like C/Program files etc, because DB will choke on that as theremay not be those folders in any other computer you may put it on."
Actually, you only need to use relative paths for media - or preferably none at all.
OK, an example...
Say you have MyGame.DBA which loads files called Image1.bmp, Image2.bmp and Image3.bmp. Let's also say you have the DBA file in the folder:
C: \Programming\DBProjects\MyGame
If you place those images in a folder within the MyGame directory called Images they would be in:
C: \Programming\DBProjects\MyGame\Images
(Space intentionally included to prevent smiley).
In the DBA source code you use a
relative path when loading these images. For example, you would use:
Load Image "Images\Image1.bmp",1
Not
Load Image "C: \Programming\DBProjects\MyGame\Images\Image1.bmp",1
As the Images folder is in the same directory as the DBA file, you don't need to enter the C: \Programming\DBProjects\MyGame part.
Which means that a Build Final exe won't be looking for that full path on other people's machines - only the Images folder.
Quote: "make sure all your files have unique names, even if they are in different folders."
If they are in different folders then they
are uniquely named. As such, you can have five files all called Image1.bmp and as long as they are in different folders everything will be fine.
[Edit] Doh! After writing all this, re-reading INH's post I've just realised that there's a missing letter 'o' where it mattered. (There's an o in no)!
Guys - Please proof read your posts before hitting the submit button, or read them after and use the edit button!
TDK_Man