Issue with Starter Window

Posted By: Dooley

Issue with Starter Window - 10/23/19 05:13

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.
Posted By: txesmi

Re: Issue with Starter Window - 10/23/19 09:22

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!
© 2024 lite-C Forums