-
Hello, Im making a game for school and I am almost finished. Not to waste time, in general the game uses losts of textfiles which are not encrypted, for I don't have time to write the code. What I want to do is make the game run off a CD which I will burn. How can i give that cd a unique number,if possible, so in Vb when the game loads it will check the current drive's whatever number, and match it to that number that i put in the code. In scence, all i want it is to do this:
if x (some number which you obtain by one of the api calls) = 1234567890(the unique number that I would put in the info of the cd when burning, if possible)
Also, how do I add the autorun feature on the cd. Do i just put a file called autorun.exe, and the o/s will automatically execute that file, if the autorun feature is on.
Thanks
-
Are you trying to make copy protection? If thats the case i don't think it will work that well, anyone could copy that cd, and will copy the number at the same time.
i think you have to put something in autorun.inf, look it up in a cd you have and check that file. It's possible that that file will launch autorun.exe
-
I rellly dont mind if the user can copy the cd...........all I want is to make it run of cd cause of the wave files..........dont really mind if they copy the cd...................its just a stupid oac programming project :)
-
This is not making any sense, why would u want a unique # for other purpose than copy protection (that wouldn't work but anywayz
-
It would kind of work for a Internetgame, where he doesn't want to guys with a burned cd, but still there would be no reason for another file or something.
But really I want to know now what the number is for!!