|
-
Dec 4th, 2000, 11:08 PM
#1
Thread Starter
Junior Member
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
-
Dec 4th, 2000, 11:19 PM
#2
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 5th, 2000, 09:00 AM
#3
Thread Starter
Junior Member
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 
-
Dec 5th, 2000, 03:48 PM
#4
Addicted Member
This is not making any sense, why would u want a unique # for other purpose than copy protection (that wouldn't work but anywayz
*Rudy^
Visual Studio 6 Ent. SP5
Windows 2000 SP4
Windows XP SP1a
-
Dec 6th, 2000, 07:35 PM
#5
Frenzied Member
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!!
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|