Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
creating the startup window wdf file? #329404
06/19/10 16:03
06/19/10 16:03
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
I own the pro version of A7, and now tried to modify the startup window. Manual says to check the "starter" option upon publishing, but all I get in the publishing process is:
wdfc.exe: No starter window definition found!
and at the end:
Autobind:
1. Skipped: H:\ArtWork\3DGS\CSIS\LiteC\acknex.wdf
Running the game works, but it just displays the normal startup window.
This is my CSiS.wdl (CSiS.c is the main file with function main in it which is published):
Code:
WINDOW WINSTART
{
  TITLE "My Simulator";
  SIZE 480,320;
  MODE IMAGE;	
  BG_COLOR RGB(240,240,240);
  FRAME FTYP1,0,0,480,320;
  BUTTON BUTTON_START,SYS_DEFAULT,"Start",400,288,72,24;
  BUTTON BUTTON_QUIT,SYS_DEFAULT,"Abort",400,288,72,24;
  SET FONT "Arial", RGB(255,255,255);
  TEXT "Get ready...", 0,0;
  TEXT_STDOUT "Arial",RGB(0,0,0),10,10,460,280;
  PICTURE <Logo.pcx>,OPAQUE,10,10;
  PROGRESS RGB(0,0,255), 10, 0, 300, 400, 20;
  COMMAND "-diag";
} 



PATH "GFX\\Particle";
PATH "Models\\Misc";
PATH "Models\\Ship";
PATH "GFX\\Misc";
PATH "GFX\\Ship";
PATH "Audio";

PATH "shade-c";
PATH "misc";
PATH "shade-c\\bmap";
PATH "shade-c\\fx";

PATH "UI";
PATH "GFX\\Env";
PATH "Models\\Env";
PATH "Levels";
PATH "Data";
PATH "Loadscreens";




~"I never let school interfere with my education"~
-Mark Twain
Re: creating the startup window wdf file? [Re: Germanunkol] #329449
06/20/10 01:57
06/20/10 01:57
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!
Did you try to make the starter file before anything else.
Then publish the exe.

I don't know if this is important, but I always place the paths before
the WINDOW WINSTART.


edit : publish starter from WED with only the starter box
checked

Last edited by Ottawa; 06/20/10 02:17.

Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: creating the startup window wdf file? [Re: Ottawa] #329550
06/21/10 07:42
06/21/10 07:42
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
I tried publishing only the starter, though haven't tried from WED yet. Will try it when I get home.
That means I have to move around scripts/level files though, which is rather annoying. But oh well...
Thanks!
I'll post as soon as I tried...

Last edited by Germanunkol; 06/21/10 07:43.

~"I never let school interfere with my education"~
-Mark Twain
Re: creating the startup window wdf file? [Re: Germanunkol] #329764
06/22/10 17:49
06/22/10 17:49
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Hm, interesting, from WED it works.

Thanks!


~"I never let school interfere with my education"~
-Mark Twain
Re: creating the startup window wdf file? [Re: Germanunkol] #329808
06/22/10 22:42
06/22/10 22:42
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

Yeah it works only from WED.

Anytime wink

Ottawa

Re: creating the startup window wdf file? [Re: Ottawa] #329820
06/23/10 02:05
06/23/10 02:05
Joined: Jan 2010
Posts: 145
Doc_Savage Offline
Member
Doc_Savage  Offline
Member

Joined: Jan 2010
Posts: 145
if a starter window only works in wed then how are we supposed to aply it to a published game?


Do not concern yourself with my race, personality or origin. find my record in the pits, and then make your wager.
Re: creating the startup window wdf file? [Re: Doc_Savage] #329828
06/23/10 06:07
06/23/10 06:07
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
like, publish it from wed?


3333333333
Re: creating the startup window wdf file? [Re: Quad] #329928
06/23/10 23:03
06/23/10 23:03
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

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

To answer your questions?

The starter file must be created in WED before the creation of the .exe
and then it works in SED or WED
and when you publish the game (.exe) it follows
all the code to the .cd folder.

So when you execute the game from SED or WED or the .exe
the starter will be there ( in the .cd and in the work folder)
and work like you want it until you change it or remove it.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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