I am trying to get the program to restart without the starter window.
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:
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.