Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Help with storing files in a wrs #232265
10/20/08 18:03
10/20/08 18:03
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Hi,

I've read the documentation extensively on the subject, made a series of test projects and have been trying to get this to work for days. I have no problem loading a wmb from a wrs, and I have no problem opening text files in the working folder, but I can't seem to get file_copy to extract my text file from a wrs. I created a project and bound my target text file to it with a BIND statement in the wdl of that project. I'm certain that the file was successfully added to the wrs because it is listed in the publish dialogue with the other files when I publish the project and also, A7 support verified that my file was inside. I then copy the wrs to another project where I want to load it but I haven't been able to do so.

May I please see an example of loading a text file from a wrs created in a separate file?

Thank you so much!

Re: Help with storing files in a wrs [Re: BES] #232337
10/21/08 11:25
10/21/08 11:25
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
Does your text file have the extension .pak? If it doesn't end with .pak, file_cpy won't work as expected.

Re: Help with storing files in a wrs [Re: George] #232457
10/21/08 20:02
10/21/08 20:02
Joined: May 2008
Posts: 123
B
BES Offline OP
Member
BES  Offline OP
Member
B

Joined: May 2008
Posts: 123
Yep, I rename my text file to myText.pak. Then

BIND "levels.pak";

in my wdl.

Re: Help with storing files in a wrs [Re: BES] #232502
10/22/08 02:50
10/22/08 02:50
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
I will run some tests and post the result in the following magazine, under the faq.


Moderated by  George 

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