Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,361 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Subfolder #336547
08/04/10 22:28
08/04/10 22:28
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
I'm really really sorry.
I know that this thread already exists around 100 times.
But I read every single of them and tried all solutions but it just doesn't work for me.

So I have a game and then subfolders like "files\\GUI".

Now when I publish my game and i delete all these files from the work folder (but still have them in the files\\GUI folder) it says with every file "Can't open...".

I tried the following:

Making a "main.wdl" (my mainscript is main.c" with this content:
Code:
path "files";
path "files\\Models";
path "files\\GUI";
path "files\\Levels";



or with:

Code:
path "%EXE_DIR%\\files";
path "%EXE_DIR%\\files\\Models";
path "%EXE_DIR%\\files\\GUI";
path "%EXE_DIR%\\files\\Levels";


and also both things each with either "path" or "PATH".

I also tried using "add_folder("files\\GUI");" in main or "add_folder("%EXE_DIR%\\files\\GUI");"

I also tryed PRAGMA_PATH.

Once I tried everything together. It still doesn't work.

I saw in all these threads that the ".wdl" file has to work.

I am 100% sure that everything is written correctly as I copied the folder names and the name of my script.
It really annoys me.

I really hope I did a little stupid mistake that you guys see in my codes tongue

Thanks already



Re: Subfolder [Re: Nicotin] #336548
08/04/10 22:33
08/04/10 22:33
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
You have to create a WDL as you did (both approaches should work) and - and that took some time for me to find out, too - copy it into your .cd folder after publishing. Now I find it quite logical, as WDL files can't be compiled to exe.

Re: Subfolder [Re: Lukas] #336550
08/04/10 22:37
08/04/10 22:37
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
God damn. Okay, the only thing I forgot was to copy the file in the dictionary. I didn't thought that you'd have to do that. Thank you very much grin




Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1