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"
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
0x2C1E9 City Select OSK - "OK" Button Text
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 Current Dest - Button 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
0x3ADF0 State Select OSK - "OK" Button Text
0x3AE9C State Select OSK - "DEL" Button Text
0x52503 Most Non-OSK Item Highlights
0x56AC2 Button Transparency
0x5AD40 GPS Info - Text Background
0x5E5A4 OSK - Highlighted Item
0x5E5AC OSK - Highlighted Item Text
0x5E5BF OSK - Non-Highlighted Items Background
0x62A16 Left side Guidance Bar
0x62A47 Right side Guidance Bar
0x62A7F Bottom Guidance Status Bar
0x64240 POI OSK - "OK" Button Text
0x642EC POI OSK - "DEL" Button Text
0x6A307 POI - State Name
0x6A3C4 POI - Distance
0x6CAD1 Route List Highlighted Item
0x6E6E6 Street Name OSK - "OK" Button Text
0x6E792 Street Name OSK - "DEL" Button Text
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)
==================================================
pb