How To Convert *.txt File Into a *.reg Please? - Windows Mobile Development and Hacking General

How to convert *.txt file into a *.reg please?
Tweaked a *.reg file for BlueTooth but when I use Resco Registry it just does not import.
Forgot to mention that is it possible to import without overwriting the existing settings (just adding)?
Anyone can help?
TIA

Just rename the .txt extension simply to .reg extension i.e. abc.txt rename it to abc.reg.
I think it's possible to import a registry file without overwriting the existing setting as long as they don't have the same key.

Hi
Thanks Bro but I tried that before and either Resco Registry refuse to import or when it does those keys with the same name with additional strings gets overwritten.
I want to add only.

Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.

Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.

Hey
Thanks Bro I will give it a try.

Hi [Krueger]Dr.Stein,
Change *.txt with *.reg as extension as well as
add
REGEDIT4
as the first line
example if your *.txt file is like this
Code:
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
*.reg should be
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
Then resco will gladly import
About import without overwriting the existing settings (just adding) you asked is possible, just make sure that the data you are using in reg file is not alredy present in the original registry, then the data is added otherwise it will be overwritten.

Good Job
Alrighty then.
Thanks for the valuable tip. Appreciate it.
Thanks again.

Related

How can I create runable .reg files

I have created several reg files for things like "GPRS always on" (or off), BT headset always on fix, system fonts, date in taskbar, etc etc.
Currently, after a hard reset, or if I want to switch a reg setting, I have to open TRE and import the reg file. Is there a way I can run the reg file and have it automatically add to the registry. ie on Windows XP .reg files can be double clicked.
Thanks in advance...
In XP you can doubleclick on a .reg file because they are associated with the app "c:\%windir%\system32\regedit.exe"
This application imports the file into the registry.
Windows XP must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
WM2005 must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
All you need is to find (or create) is an application that can be associated with .reg files, and imports them to the registry..
Good luck with that!
TRE has a setting under 'options' that assosiates it with .reg files. Clicking a reg file now imports it. Let's start uploading our reg tweaks!

Program to Restore Parts of Registry Backup

Hi,
is there a way or a program to backup/restore the registry as .reg file,
or more important: restoring only parts of the registry
via a program "like" spritebackup. is there a reg editor which can export/import the registry partially?
thx a lot
I use kilmist/klimst registry editor (never remember the spelling).
That exports and can import registry files.
If you've got a full reg export, edit it in notepad on your PC to have just the bits you want, save and import on your PDA.
V
looks like ur the right man for my questions thx a lot
another thing, do u know unlocker for pc? excellent tool for unlocking
files being processed by another app... can release the file,
or just kill the process - unlocker
is there something similar for ppc available?
Hi again and one more question...
do you know a prg to make screenshots directly on my magican?
want to make some pictured tutorials, so something with hardwarebutton assignment would be helpful.
:SOLVED:
http://www.freewareppc.com/graphics/magicss.shtml
hw button ok but it's not so fine.. mhm only bmp and folder must be selected every time
jpg would be cool.. any more ideas?
and thx again
I use Resco file explorer' Add-on for registry editing. Exports as .reg files.
Cool and easy..
For screen shots, i use Pocket Artist 3
Regards
Carty..

[how to] Make a CAB file to import registry settings

Guys, I was just asked how to prepare a cab file containing registry settings, to save you having to configure your registry manually each hard reset.
Anyway, the process is (relatively) easy!
Purists and coders would generally do this by writing your own installer cab. For this route, follow this thread and engage brain to OverDrive!
http://www.pocketpcdn.com/articles/setupdll.html
However, the easiest way is to grab a copy of WinCE cab manager.
Install that app. Find any existing cab that you've used to install an app before. Load it into CabMan. Using the interface, remove all existing files and registry settings etc. Set your own Cab name, company name etc in the settings.
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Save each exported tree as eg 1.reg, 2. reg, etc.
Then, copy them onto your pc, open each file in notepad and copy and paste the contents of each into 1 large file, eg RegCompiled.reg. (You don't need to do this step, but for your own reference you may want them all in one place)
Then, import that into CabMan. Now, it may not work - I think you need to have a valid reg file, which is basicaly the same thing you've already got, but with a first line header saying:
"Windows Registry Editor Version 5.00"
No speech marks.
Grab this line for yourself by exporting something from your pc's registry using RegEdit, then load into notepad and grab the first line.
Ok, CabMan should now show the number of imported registry entries on the tree on the left.
That's it! Save, and then run on your PDA.
Try a test run first before relying on it for life and death!
V
vijay555 said:
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Click to expand...
Click to collapse
I'm using for this purpose two regeditors - both freeware:
PHM registry editor [Philippe Majerus] v0.70 - for its search feature
TRE registry editor [TascalSoft] v0.90 - for import/export and ability to edit MULTI_SZ values.
There is one great utility: SSnap
Run SSnap before and after installation and compare files. Use any diff program or [my choose, but comercial] UltraEdit
baniaczek: thanks for the alternatives.
PHM is very good, but unfortunately at least in the previous versions, the export wasn't very helpful.
A good reg editor is a fairly essential tool, so use what you get on best with!
V
I have a question, is there anyway to make it so that the cab will also delete a registry key on the phone? any help would be appreciated. thanks.
vijay555 said:
Guys, I was just asked how to prepare a cab file containing registry settings, to save you having to configure your registry manually each hard reset.
Anyway, the process is (relatively) easy!
Purists and coders would generally do this by writing your own installer cab. For this route, follow this thread and engage brain to OverDrive!
http://www.pocketpcdn.com/articles/setupdll.html
However, the easiest way is to grab a copy of WinCE cab manager.
Install that app. Find any existing cab that you've used to install an app before. Load it into CabMan. Using the interface, remove all existing files and registry settings etc. Set your own Cab name, company name etc in the settings.
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Save each exported tree as eg 1.reg, 2. reg, etc.
Then, copy them onto your pc, open each file in notepad and copy and paste the contents of each into 1 large file, eg RegCompiled.reg. (You don't need to do this step, but for your own reference you may want them all in one place)
Then, import that into CabMan. Now, it may not work - I think you need to have a valid reg file, which is basicaly the same thing you've already got, but with a first line header saying:
"Windows Registry Editor Version 5.00"
No speech marks.
Grab this line for yourself by exporting something from your pc's registry using RegEdit, then load into notepad and grab the first line.
Ok, CabMan should now show the number of imported registry entries on the tree on the left.
That's it! Save, and then run on your PDA.
Try a test run first before relying on it for life and death!
V
Click to expand...
Click to collapse
4 reg hacks u can also use my way and i think it is a lot faster
http://forum.xda-developers.com/showthread.php?t=547339
btw i cannot upload the ppt file 2 xda (dont know way it is only 3m) if someone can it will be great
tnx
The WinCE CAB Manager is the ultimate utility for developers of applications designed for the Windows CE operating system. But it's not freeware!
You might build the CAB online: http://www.supware.net/CabGen/

How to extract *.reg files?

How do I extract *.reg files to use with sashimi and UC? Thanks in advance.
With a reg editor Resco etc
stylez said:
With a reg editor Resco etc
Click to expand...
Click to collapse
Resco reg editor only have the option to import.
CERegistryEditor, download here, you can export/import & edit registry from your PC. Make sure to change the save as extention on exporting. It is defaulted to .cereg.
You can also export .reg-files with Total Commander. Just go to the desired key, select 'Copy' and 'Paste' it on your filesystem to save the key to the desired location.
As you are using SASHIMI, there is a registry editor just inside the programs folder of SASHIMI, and you can use it to import/export any registry, whole key, or single string or dword.

Create a single cab out of multiple reg entries

Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
google ceregeditor. It will turn registry entries into a cab for you.
mwalt2 said:
google ceregeditor. It will turn registry entries into a cab for you.
Click to expand...
Click to collapse
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?
the7thson said:
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?
Click to expand...
Click to collapse
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc
mwalt2 said:
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc
Click to expand...
Click to collapse
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.
the7thson said:
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.
Click to expand...
Click to collapse
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver
FInixNOver said:
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver
Click to expand...
Click to collapse
Wow, thank you!!!
Is there any program that will allow multiple REG sections to all be exported to a single "file.reg" so that they can all be reloaded or converted to a CAB install file? I have multiple sections of my Registry which i would like to have in a single .REG or .CAB file but when i export each part of the REG separately then cut n paste to combine then it does not seem to re-install in to my register after a clean ROM boot.
Any ideas?
LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.
the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
See my signature
Magic Tweaks is exactly what you need with alot more Regs
Ethermind said:
LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.
Click to expand...
Click to collapse
Yeah, use wince cab manager! Just add a key to the registry or use file, import reg!
When you want to save the cab you'll get a message that you don't added any files, thats oke because a key or a value isn't a file!

Categories

Resources