Gamestudio Links
Zorro Links
Newest Posts
IG plugin initial release
by TTT. 11/11/19 23:32
Optimize non asset/algo specific
by StefanCGN. 11/11/19 15:32
New Zorro version 2.20
by jcl. 11/11/19 09:11
OANDA pricing changes
by AndrewAMD. 11/11/19 02:25
Can't Connect..IG Plugin
by TTT. 11/10/19 23:12
CONTACT* contact
by Dooley. 11/10/19 14:08
How to control entry/exit price?
by Petra. 11/10/19 10:30
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
5 registered members (TTT, AndrewAMD, Paulius, kvm, 1 invisible), 641 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
andrews825, KKelk, TTT, Mr_Rob, dkz
18325 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: 712
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 712
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,269
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

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