User Tag List

Results 1 to 5 of 5

Thread: writing REG_BINARY values

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    writing REG_BINARY values

    Seems that the registry two allows you to write REG_SZ, and one other type, I would like to know how to write a REG_BINARY value. Otherwise would it be recommended that I execute an external script such as a .vbs or .reg? Seems that writing the .reg will trip most anti-virus and make great hazards to users who continually approve the action, and a .vbs will show as a separate applet that I can not directly read and write with quickly. Any thoughts/suggestions appreciated. Because I know someone will ask, no a different format can not be used it must be a REG_BINARY for windows to see it properly.

    nasajd

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: writing REG_BINARY values

    You can create a batch file instead of a VB script. Writing to the registry will require more priveleges than writing the data to the local user profile. You will be reducing your audience.
    Can't you convert it to base 64 and create a text string?
    Why does the value have to be Binary?

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: writing REG_BINARY values

    I write simple scripts to mod windows, for example auto end programs, schedule tasks, disable task manager, and some values need to be binary such as remapping the keyboard. Basically my goal goal is a standalone applet that safely and accurately can change all windows registry parts for "registry hacks". Remapping the keyboard needs to be a reg_binary file such as 0000000000000000050000001200230012002300230012003a 0000000000. This sample would swap h and e, and also swap the caps lock and left shift. The true purpose of remapping would be quick reversible changes to and from dvorak keyboard, along with creating any keyboard layout and using it on any computer, then being able to reverse the change. As far as I know the registry will not accept this change unless it is reg_binary.

    Correction, seems it will though I do not know what base a reg_sz is, is it 64? Also any thoughts on how to create a quick binary to base (64 or whatever base a reg_sz is in).


  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: writing REG_BINARY values

    Isn't there a way to write a new registry key in notepad and run it to automatically update the registry?

    Perhaps your app could output your change to a .reg file, then simply run the file?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: writing REG_BINARY values

    OK then the answer is to create the reg key manually for all the maps and then export the keys separatly. Rick click and export the keys from within regedit. Run a reg key import script when you want to import the keys. Simple.
    There are some jobs MMF2 can do; For everything else there's the hard way.
    Oohh Idea..
    Or render the same reg key script from within your app to a reg file then import it that way.

Similar Threads

  1. Writing to a log file.
    By turtle in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th July 2010, 03:49 AM
  2. REG_BINARY
    By MAS in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 26th December 2006, 05:27 PM
  3. Writing to XMLs?
    By Durnus in forum Extension Development
    Replies: 5
    Last Post: 10th September 2006, 04:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •