PDA

Click to See Complete Forum and Search --> : Easy request!


A[L]C
Jan 24th, 2002, 08:45 AM
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

MetallicaD
Jan 28th, 2002, 09:07 AM
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

A[L]C
Jan 28th, 2002, 09:30 AM
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

MetallicaD
Jan 28th, 2002, 11:43 AM
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

A[L]C
Jan 28th, 2002, 12:08 PM
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