Hi All,
I've been trying to customize iGuidance3 to match my skins in RR and have discovered a few things that I haven't seen mentioned before.
----------------------------------------------
1) Button transparency.
----------------------------------------------
The menu buttons seem to use white (255,255,255) as a transparency color. Any white area will be subtracted from the button image and replaced with the window background color
The "Favorites" button is an oval surrounded by white:
But on the menu, the white is the window background color:
Unfortunately, this doesn't create a transparency area through to the background image. It only allows you to show through to the button area background color.
----------------------------------------------
2) Menu Window Background color.
----------------------------------------------
By default, it's this nasty blueish, offwhite color (231,237,249). Poking around with my hex-editor, I found that I can change it to the dark-grey color you see as the area just outside the "favorites" oval above.
The address in iGuidanceUMPC.exe is 0x19D89.
The default color is "E7 ED F9", but you can change it to whatever suits you.
----------------------------------------------
3) Menu Text Background color.
----------------------------------------------
So, you changed the window background color, but now you're left with this problem with the text area background color:
So, back to the hex editor at 0x1AA3E. Again, change the color to whatever you prefer.
----------------------------------------------
4) Daytime Street Name Color.
----------------------------------------------
I assume that most people reading this have used, or at least seen Purdoom's find regarding the nighttime street name color. Again with the hex-editor, finding the only block containing "A0 FF A0 00" and you end up at offset "0x8412D".
So, like many people, you want it to be white, so you change it to "FF FF FF 00", but now your daytime street name color is this horrid purple. Well, look just a few characters back, at "0x84126" where you see "60 00 5F FF".
This is a bit more complex. It seems that the nighttime street-name color is always set from 0x8412D. But the daytime street-name color is set by adding the 0x84126 and 0x8412D together.
So.. When you change the nighttime color to "FF FF FF 00", you get:
FF FF FF 00
+ 60 00 50 FF
-------------
= 60 00 5E FF
Keep in mind that RGB values are usually stored as RGBA (alpha). I don't quite understand how iG3 uses that "A" value yet.
So what's the practical application of this?
Say we want a "White" night text, but a "Red" day text.
Find the block that contains "60 00 5F FF 50 81 C1 A0 FF A0 00", and change it to "FF 00 01 FF 50 81 C1 FF FF FF 00".
"FF 00 01 FF" + "FF FF FF 00" = "FF 00 00 FF" or R(255)-G(0)-B(0)-A(FF).
Do not mess with the characters in the middle: "50 81 C1". That's the assembly code that is pushing the variables on the stack and adding the two color values together.
If anyone has any ideas about how the day/night switch is made for these values, please let me know. IE: Why does the color addition only happen for the day street-names, when the assembly code doesn't appear to take that difference into account.
-------------------------------------------
Anyway, I hope this helps some of you with your iGuidance customizations.
==================================================
============ iGuidanceUMPC Color Locations ==============
==================================================
0x1B45 Almanac - "Sun"
0x1CFB Almanac - "Sunrise"
0x1DDF Almanac - "Sunset"
0x1E70 Almanac - "Moon"
0x1F42 Almanac - "Moon Phase"
0x2025 Almanac - "Moon Age"
0x20EF Almanac - "Moon Full"
0x21BA Almanac - "Moon New"
0x243D Almanac - "Moon Graphic"
0x4445 Display Options - "OK" Button Text
0x7379 Warning Screen - "OK" Button Text
0xF68B Map Status Bar - Outline
0xFBD0 Map Status Bar - "ETA"
0xFCC4 Map Status Bar - "REM"
0xFDBD Map Status Bar - "DEST
0xFE9B Map Status Bar - "SPD"
0x10952 Map - Top Bar Text
0x10D20 Map - Distance to Turn
0x110E7 Map - Bottom Directions Bar
0x1138C Map - Bottom Directions Bar Text
0x1195B Map - Menu Button Text
0x19D89 Dialog Windows - Background Color
0x1AA3E Dialog Text - Background Color
0x2AEC1 Current Dest - Avoid Roads - "Nav" Button Text
0x2AEE8 Current Dest - Avoid Roads - "Avoid" Button Text
0x2AF12 Current Dest - Avoid Roads - "Clear" Button Text
0x2AF3C Current Dest - Avoid Roads - "Reset" Button Text
0x2B929 Current Dest - Avoid Roads - Text Area "Shadow"
0x2BA2A Current Dest - Avoid Roads - Highlighted
0x2BA41 Current Dest - Avoid Roads - Highlighted Text
0x2BA4D Current Dest - Avoid Roads - Not Selected
0x2BCFE Current Destination - Avoid - Avoided
0x2C1E9 City Select OSK - "OK" Button Text
0x2C24B City Select OSK - NumPad Buttons Text (x2)
0x2C26F City Select OSK - Alpha Buttons Text (x2)
0x2C295 City Select OSK - "DEL" Button Text
0x2C8A6 City Select OSK - Top Area Background
0x2EA6A Current Loc - Text Area "Shadow"
0x2EC69 Current Loc - "Save" Button Text
0x2FB7E Current Dest - Detour - "Distance to Avoid"
0x2FE8A Current Dest - Detour - "2 mi" Button Text
0x2FEB1 Current Dest - Detour - "45 mi" Button Text
0x2FEDB Current Dest - Detour - "91 mi" Button Text
0x2FF05 Current Dest - Detour - "Reset" Button Text
0x30DD0 Destination - POI - Food OSK - "OK" Button Text *(correction)
0x30E32 Destination - POI - Food OSK - NumPad Buttons Text (x2)
0x30E5B Destination - POI - Food OSK - Buttons Text (x2)
0x30E7C Destination - POI - Food OSK - "DEL" Button Text
0x313E6 Destination - POI - Food OSK - Top Area Background
0x32CF8 Destination - Address Input - State Name
0x32E31 Destination - Address Input - "Change State" Button Text
0x32E53 Destination - Address Input - "City First" Button Text
0x331E1 Destination - "Current Destination"
0x334A7 Destination - "Demo" Button Text
0x334C9 Destination - "Avoid Road" Button Text
0x334F3 Destination - "Stop Over" Button Text
0x3351D Destination - "Detour" Button Text
0x33547 Destination - "Clear Route" Button Text
0x35A2F Menu - "Destination" Button Text
0x35A51 Menu - "Itinerary" Button Text
0x35A7B Menu - "Shortcuts" Button Text
0x35ACC Menu - "Settings" Button Text
0x35B74 Menu - "Volume" Button Text
0x35B87 Menu - "System Info" Button Text
0x362C1 Destination - POI - Attractions - "Select All" Button Text
0x362E3 Destination - POI - Attractions - "Amusement Park" Button Text
0x3630D Destination - POI - Attractions - "Casino" Button Text
0x36337 Destination - POI - Attractions - "Convention Center" Button Text
0x36361 Destination - POI - Attractions - "Museum" Button Text
0x3638B Destination - POI - Attractions - "Performing Arts" Button Text
0x363B5 Destination - POI - Attractions - "Staduim" Button Text
0x363DF Destination - POI - Attractions - "Tourist Attractionsaction" Button Text
0x36409 Destination - POI - Attractions - "Tourist Info" Button Text
0x36433 Destination - POI - Attractions - "Winery" Button Text
0x369EE Destination - POI - Business - "Select All" Button Text
0x36A10 Destination - POI - Business - "ATM" Button Text
0x36A3A Destination - POI - Business - "Bank" Button Text
0x36A64 Destination - POI - Business - "Business Facility" Button Text
0x36A8E Destination - POI - Business - "Grocery Store" Button Text
0x36AB8 Destination - POI - Business - "Shopping" Button Text
0x36FDE Destination - POI - Government - "Select All" Button Text
0x37000 Destination - POI - Government - "City Hall" Button Text
0x3702A Destination - POI - Government - "Higher Education" Button Text
0x37054 Destination - POI - Government - "Library" Button Text
0x3707E Destination - POI - Government - "School" Button Text
0x3751E Destination - POI - Emergency - "Select All" Button Text
0x37540 Destination - POI - Emergency - "Hospital" Button Text
0x3756A Destination - POI - Emergency - "Police" Button Text
0x3841E Destination - POI - Recreation - "Select All" Button Text
0x38440 Destination - POI - Recreation - "Golf Course" Button Text
0x3846A Destination - POI - Recreation - "Marina" Button Text
0x38494 Destination - POI - Recreation - "Park" Button Text
0x384BE Destination - POI - Recreation - "Ski Resort" Button Text
0x38AD1 Destination - POI - Transportation - "Select All" Button Text
0x38AF3 Destination - POI - Transportation - "Airport" Button Text
0x38B47 Destination - POI - Transportation - "Bus Station" Button Text
0x38B71 Destination - POI - Transportation - "Ferry" Button Text
0x38B9B Destination - POI - Transportation - "Gas Station" Button Text
0x38BC5 Destination - POI - Transportation - "Parking" Button Text
0x38BEF Destination - POI - Transportation - "Car Rental" Button Text
0x38C19 Destination - POI - Transportation - "Train" Button Text
0x3A6DE Settings - "Route Options" Button Text
0x3A700 Settings - "Display Options" Button Text
0x3A72A Settings - "Speed Alert" Button Text
0x3A7A8 Settings - "GPS Info" Button Text
0x3AABE Shortcuts - "Go Home" Button Text
0x3AAE0 Shortcuts - "ATM" Button Text
0x3AB34 Shortcuts - "Gas" Button Text
0x3AB5E Shortcuts - "Hospital" Button Text
0x3AB88 Shortcuts - "Parking" Button Text
0x3ABB2 Shortcuts - "Restaurant" Button Text
0x3ABDC Shortcuts - "Tourist Info" Button Text
0x3ADF0 State Select OSK - "OK" Button Text
0x3AE52 State Select OSK - NumPad Buttons Text (x2)
0x3AE76 State Select OSK - Alpha Buttons Text (x2)
0x3AE9C State Select OSK - "DEL" Button Text
0x3B446 State Select OSK - Top Area Background
0x3CF21 Volume - "Test" Button Text
0x3CF43 Volume - "Mute" Button Text
0x3CFB5 Volume - "OK" Button Text
0x52408 Most Non-OSK - Shadow
0x52503 Most Non-OSK - Item Highlights
0x5251A Most Non-OSK - Highlighted Text
0x52526 Most Non-OSK - Non-Highlighted Items Background
0x56AC2 Button Transparency
0x5903B Destination - "Nav" Button Text
0x59062 Destination - "Map" Button Text
0x59089 Most Screens - "DEL" Button Text
0x5AD40 GPS Info - Text Background
0x5B0DE GPSInfo - Time Info
0x5B43B GPSInfo - Lat Lon Info
0x5B5B7 GPSInfo - Alt Info
0x5B780 GPSInfo - Speed Info
0x5B838 GPSInfo - Sats Info
0x5D74E Itinerary - "Add" Button Text
0x5D77C Itinerary - "Move Up" Button Text
0x5D7A6 Itinerary - "Move Down" Button Text
0x5E5A4 OSK - Highlighted Item
0x5E5AC OSK - Highlighted Item Text
0x5E5BF OSK - Non-Highlighted Items Background
0x62A16 Guidance Map - Left side Bar
0x62A47 Guidance Map - Right side Bar
0x62A7F Guidance Map - Bottom Status Bar
0x62DEC Guidance Map - Top Status Bar Text
0x63F71 Destination - POI - "Business Shopping" Button Text
0x63F93 Destination - POI - "Education Govt" Button Text
0x63FBD Destination - POI - "Emergency" Button Text
0x63FE7 Destination - POI - "Hotel" Button Text
0x64011 Destination - POI - "Recreation" Button Text
0x6403B Destination - POI - "Restaurant" Button Text
0x64065 Destination - POI - "Transportation" Button Text
0x6408F Destination - POI - "Attraction" Button Text
0x64240 POI OSK - "OK" Button Text
0x642A2 POI OSK - NumPad Buttons Text (x2)
0x642C6 POI OSK - Alpha Buttons Text. (x2)
0x642EC POI OSK - "DEL" Button Text
0x65076 POI OSK - Top Area Background
0x6A307 POI Select - State Name Text
0x6A3C4 POI Select - Distance Text
0x6CAD1 Route List Highlighted Item
0x6E6E6 Street Name OSK - "OK" Button Text
0x6E748 Street Name OSK - NumPad BtnsText (x2)
0x6E764 Street Name OSK - Alpha Buttons Text (x2)
0x6E792 Street Name OSK - "DEL" Button Text
0x6ED73 Street Name OSK - Top Area Background
0x71800 Speed Alert Keypad - Numpad Buttons Text. (x2)
0x71824 Speed Alert - Alpha Btns (x2) (almost useless)
0x7184A Speed Alert Keypad - "DEL" Button Text
0x71F41 Speed Alert Keypad - "OK" Button Text
0x7507C Settings->Options - Small Buttons Text
0x76A89 Trip Info - Text
0x78711 OSK - Top-Bar Text
0x84126 Map - Daytime Street Name Color (see above)
==================================================
RED = Single DWORD Color locations. 4 Hex bytes in RGB0 format.
BLUE = DWORD+"05"+DWORD Color locations. Set first 4 bytes to 0's. Skip over "05". Set second 4 bytes to color in RGB0 format.
pb