add_folder() don't works after publish. Wath's false?

Posted By: hopfel

add_folder() don't works after publish. Wath's false? - 07/17/09 08:19

I try, that the engine finds my Images in other folder. I used this codes:
#define PRAGMA_PATH "images"

and in the main function:
add_folder("images");

But it didn't create the folder when I publish that.
Posted By: Schmerzmittel

Re: add_folder() don't works after publish. Wath's false? - 07/17/09 21:31

You must create the folder by yourself. The engine only read from that folder.
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/17/09 21:54

I added a folder called "images" in the .dc folder, but then it can't find the files.
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/26/09 19:04

no idea?
Posted By: Ottawa

Re: add_folder() don't works after publish. Wath's false? - 07/27/09 13:39

Hi!

Go the the Lite-C contributions section of the forum and pick up
my documentation on publishing (if not already done) wink

The paths that I use in main.c
are
#define PRAGMA_PATH "..\\Models";
and then in main.wdl
I have
PATH "..\\Models";

All my files are in sub-folders and all get picked up.
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/27/09 13:56

Yea it works fine now laugh thx
Posted By: Ottawa

Re: add_folder() don't works after publish. Wath's false? - 07/27/09 14:00

Hi!

Anytime wink
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/27/09 19:36

Oh It's still anything: It didn't work with music and then I saw this one in the Manual:

Files for the media player, or DLL files can not be loaded from the folder or resource path. However they can be contained in a resource and decompressed at run time by file_cpy. I don't really understand that... what do I must to do, that I can load music from another folder?
Posted By: Ottawa

Re: add_folder() don't works after publish. Wath's false? - 07/28/09 01:54

Hi!

I have all my wave sounds in a folder and I use
the same syntax to get to them.
When I use publish, all of them are included in the game.

What are you trying to do?
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/28/09 09:10

I did the selfe, but then, the music don't come... before publish eighter...
Posted By: ventilator

Re: add_folder() don't works after publish. Wath's false? - 07/28/09 09:23

just add the path to the filename for music. for example: "./music/song.ogg"
Posted By: hopfel

Re: add_folder() don't works after publish. Wath's false? - 07/28/09 09:55

"music//song.ogg" works laugh thx.
Posted By: Mysterious

Re: add_folder() don't works after publish. Wath's false? - 07/30/09 16:54

Quote:
Go the the Lite-C contributions section of the forum and pick up
my documentation on publishing (if not already done) wink



what is the link of this documentation??
Posted By: Ottawa

Re: add_folder() don't works after publish. Wath's false? - 08/02/09 15:05

Hi!


Lite-C contributions
© 2024 lite-C Forums