Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, VoroneTZ, AndrewAMD), 834 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
using PATH"......" #258201
03/28/09 16:27
03/28/09 16:27
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
allright hi guys I have a new question (as allways)
I got a folder in my wok folder named "Project1" this is where all my stuff goes in except the music I created another folder named "mp3files" but the script in the "Project1" folder won't load the mp3.files from the folder "mp3files" if I put the following code in my main scrit:
Code:
 path "\\mp3files"; 

i just put it in the main function but got an error even if I put a wait(1) before it.
So does anyone know how I could load the music from an other folder?

best regards

Aztec


Visit:
schwenkschuster-design.de
Re: using PATH"......" [Re: aztec] #258218
03/28/09 18:03
03/28/09 18:03
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
try it like this : path"...\\mp3files";


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: using PATH"......" [Re: alibaba] #258228
03/28/09 19:02
03/28/09 19:02
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
do I have to replace the 3 dots because it doesnt work if I put it in like that


Visit:
schwenkschuster-design.de
Re: using PATH"......" [Re: aztec] #258248
03/28/09 21:00
03/28/09 21:00

F
Fear411
Unregistered
Fear411
Unregistered
F



try it with two 2 dots not with 3

Re: using PATH"......" [Re: ] #258249
03/28/09 21:08
03/28/09 21:08
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
where do I have to put it?
I still get an error putting it in the function main


Visit:
schwenkschuster-design.de
Re: using PATH"......" [Re: aztec] #258251
03/28/09 21:32
03/28/09 21:32

F
Fear411
Unregistered
Fear411
Unregistered
F



at the beginning of you wdl file if you are using c-script. If you use lite-c you have to use pragma_path

Re: using PATH"......" [Re: ] #258286
03/29/09 13:55
03/29/09 13:55
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Im not sure but try just path "mp3files";
Otherwise, if WDL's support PRAGMA_PATH try #include PRAGMA_PATH "mp3files"
These lines go at the top of your main script, before any of YOUR includes.



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: using PATH"......" [Re: EvilSOB] #258297
03/29/09 15:21
03/29/09 15:21
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline OP

Expert
aztec  Offline OP

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
allready got the problem solved cool
thanks anyway


Visit:
schwenkschuster-design.de

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