Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.20
by AndrewAMD. 11/15/19 03:34
What are you working on?
by jumpman. 11/14/19 16:17
A9
by preacherX. 11/14/19 15:28
Idx calculated every tick
by jcl. 11/14/19 15:25
IG plugin initial release
by Dalla. 11/13/19 19:07
Login 0 IG ..
by Dalla. 11/13/19 19:03
Moving Average crossover
by gra9. 11/13/19 10:43
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, kvm, AndrewAMD, Dooley, 3run, 1 invisible), 675 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LaszloK, gra9, Dev_ill, Ryu, andrews825
18329 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 Online OP
User
Dooley  Online 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,270
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

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