|
2 registered members (Quad, AndrewAMD),
1,007
guests, and 6
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
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
OP
Expert
|
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):
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
Ottawa
User
|
User
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  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
OP
Expert
|
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
OP
Expert
|
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: Ottawa]
#329820
06/23/10 02:05
06/23/10 02:05
|
Joined: Jan 2010
Posts: 145
Doc_Savage
Member
|
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: Quad]
#329928
06/23/10 23:03
06/23/10 23:03
|
Joined: Apr 2006
Posts: 737 Ottawa, Canada
Ottawa
User
|
User
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  Ver 7.86.2 Pro and Lite-C
|
|
|
|