Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (VoroneTZ), 1,244 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can't include sub-directories #374314
06/17/11 15:59
06/17/11 15:59
Joined: Sep 2010
Posts: 42
NS, Canada
gSet Offline OP
Newbie
gSet  Offline OP
Newbie

Joined: Sep 2010
Posts: 42
NS, Canada
Hi, it looks like this is a problem a lot of people have had. I've read and tried everything I can but am still having problems. I'd like my compiled EXE to look in directories for files rather than just its own directory. I've tried using pragma_path, but that only works while it's still a script. I've also tried using add_folder, but that never seems to work. What command should I be using and how should I be using it? I'm very grateful for your help!


"If it's true what you say to me, that the whole world will mourn his death - If the whole world will weep, I will give him back his breath."
Re: Can't include sub-directories [Re: gSet] #374315
06/17/11 16:01
06/17/11 16:01
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Create a *.wdl file with the same Name as your main script, and
put this command in it:

PATH "YourSubfolder";

(You can also add more things to this WDL.
http://www.conitec.net/beta/apath.htm )

Last edited by Rei_Ayanami; 06/17/11 16:02.
Re: Can't include sub-directories [Re: Rei_Ayanami] #374316
06/17/11 16:07
06/17/11 16:07
Joined: Sep 2010
Posts: 42
NS, Canada
gSet Offline OP
Newbie
gSet  Offline OP
Newbie

Joined: Sep 2010
Posts: 42
NS, Canada
Hm.. That seems to work until I publish the script, at which point I'm guessing it's not included in the publishing process.


"If it's true what you say to me, that the whole world will mourn his death - If the whole world will weep, I will give him back his breath."
Re: Can't include sub-directories [Re: gSet] #374318
06/17/11 16:15
06/17/11 16:15
Joined: Sep 2010
Posts: 42
NS, Canada
gSet Offline OP
Newbie
gSet  Offline OP
Newbie

Joined: Sep 2010
Posts: 42
NS, Canada
Solved it! I didn't realize I had to take the WDL file and put it with the EXE after publishing. Thanks so much!


"If it's true what you say to me, that the whole world will mourn his death - If the whole world will weep, I will give him back his breath."
Re: Can't include sub-directories [Re: gSet] #374319
06/17/11 16:16
06/17/11 16:16
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
No Problem laugh


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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