Page 1 of 1

exe protection

PostPosted: Fri Jul 13, 2012 12:16 am
by friedfish
hey guys,

Are there any way we can protect the exe so that others won't be able open it accidentally?
for example I have two executables. game.exe and level_01.exe. I don't want the one playing the game to open level_01.exe accidentally because game.exe is the start of the whole game.

-friedfish-

Re: exe protection

PostPosted: Fri Jul 13, 2012 12:22 am
by skydereign
You could set something up in the start of the game, but gE provides the .dat export so you don't need to do this. Just export game as an exe, and every other ged as a .dat file. The exe export contains the gE engine, which is why you can play the game, but the .dat file only contains the game data (therefore it can't be run unless from a gE engine). This also reduces the size of your total game.

Re: exe protection

PostPosted: Fri Jul 13, 2012 12:29 am
by friedfish
oh, I did not know that... so should I go about it as

LoadGame("level_01.dat")?

thanks... that's +3 already for helping me sky... :)

Re: exe protection

PostPosted: Fri Jul 13, 2012 12:34 am
by friedfish
it's working now... thanks again sky... :D