Results 1 to 5 of 5

Thread: Easy request!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Posts
    122

    Easy request!

    Ok.... if you have knowledge of Half Life, it will help. Heres the problem:

    I admin at a cyber cafe, and we have quite a few regulars who come and play games on our machines. The problem is, each person sets their keys up differently. What I need is a small vb program which can allow you to point to your config, a backup config, and when instructed will move the personal config into a selected folder, and on return move the original config back.

    I have already worked on the forms and stuff, but need some help encoding the passwords for the user profiles, writing the paths to file, and moving the specified .cfg files.

    Cheers
    -------------------------------------

    ICQ: 44712087 (evenings only)
    Email: [email protected]

  2. #2
    Hyperactive Member MetallicaD's Avatar
    Join Date
    Feb 2001
    Location
    Tallahassee, FL
    Posts
    488
    Do you already know the way the half-life game saves its keyboard settings? Like what file they are stored in and the format they are in?

    -mcd
    [vbcode]
    '*****************************
    MsgBox "MCD :: [email protected]", vbInformation + vbOKOnly, "User"
    '*****************************
    [/vbcode]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Posts
    122
    Originally posted by MetallicaD
    Do you already know the way the half-life game saves its keyboard settings? Like what file they are stored in and the format they are in?

    -mcd
    yes. They are held in a single (well sometimes 2) .cfg file. This is just a plain text file
    -------------------------------------

    ICQ: 44712087 (evenings only)
    Email: [email protected]

  4. #4
    Hyperactive Member MetallicaD's Avatar
    Join Date
    Feb 2001
    Location
    Tallahassee, FL
    Posts
    488
    cool.. Ill take a look at the files on my computer later on today and see if I can decipher whats going on there.. Once you understand the why the data is stored in these cfg files, then it should be very easy to create what you are looking for.

    -MCD
    [vbcode]
    '*****************************
    MsgBox "MCD :: [email protected]", vbInformation + vbOKOnly, "User"
    '*****************************
    [/vbcode]

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Posts
    122
    the making of the configs is not a problem. What the problem is, is the reading of the paths from an ini or registry value, and the moving of the files
    -------------------------------------

    ICQ: 44712087 (evenings only)
    Email: [email protected]

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