exe protection

Game Editor comments and discussion.

exe protection

Postby friedfish » Fri Jul 13, 2012 12:16 am

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-
User avatar
friedfish
 
Posts: 75
Joined: Wed Mar 14, 2012 2:31 pm
Location: UK
Score: 7 Give a positive score

Re: exe protection

Postby skydereign » Fri Jul 13, 2012 12:22 am

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: exe protection

Postby friedfish » Fri Jul 13, 2012 12:29 am

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... :)
User avatar
friedfish
 
Posts: 75
Joined: Wed Mar 14, 2012 2:31 pm
Location: UK
Score: 7 Give a positive score

Re: exe protection

Postby friedfish » Fri Jul 13, 2012 12:34 am

it's working now... thanks again sky... :D
User avatar
friedfish
 
Posts: 75
Joined: Wed Mar 14, 2012 2:31 pm
Location: UK
Score: 7 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest