Results 1 to 5 of 5

Thread: CdRom Serial

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    22
    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

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Posts
    22
    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





  4. #4
    Addicted Member Rudy's Avatar
    Join Date
    Sep 2000
    Location
    BC, Canada
    Posts
    198
    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

  5. #5
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    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
  •  



Click Here to Expand Forum to Full Width