Resource Files

Posted By: Sorrowful

Resource Files - 08/04/12 11:28

I want to create resource...


Posted By: MasterQ32

Re: Resource Files - 08/04/12 12:25

then do it
resource is everything you use
Posted By: Sorrowful

Re: Resource Files - 08/04/12 12:45

How I Create My Resource Files??

Examples;
Models.srw
Sprites.srw
Sounds.srw
Posted By: Kartoffel

Re: Resource Files - 08/04/12 12:52

create a .wdl file

write

BIND "filename";

for every file.

compile it, check resources
Posted By: Sorrowful

Re: Resource Files - 08/04/12 13:14

I could not... frown
Posted By: sebbi91

Re: Resource Files - 08/04/12 13:31

Hmmm....
You have A8.30.5 Professional.
This have to be possible.
Posted By: Sorrowful

Re: Resource Files - 08/04/12 13:57

I just can not or...
Posted By: Kartoffel

Re: Resource Files - 08/04/12 16:25

Well thats the only way I know.

Where exactly is the problem?

It HAS TO WORK as long as you've got the Pro version of 3DGS.
Posted By: Espér

Re: Resource Files - 08/04/12 17:18

creathe the WDL file like:

Code:
BIND "object1";
BIND "object2";
BIND "object3";
BIND "object4";
...etc



And then simple publish it as RESOURCE. the wrs should be created in the cd folder.

But remember.. textfiles can only be readout, if you rename em from a *.txt to *.pak, by copying the pak file out of the wrs to a txt
Posted By: gamers

Re: Resource Files - 08/04/12 17:35

as far as I see, sorrowful wants to change the extension of 3dgs packaged files, for example, pack.wrs ----> pack.srw, so the final compiled packaged file named as pack.srw or pack.*** but not pack.wrs...
Posted By: Kartoffel

Re: Resource Files - 08/04/12 19:39

in this case do everything like I & Espér said, rename the resource file to whatever you want.

Then copy it in the .exe folder of your project and add a .wdl-file

Call this .wdl-file 'main.wdl' if you code's name you've compiled was main.c

in this file write:
RESOURCE "resourse.srw";
for every resource file you have

for example:

you create a program and save it as main.c
then compile it and make sure you've checked 'Resource'
then go to the main.cd folder and rename 'main.wrs' to any other name, for example 'main.abcd'
now create a .wdl-file called 'main.wdl' and write this in it
RESOURCE "main.abcd";
Posted By: Sorrowful

Re: Resource Files - 08/04/12 20:09

Kartoffel Thanks...
Succesfully... grin
© 2024 lite-C Forums