• twitter
  • facebook
  • rules
  • news
 
Page 1 of 2 12

[MOD]SASHIMI - regexport the values YOU want

  • Thread Tools: Tweet this thread
  • Vote for Thread to be Featured on the XDA Portal
Default [MOD]SASHIMI - regexport the values YOU want

I recently started to use SASHIMI heavily to customize my HD after a ROM flash. Congrats and credits to bengalih who did an awesome job.
One option i really missed in SASHIMI is to be able to specify specific values for custom registry export, so i decided to modify the script to my needs. From what i've read in various threads/forums other people wants to do the same, so i'll share it here for everyone who wants to try.

The mod allows additional parameters in REGEXPORT.INI:
key1=<yourkeypath1>
key2=<yourkeypath2>,<value1>,<value2>,<value3>, ... ,<valueN>
key3=<yourkeypath3>,*


key1 is the traditional way of exporting registry keys as its already implemented. It exports this key including all values/subkeys.
key2 specifies a key, plus the value names you want to export (value1-valueN). Value names are CASE SENSITIVE (!), if they dont match you end up with an empty key.
key3 specifies a key, plus ALL values, but WITHOUT subkeys.

WARNING: DO NOT mix filtered (like in key2, key3 examples) and unfiltered keys (key1) in the same section, as this will lead to missing values. If you need to do this, split them into separate sections.


examples from my own usage:

[Opera vibration]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\Software\Opera\Defaults,Vi brationEnabled

[power+backlight settings]
RegExportDirMode=Auto
key1=HKEY_LOCAL_MACHINE\System\CurrentControlSet\C ontrol\Power\Timeouts,BattSuspendTimeout,BattSuspe ndTimeoutSave,ACSuspendTimeout,ACSuspendTimeoutSav e
key2=HKEY_CURRENT_USER\ControlPanel\BackLight,Batt eryTimeout,BatteryTimeoutUnchecked,ACTimeoutUnchec ked



If you want to give it a shot here are the downloads:

CustomRegistryExport.txt
SASHIMI.mscr


__________________
My devices
Current: HTC Desire
History: iPhone 3GS, HTC HD, HTC HD2

My projects
Power Radio | metal detector HD2 | HD2 taskbar WM6.5.x | m9editor | bluescreen splash | T8285 splash | SASHIMI regexport mod


if you appreciate my work!





Last edited by 6Fg8; 16th December 2009 at 08:39 AM. Reason: warning added.

Nice mod, m'lady!

I hope bengalih will consider it for future SASHIMI versions

__________________
GSM DIAM100 | Powered by udK Syrius Topaz R7 | Radio 1.17.25.09 BS SU | RIL 1.14.25.24 BS | HardSPL 1.40 OliNex | Sashimi

The Matrix has you..

Great job!

Very Very helpfull!


Thanks a'lot!

__________________
----------------------------------------------------------------------------------------------------------------------------------------
Keep in mind ... THEY are all watching us (HTC, Microsoft, Google ... and many more).

well... just tried this (kept a backup of the original mscr). The only key it exported was key9. It took what felt like 5min to get past the "mysettings.............." line.

Code:
[MySettings]
RegExportDirMode=Auto
key1=HKLM\Ident
key2=HKLM\Software\Microsoft\Clock
key3=HKCU\Software\Microsoft\Vmail\UserProvidedNumber1
key4=HKCU\ControlPanel\Notifications
key5=HKLM\Software\Microsoft\Bluetooth\Devices
key6=HKLM\System\CurrentControlSet\Control\Power\Timeouts
key7=HKCU\Software\HTC\People\OwnerInfo
key8=HKLM\Software\HTC\Manila\Configuration
key9=HKCU\Software\HTC\Manila,Weather.CityList,Weather.ServerURLOverride,Locale,Weather_Focus,Weather.Fahrenheit,Weather.PostRunFirst
key10=HKLM\Software\Arcsoft\ArcSoft MMS UA\Config\mm1
key11=HKCU\Software\HTC\TaskManager
key12=HKLM\Software\HTC\Manila\ProgramLauncher

And Generated this .reg file

Code:
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\HTC\Manila\]
"Weather.CityList"="37384,30914,31106,30824"
"Weather.ServerURLOverride"="http://weather.conflipper.com/htcweather/weathertranslate.php?ac=CONFLIPPER&locCode=%25ls&version= 1&device=innovation"
"Locale"="en-US"
"Weather_Focus"="United States"
"Weather.Fahrenheit"=dword:00000001

Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.


Last edited by ProfEngr; 8th October 2009 at 03:17 AM.

Originally Posted by ProfEngr  View Post

well... just tried this (kept a backup of the original mscr). The only key it exported was key9. It took what felt like 5min to get past the "mysettings.............." line.

Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.

congrats ... you found a bug
Notepad showing only 1 line is normal, it cant handle lines terminated with LF only.

__________________
My devices
Current: HTC Desire
History: iPhone 3GS, HTC HD, HTC HD2

My projects
Power Radio | metal detector HD2 | HD2 taskbar WM6.5.x | m9editor | bluescreen splash | T8285 splash | SASHIMI regexport mod


if you appreciate my work!




Is a fix in the works?

Originally Posted by ProfEngr  View Post

Notepad shows that all on 1 line w/ carriage returns as open squares.
Sashimi.mscr is in the BIN folder along w/ the .txt file. The weather entries are the main reason I need this mod. I think I did everything right, but looks like I missed something.

Hello ProfEngr,

I'am exporting a lot of keys with Dotfreds taskmanager.... with a simple text editor I place all of them in 1 Reg file..... and afterwards I import only 1 reg file with all the keys in it ...

Not really a solution, but a work-around

Greets from sudist

__________________
Sagem MY-S7 (WM2003SE "2005 - 2007")
ASUS P535 (WM6 PRO fr "2007 - now")
HTC Diamond 2 (WM6.1 fr ) SOLD

thanks, I'll try that in the interim.

Originally Posted by sudist  View Post

Hello ProfEngr,

I'am exporting a lot of keys with Dotfreds taskmanager.... with a simple text editor I place all of them in 1 Reg file..... and afterwards I import only 1 reg file with all the keys in it ...

Not really a solution, but a work-around

Greets from sudist

I do that with normal SASHIMI too. I setup several registry settings in a text ini file, mysettings1 for registrations and program setup, mysettings2 for CHome setup like weather, used icons, launchers shortcuts etc, mysettings3 for device setup like email, ISP, bluetooth, advanced config etc and so on. So i can restore everything after a hard reset or flash, or only one set of registry at any time. From time to time i do a custom backup of the current registry.

__________________
(HTC Elfin) sold it
(Samsung Omnia i900L) sold it

SGS I9000T, TELCEL, Burakgon's GamerzRom

Originally Posted by ProfEngr  View Post

Is a fix in the works?

I'll look after that sometime next week

__________________
My devices
Current: HTC Desire
History: iPhone 3GS, HTC HD, HTC HD2

My projects
Power Radio | metal detector HD2 | HD2 taskbar WM6.5.x | m9editor | bluescreen splash | T8285 splash | SASHIMI regexport mod


if you appreciate my work!





Tags

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Rules
All times are GMT +1. The time now is 01:19 PM.