-------------------------------------------------------------------- | _ _______ __ _ _ __ __ _ __ _ _ _______ __ _ _ __ | | | '_ _ |/ _' | '_ \ / _` |/ _' | | '_ _ |/ _' | '_ \ | | | | | | | | (_| | | | | (_| | (_| | | | | | | | (_| | | | | | | |_| |_| |_|\__._|_| |_|\__. |\__._|_____|_| |_| |_|\__._|_| |_| | | __/ | |_____| | | |___/ | |Contact info at bottom -2002 | -------------------------------------------------------------------- A Short Registry Scripting Tutorial ----------------------------------- Open up any text editing program (such as notepad). Start off with typing 'REGEDIT4', this determines how the file will be read. To add a new regestry directory/key just type '[type path here]' e.g. [HKEY_LOCAL_MACHINE\SOFTWARE\Killsoft] To delete a registry directory/key type '[-type path here]' e.g. [-HKEY_LOCAL_MACHINE\SOFTWARE\Killsoft] note: The directory/key has to exist to be able to delete it To add or change a string value simply type ' "string name"="string" ' e.g. "Name"="John Smith" note: You must choose a directory/key by using the add method (check the end example) To add or change a dword value just type ' "dword name"=dword:dwordnumber e.g. "Current Level"=dword:00000002 note: The dword number must be 8 digits To add or change a binary value type ' "Binary name"=hex:xx,xx,xx,xx', but fill the x's with numbers e.g. "Map Data"=hex:04,08,04,50,50,04,08,68 note: I have not tested binary values that much, so I don't have full understanding of how they work To delete any value type ' "Value String"=- ' e.g. "Data Setup"=- note: Please be careful when using this, you could cause major problems if you make a mistake (don't worry too much) To leave a message for anyone editing/viewing your file then type ';Message Here' e.g. ;If you edit this file you could harm your PC End example(1) ------------------- REGEDIT4 ; ;This is a full .reg file example of installing data to a fake game called FistFight ; [HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes] "Game1"="FistFight" [HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight] [HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight\Data] "Player1"="Killa" "Player2"="Cyborg-X" "Select Password"=hex: 46,45,44,09,55,50,09,09 [HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight\Level] "Level1 Enemy count"=dword:00000026 "Level2 Enemy count"=dword:00000038 ;End End example(2) - Untistalling example(1) -------------------------------------------------- REGEDIT4 ; ;This is an full .reg file example of uninstalling data from a fake game called FistFight ; [-HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight\Data] [-HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight\Level] [-HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes\FistFight] [HKEY_LOCAL_MACHINE\SOFTWARE\Jawbytes] "Game1"=- ;End Please note: If you couldn't guess, when I say to type something, do it without the quotation marks Please note2: There are loads of notes manga_man - 2002 AIM : manga1man e-mail : manga_man300@hotmail.com homepage : http://www.manga-man.cjb.net