Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (3run, Grant, 1 invisible), 3,863 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
files for publish #264635
05/07/09 11:35
05/07/09 11:35
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi,

I use PRAGMA_PATH and PRAGMA_LEVEL in my main.c, but in WED resources view and when publishing some single files were missing.

For example I have a sub-folder containing all pictures for my projects. All files in that folder are found under resources, but about 10 are missing. There's nothing special with those files.

After publishing there's also one .wmb-file missing. If I copy it manually everything works fine. The level is declared with PRAGMA_LEVEL in main.c.

Can you give me a hint why those files could miss?

Regards,
Pegamode.

Re: files for publish [Re: pegamode] #264636
05/07/09 11:48
05/07/09 11:48
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
Maybe you have a complicated path structure that causes ambiguity of relative paths. Are you giving the paths relative to the work folder, or to the script?

When you upload or send us the project, we can probably quickly identify the problem.

Re: files for publish [Re: jcl] #264642
05/07/09 11:59
05/07/09 11:59
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
The path structure is not really complicated.
The deepth is limited to one sub-folder, so no sub-sub-folders are used.

It looks like this:

scripts
models
sounds
pics
plugins
music
rooms
saves
database
headers

Rooms is my workfolder. All wmp-files and the main.c are in this folder.
I use PRAGMA_PATH in the main.c like that:

#define PRAGMA_PATH "..\\scripts";
#define PRAGMA_PATH "..\\pics";
#define PRAGMA_PATH "..\\sounds";
#define PRAGMA_PATH "..\\music";
#define PRAGMA_PATH "..\\models";
#define PRAGMA_PATH "..\\shaders";
#define PRAGMA_PATH "..\\headers";
#define PRAGMA_PATH "..\\database";
#define PRAGMA_PATH "..\\saves";

The project has currently more than 550mb. So uploading could take a while.
Maybe we can find the problem without sending the project.

In the case that we can't figure out what's going wrong, is there any ftp server where I could upload the project?

Best regards,
Pegamode.

Re: files for publish [Re: pegamode] #264653
05/07/09 12:35
05/07/09 12:35
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
You could upload it to ftp.coniserver.net, user: anonymous, pass: anonymous. But first let's see if we can find the problem otherwise. Can you post:

a) the path and name of a file that is included,
b) the name of a file in the same path that is not included,
c) the reference in the script to both files.

Maybe I'll then see what's wrong.

Re: files for publish [Re: jcl] #264656
05/07/09 12:44
05/07/09 12:44
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I've found the mistake while gathering the information you requested.

The files that were missing have no reference in the script.

I thought that every file that is inside a folder defined with PRAGMA_PATH would automatically be included as a resource.

The picture-names were set dynamically; so there's no direct reference in the script. The picture that was copied has a reference as it is used as a kind of fallback.

Is it possible to bind all files in a folder as a resource without a reference in the script?

Regards,
Pegamode.

Re: files for publish [Re: pegamode] #265214
05/11/09 08:18
05/11/09 08:18
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
No, they must be referenced, at least with a list of BIND statements.

Re: files for publish [Re: jcl] #265234
05/11/09 10:49
05/11/09 10:49
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Ok, thanks for the reply.

Maybe that could be a feature for future to bind all files in a directory with just binding the folder.


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