Gamestudio Links
Zorro Links
Newest Posts
Zorro.ini - StrategyFolder
by MatPed. 04/08/20 11:04
MT4 bridge: Check account number
by tradingest. 04/07/20 13:12
call(3+16, saveTrades, 0, 1.0);
by MatPed. 04/07/20 13:08
dead links
by jcl. 04/07/20 12:27
Zorro and IB Gateway
by cwford. 04/07/20 00:31
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
11 registered members (MatPed, Quad, 3run, panz, jbhunter, TedMar, alibaba, Sinuhet, AndrewAMD, 1 invisible), 676 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rruuvvii, vishal, tanhwuser, beo, marsz
18414 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: 724
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 724
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,307
Hiporope and its pain
txesmi Online
Serious User
txesmi  Online
Serious User

Joined: Jun 2007
Posts: 1,307
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