Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (rki, AndrewAMD), 426 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
What does ERRNO #295.0 mean? #418090
02/21/13 00:41
02/21/13 00:41
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline OP
Expert
Uhrwerk  Offline OP
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Hello Mr. Lotter,

I'm wondering what ERRNO #295.0 means. I'm trying to make a startup window definition, but regardless of my attempts it fails with this error. The manual says that this class of errors designates syntax or file format errors. But that is not really of any help. (Btw. why this cryptic error message instead of a simple "syntax error in file xyz in line x"?)

The strange thing is that the error occurs independently from the content of the correspoding .wdl file. Including one of the manual's samples causes this error. Even with the simplest of all cases
Code:
WINDOW WINSTART
{
}

the error appears.
When staring the publishing process from the command line with WED instead it shows "ERRNO #288.289" but that is not very helpful either.


Always learn from history, to be sure you make the same mistakes again...
Re: What does ERRNO #295.0 mean? [Re: Uhrwerk] #418104
02/21/13 09:56
02/21/13 09:56
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
ERRNO just means an error with the window definition. There is no info what the particular numbers mean.

The starter window compiler was written 15 years ago, that's why its error display might be not really state of the art today. On the other hand, the possibility to make errors in a starter window definition is somewhat limited. When the error is independent of the content, then you likely won't solve it by fixing the content - something else is wrong, for instance compiling the wrong file.

You can call the starter window compiler, wdfc.exe, also directly from the command line (assuming your starter window definition is "mystart.wdl"):

wdfc -smystart.wdl -omystart.wdf -t -ex -run

Re: What does ERRNO #295.0 mean? [Re: jcl] #418134
02/21/13 14:05
02/21/13 14:05
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline OP
Expert
Uhrwerk  Offline OP
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
When I try that it gives me "Error has occurred: ERRNO #288.289", exactly the same as from the commandline with WED. I have tried
Code:
WINDOW WINSTART
{
}

as the content of the file main.wdl and the command line was
Code:
C:\Users\My User Name\Desktop\test>"D:\Program Files (x86)\GStudio8\wdfc" -smain.wdl -omain.wdf -t -ex -run



Always learn from history, to be sure you make the same mistakes again...
Re: What does ERRNO #295.0 mean? [Re: Uhrwerk] #418148
02/21/13 14:58
02/21/13 14:58
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Code:
window winstart
{
        title "...";
        size 370,297;
        mode image;

        bg_color rgb(0,0,0);
        bg_pattern <logo.pcx>,opaque;
}



Worked for me

Re: What does ERRNO #295.0 mean? [Re: FBL] #418152
02/21/13 15:05
02/21/13 15:05
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline OP
Expert
Uhrwerk  Offline OP
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Doesn't make any difference for me. :-(


Always learn from history, to be sure you make the same mistakes again...
Re: What does ERRNO #295.0 mean? [Re: Uhrwerk] #418207
02/22/13 08:15
02/22/13 08:15
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I don't think that it is difficult to write a correct starter window definition. So it seems that your problem has some other reason, maybe related to your Gamestudio installation or to your folder path. Have you tried a fresh installation on a different PC, or running it from a different folder?

Re: What does ERRNO #295.0 mean? [Re: Uhrwerk] #418236
02/22/13 12:09
02/22/13 12:09
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Originally Posted By: Uhrwerk
When I try that it gives me "Error has occurred: ERRNO #288.289", exactly the same as from the commandline with WED. I have tried
Code:
WINDOW WINSTART
{
}

as the content of the file main.wdl and the command line was
Code:
C:\Users\My User Name\Desktop\test>"D:\Program Files (x86)\GStudio8\wdfc" -smain.wdl -omain.wdf -t -ex -run


I can confirm the same error message if I use code above, but you need use as minimum MODE STANDARD; see below and you are fine.

Code:
WINDOW WINSTART
{
 MODE STANDARD;  // always required
}


from the manual:

Quote:
MODE style;
The window mode (always required within the WINDOW definition) . Style can be either STANDARD, IMAGE, FULLSCREEN, or USE_OLDSTYLE.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: What does ERRNO #295.0 mean? [Re: rojart] #418248
02/22/13 15:59
02/22/13 15:59
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline OP
Expert
Uhrwerk  Offline OP
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Ok, after a reinstallation I got this to work at least partially. This is pretty crazy as I have never tampered in any way with my installation folder.

@Rojart: Thanks, you're right, the mode keyword has to be there.

@jcl: Could you please update the manual, because
Originally Posted By: Manual
WINDOW WINSTART { ... } [...] If the brackets are empty, no start window will be displayed.
is wrong. The brackets must not be empty.

The generation of a .wdf file unfortunately only works from the command line for me. When publishing from SED I still get the same error messages.


Always learn from history, to be sure you make the same mistakes again...
Re: What does ERRNO #295.0 mean? [Re: Uhrwerk] #418251
02/22/13 16:12
02/22/13 16:12
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
What are you publishing from SED? The .WDL file, or the .c script?

Re: What does ERRNO #295.0 mean? [Re: jcl] #418255
02/22/13 16:41
02/22/13 16:41
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline OP
Expert
Uhrwerk  Offline OP
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I was publishing the .wdl file.

EDIT: I just tried publishing the .c file with the same result. The main .c file is named "main.c". The .wdl file is named "main.wdl". The sed project is named "main.sedprj". The error message in the publishing results window said "wdfc.exe: No starter window definition found!".

Last edited by Uhrwerk; 02/22/13 16:44.

Always learn from history, to be sure you make the same mistakes again...
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | 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