Gamestudio Links
Zorro Links
Newest Posts
Bmap creation - wrong Alpha values
by txesmi. 12/11/19 12:43
A9
by preacherX. 12/11/19 11:01
Error Message 010: invalid stops
by Volker. 12/11/19 08:25
AssetFix & Assets.csv
by MatPed. 12/11/19 07:03
How to handle profit in a TMF during training
by StefanCGN. 12/09/19 20:09
Simulate complex commission costs [Test]
by AndrewAMD. 12/09/19 13:52
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
6 registered members (Iglarion, timW, MatPed, Quad, 2 invisible), 659 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
PabloMF, deepscreener, wzschultz, Alit, cmor
18341 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Issue with Starter Window #478448
10/23/19 05:13
10/23/19 05:13
Joined: May 2005
Posts: 713
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 713
Chicago, IL
I am trying to get the program to restart without the starter window.

Code
exec ("Star_Explorers.exe",NULL);
sys_exit("");
return;


This works well for restarting the game. But if I add the command line "-nwnd" to the exec command like this:

Code
exec ("Star_Explorers.exe","-nwnd");
sys_exit("");
return;


It restarts the game, but then fails to load certain textures...

I get the following error..
"Error E2005 Can't create DirectX texture crosshair.pcx"

I'm wondering if there is a better way to do this.

Re: Issue with Starter Window [Re: Dooley] #478449
10/23/19 09:22
10/23/19 09:22
Joined: Jun 2007
Posts: 1,274
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,274
Hiporope and its pain
Hi,
If you own 3dgsPro, you can create a new file with the same name as the main code file of your game and a "wdl" extension and add the following content:

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


The manual entry is here.

Salud!


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