Guest dwallersv Posted January 26, 2009 Report Posted January 26, 2009 (edited) I've been rooting around the registry and tweaking M2D in some ways that are not accessible to M2DC, so I thought I'd post them here in case they are helpful to others, and haven't been posted before. I encourage everyone to add their own to the thread. It's always nice to have this sort of thing gathered in one place. Weather Widget It annoys me that US citiies are suffixed with "US" in the weather display rather than the state designation where the cities are. Easily fixed with some Registry tweaking. Go to HKLM\Software\HTC\Manila2D\Weather Under that key will be a set of keys labeled 0, 1, 2, ... all the way up to 9 if you have ten cities configured. There will be one numbered key for each city you have added, starting with 0. In each of these keys is a value labeled "Location". It will be the city name as it appeared in the city selection dropdown when you added the city. Simply edit this value and replace the "US" with the correct state for that city. If you have more than one city configured, you can fix them all, then soft reset. The correct string will now show up with the state designation in Weather. Or, if your a jokester, set the entire name for the city to anything you want (I set Chicago to "Windy City", "San Jose, CA" to "Silicon Valley", New York, NY to "The Big Apple", Washington, DC to "Cesspool", etc. -- have some fun with it!) There's also a value named "LocationCode" that has the form NAM|||. Thought this was the magic to adding a city that's not in the "add" list, so tried changing "NAM|US|CA|SAN JOSE" in my phone to "NAM|US|CA|SANTA CRUZ" hoping this would cause the app to fetch data for Santa Cruz, CA next update. No dice. Didn't work. I think the other value in there, "CityIndex" needs to be set properly, and I have no idea what that should be. If anyone knows, please post! Internet Widget I'm a google fan, but I like my browser to start with a blank page (URL=about:blank). Most of the time I'm not going to Google, or anywhere else on the webfor my "home page", so the delay in startup is annoying. Regardless, we all have a place we'd like to land when starting up the Browser. Also, it would be nice to fill that space below with useful web shortcuts. YouTube comes preconfigured. There's enough room for two more. Maybe you don't even give a rat's ass about YouTube, and would like to put something else there. Go to HKLM\Software\HTC\Manila2D\InternetWidget\Customized Set the value "BannerURL" to whatever URL you want to land on when you start the browser by hitting the big globe (I set mine to "about:blank"). Set the value "BannerURLText" to whatever you want to appear in tiny font under the "Launch Browser" text on the Internet Widget page (I set mine to "Opera"; aesthetically pleasing, I must say :-)). Now on to the shortcuts. There's room below the launch graphic for 3 entries (well, I haven't tried more... maybe it scrolls?). First, edit the value "CustomizedCount" in the Customize Key to the number of shortcuts to display in the Internet Widget. It will already be "1", reflecting the included YouTube shortcut. Bump it to "3" if you want to add two more. Now the harder part. Each shortcut needs to have an ordinal subkey, starting at 0, in the "Customize" key. The difficulty is that each of these keys, which represent one of the shortcuts, has 5 values that must be in it, and creating all these by hand is a pain in the butt. Here's how I do it, using FDC Task Manager as my registry editor: Right-click key "0" and select Copy.Right-click key "InternetWidget" and select Paste; the new key's in the wrong place, but we need to rename it before we can put it in the right place; "InternetWidget" simply serves as a temp locationRight-click key InternetWidget \ 0 and select RenameChange name to "1"Right-click key InternetWidget\1 and select CutRight-click key Customize and select PasteRepeat above and name the new key "2" for a full 3-entry shortcut list. Now the fun part. In each shortcut key there are a set of values that need to be edited as such: "CustomizedIcon": This is a filesystem path to a 22x22 pixel BMP graphic that will show next to the shortcut desc. You will need to make your own little graphic for these shortcuts, or just leave this value blank, and there won't be any fancy icon. The shortcut will still work just fine. "CustomizedTitle": Set this to the string you want to appear on the Internet Widget page "CustomizedURL": Set this to the path to the object you want invoked. It can be a filesystem path to a program (as in the case of the default YouTube shortcut), or a full URL (including "http://") to a webpage. The other two values, "CustomizedDescription" and "NoDescription" seem self-explanatory, but I haven't played with them, so I can't say for certain what they do. Soft-reset and enjoy a far more useful M2D Internet Widget! Launcher Experimenting with this at this point, but haven't made any progress. Trying to add more rows to the number of launcher buttons -- M2DC limits this to 9. Tried adding empty keys 36-39, following the pattern already there, soft-reset, no dice. Still 9 rows. Anyone that has some insight on this, please post. That's it for now... I'll post more as experimenting yields. Please add anything you've done to tweak customize M2D that is not available through M2DC. Enjoy! Edited January 26, 2009 by dwallersv
Guest scoiattolo Posted January 27, 2009 Report Posted January 27, 2009 Weather Widget There's also a value named "LocationCode" that has the form NAM|||. Thought this was the magic to adding a city that's not in the "add" list, so tried changing "NAM|US|CA|SAN JOSE" in my phone to "NAM|US|CA|SANTA CRUZ" hoping this would cause the app to fetch data for Santa Cruz, CA next update. No dice. Didn't work. I think the other value in there, "CityIndex" needs to be set properly, and I have no idea what that should be. If anyone knows, please post! You need to patch manila2D.exe for allowing new cities to be added. If you don't it doesn't work <_< After you have the patched manila2D.exe then you can modify the HH_0409_WeatherCities.XLM and add the correct code for the cities you want (get the code from the www.accuweather.com website). You can also modify the description in the .XLM file directly (no need to modify the registry :)). You can get the patched manila2D.exe here: http://www.modaco.com/content/i900-omnia-r...in-weather-tab/ :D
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now