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
1 registered members (TipmyPip), 18,606 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
WINDOW WINSTART ...problems #258221
03/28/09 18:21
03/28/09 18:21
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!


I was attempting to completly remove the startup window as indicated in the manual
Quote:

Suppresses the startup window and the start delay.

and had a few problems.

1) Could you add to the manual the following information ...This will help!
Quote:

In ordre to make a Starter file the following option must be checked in the preferences
In preferences ...Environment ...check ---> Use the current file for test run
and
Make sure that the .wdl is currently the active file in SED before going to File ---> publish.


2) Starting with a previous working startup file,
I commented all lines inside brackets and got ERRNO #288.289
Quote:

If the brackets are empty, no start window will be displayed.


This procedure gave a message and also removed the acknex.wdf file, which gave me
the standard startup...not what I wanted.

3) I tried winstart with -diag and -nwnd
Quote:

WINDOW WINSTART
{
MODE STANDARD; // always required
COMMAND "-nwnd -diag"; // no start window
}


This works but now I can't read the acklog.txt file.
The .txt files takes a long time to show up on the screen and
when I try to open the acklog.txt file the message says ....There is a sharing violation....

4) So I tried
Quote:

WINDOW WINSTART
{
MODE STANDARD; // always required
COMMAND "-nwnd"; // no start window
}


This works but :
a) There is a lag that is the same as the startup window ....so no suppressions of the start delay I guess.
and
b)
I still get the same message for the acklog.txt file. (sharing violation)


So I turned off my computer and found the following line in acklog.txt when I came back.
Quote:

Options salle1.c -nj -nx100 -diag -ta -nwnd


What is -ta

After testing

I have no startup window == ok
I have no suppression of the start delay
I still have the problem reading the acklog.txt file after playing my game.
and
I have no title in the title bar == bad for my game when reduced


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: WINDOW WINSTART ...problems [Re: Ottawa] #259432
04/06/09 06:34
04/06/09 06:34
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Suppressing the startup window is described even with an example. The rest of the issues have nothing to do with the startup window.

In a PC under Windows, you can't open the same file for writing from different applications at the same time. You must terminate one application before the next one can open the file. But our manual is a Gamestudio manual after all, not a Windows manual. We can't cover all possible problems that can happen when working with files on a PC under Windows.

Re: WINDOW WINSTART ...problems [Re: jcl] #259833
04/07/09 23:14
04/07/09 23:14
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline OP
User
Ottawa  Offline OP
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi JCL

Thanks for the answer. smile

The suppression of the startup windows works very well.
I like the manual. smile


I know that if a file is open under Windows it cannot be written to
by another application. In this case I did not have an open log file and
I was not attempting to write to it.
I believe that my game was closed.
I was only trying to open it to find out what the game was doing.

If the situation comes up again, I will recherche it and post in another section of the forum.

Thanks again smile


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: WINDOW WINSTART ...problems [Re: Ottawa] #259894
04/08/09 06:47
04/08/09 06:47
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Normally problems with the log file are caused when the engine is not yet terminated when opening the log file.

The engine opens the log file for writing. When you open it in a text editor, it opens the file for writing also. This gives a conflict under Windows.

It can also happen when the engine does not close properly, but crashes, that the log file stays open. In this case you can only read it, f.i. with a text viewer, but not open it in an editor. This case is resolved by restarting Windows.

Re: WINDOW WINSTART ...problems [Re: jcl] #259973
04/08/09 12:17
04/08/09 12:17
Joined: Feb 2007
Posts: 353
A
amy Offline
Senior Member
amy  Offline
Senior Member
A

Joined: Feb 2007
Posts: 353
When will the ancient starter window system be overhauled? Wasn´t this on forecast once? It would be nice to have more options. For example creating a menu for setting graphics options like the resolution and so on. Or an easy way to change the application icon without having to use some resource hacker.

Re: WINDOW WINSTART ...problems [Re: amy] #260002
04/08/09 14:12
04/08/09 14:12
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
The starter system is for customized splash screens and start options only. A menu for setting graphics options should be done in lite-C. For creating an app icon you need a paint program, not a "resource hacker".

Re: WINDOW WINSTART ...problems [Re: jcl] #260003
04/08/09 14:16
04/08/09 14:16
Joined: Feb 2007
Posts: 353
A
amy Offline
Senior Member
amy  Offline
Senior Member
A

Joined: Feb 2007
Posts: 353
You mean with the Win32 API? That isn´t very user-friendly. You could provide a template for it.

Re: WINDOW WINSTART ...problems [Re: amy] #260009
04/08/09 14:36
04/08/09 14:36
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes, I mean the Win32 API. We could provide a template, but that had to use the Win32 API also.


Moderated by  aztec, Inestical, Matt_Coles, 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