Hi, guys i need help.
I want that game.exe can be started only if the user launch it with my Launcher.
Something like that:
checkLauncher();
load intro
load menu intro
load music etc}
function checkLauncher (){if (launcher != launcher.exe) {alert(Open the game with Launcher); shutdown()} else {return=true}}
Example:
IF game.exe was started with Launcher, he will normally start, IF NOT MSG " You MUST open the game with GameLauncher!"
That script need to be started before the Intro, (New Game Screen) But i don't have any idea how create a Js like that.
Note: Sorry for my bad english.
I want that game.exe can be started only if the user launch it with my Launcher.
Something like that:
checkLauncher();
load intro
load menu intro
load music etc}
function checkLauncher (){if (launcher != launcher.exe) {alert(Open the game with Launcher); shutdown()} else {return=true}}
Example:
IF game.exe was started with Launcher, he will normally start, IF NOT MSG " You MUST open the game with GameLauncher!"
That script need to be started before the Intro, (New Game Screen) But i don't have any idea how create a Js like that.
Note: Sorry for my bad english.