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 (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
Page 1 of 2 1 2
publishing and packing? #399154
04/11/12 16:54
04/11/12 16:54
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
hi there

i´ve still problems with publishing of my Project.

1. I go to File -> Publish.
2. Select "Resource" and "Compile EXE"
3. i start the exe.. NO MODELS!

Why?
I added
Code:
#define PRAGMA_PATH "Bitmaps\Cursor\"
#define PRAGMA_PATH "Bitmaps\Editor\"
#define PRAGMA_PATH "Models\Map\"



AND
Code:
add_folder("Bitmaps\\Cursor");
	add_folder("Bitmaps\\Editor");
	add_folder("Models\\Map");



But my Models are just shown this way:
1. I go to File -> Publish.
2. Select "Resource" and "Compile EXE"
3. i create a WDL File with the same name as the exe, including PATH statements of my original Folder structure
3. i start the exe.. MODELS ARE THERE


Question:
Is there no way to avoid this WDL File? I just want DLLs and the EXE in my project Folder.. but no visible Script ._.

I need to add the WDL File into the ready compiled folder, even if it was available beside the lite-c file (before compiling).


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: publishing and packing? [Re: Espér] #399156
04/11/12 17:06
04/11/12 17:06
Joined: Jul 2008
Posts: 2,110
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,110
Germany
Brauch PRAGMA_PATH nicht zwei "\" ? vllt hat das damit zu tun ?


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: publishing and packing? [Re: rayp] #399161
04/11/12 17:36
04/11/12 17:36
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Look in the manual for "Publish". All info you need is on that page.

You can define folders for your models with 3 methods. The preferred method is setting the paths in WED. Second best is a "PATH" statement in your WDL file. The third method is add_folder(), but that's a function call and more overhead. "#define PRAGMA_PATH" is a compiler directive for special purposes - it's for the experts only and not for publishing projects.

Re: publishing and packing? [Re: jcl] #399281
04/13/12 15:18
04/13/12 15:18
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
not really what i meant..

My example:
I´ve a folder called
"Models\\Map"

Inside this folder are *.mdl files, *.nymph files and textures
When i run the game in SED, the models are listed correctly, and the nymph files are found.
When i compile the game with "Resource" active, and start the exe, no models are listed.. and no nymph files are found..

i don´t want to hardcode the setups of the models (nymph files with the same name as the models) or the model lists, cause we will add more models later with dlcs (new wrs files)...


If there´s no other way.. i need to make my *.nymph files open for everyone (what i don´t want.. cause the handle the SHADOW switch, material names..etc), and a hardcoded model list ._.
Cause actually, we load the model list with txt_for_dir, and just change the model filenames to the *.nymph extention for loading the equal nymph file to a model..

Edit: Or is there a way to readout ALL *.XXXXX Files from a WRS into a string array? This would help me really much.

Last edited by Espér; 04/13/12 15:53.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: publishing and packing? [Re: Espér] #399290
04/13/12 18:52
04/13/12 18:52
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
Just to clarify things...
Do you want to compile automatically each models etc. into your WRS without naming them?

Re: publishing and packing? [Re: Aku_Aku] #399298
04/13/12 20:10
04/13/12 20:10
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i created 78 models now. when i compile the editor, all models are packed into the wrs file.
all i want is to readout all mdl files into a string array (like txt_for_dir) so i can create a button list out of it..
i just need the mdl filenames of all models again


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: publishing and packing? [Re: Espér] #399299
04/13/12 20:15
04/13/12 20:15
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
I assume, you want to read the NAMES of all mdl files...
Perhaps, you could make a list for the names and store that in a text file. That you can put also into the wrs and read out from there...

Re: publishing and packing? [Re: Aku_Aku] #399301
04/13/12 20:28
04/13/12 20:28
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
hmmm
yes.. but we are planning with 9-10 additional wrs files.. direct loading of the model filenames would be better than asking for a textfile, reading that out and saving the lines into a string array ._.

something like txt_for_wrs

Last edited by Espér; 04/13/12 20:55.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: publishing and packing? [Re: Espér] #399302
04/13/12 21:39
04/13/12 21:39
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
Well... Now it is late night here. I don't have more ideas.

Re: publishing and packing? [Re: Espér] #399303
04/13/12 21:40
04/13/12 21:40
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: Espér
i just need the mdl filenames of all models again

Please read again what WRS files are and how they work and then understand that such a functionality would totally defeat this concept.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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