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
0 registered members (), 16,302 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
Published project subfolder problems #428373
08/26/13 13:20
08/26/13 13:20
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
I really dont know why its so and possible it isnt bug, but i want to hear other people publishing experience.

So when im developing all pragma_path include work fine. Then im publishing game and all resources get thrown in one folder. So im ordering them in same subfolders as in developing, but exe dont found them in subfolders which it should do. It always worked in A6, but now i just want to know how to let it find them.


Arrovs once will publish game
Re: Published project subfolder problems [Re: Arrovs] #428378
08/26/13 17:11
08/26/13 17:11
Joined: Jul 2008
Posts: 2,110
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,110
Germany
If its up to extern textures of MDL files, this is a bug. Pragma_path to extern textures is ignored by the publish process ( while it starts fine from SED ). I (and some other) users hope this will be fixed.


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: Published project subfolder problems [Re: rayp] #428382
08/26/13 18:01
08/26/13 18:01
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Arrovs: How to publish subfolders is described in the manual. You can do that either directly in WED, or in a WDL project file with the keyword "PATH". "pragma_path" is not for publishing subfolders.

Re: Published project subfolder problems [Re: jcl] #428384
08/26/13 18:10
08/26/13 18:10
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
I made project in A8 and lite-c. So i need to use pragma_path - didnt i?
Problem is in thing it works while project isnt published, but after then not.


Arrovs once will publish game
Re: Published project subfolder problems [Re: Arrovs] #428385
08/26/13 18:12
08/26/13 18:12
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
No, you can not use pragma_path for that. The code in a published project is compiled. Any #defines in the code, such as progma_path, are instructions for the C compiler only. They have no meaning otherwise.

Re: Published project subfolder problems [Re: jcl] #428388
08/26/13 18:45
08/26/13 18:45
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline OP
Member
Arrovs  Offline OP
Member

Joined: Apr 2006
Posts: 159
Latvija
I found out in manual part about published projects. Added that .wdl file which again works for published project, but not for development process. Seems in future i will switch to path adding in runtime - if it will not interrupt globally defined objects(if they comes before main function).


Arrovs once will publish game
Re: Published project subfolder problems [Re: Arrovs] #428418
08/27/13 09:47
08/27/13 09:47
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
The .wdl file works for development also.

Adding paths at runtime will also work if you do it before level loading.


Moderated by  HeelX, rvL_eXile 

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