Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/05/26 10:06
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
Black Book, 4th edition
by jcl. 03/17/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (vince, TipmyPip), 4,609 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
ondrej, mredit, vestriaa, Lukudo, mldenoiser
19205 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 | 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