Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - Changing road colours?
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

Changing road colours?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> CoPilot Live
View previous topic :: View next topic  
Author Message
prusling
Regular Visitor


Joined: Jul 28, 2004
Posts: 61
Location: Poole, Dorset, UK

PostPosted: Wed Oct 20, 2004 7:38 am    Post subject: Changing road colours? Reply with quote

It seems to be possible to adjust various features of CP5 in the cfg files, and these include the colours in which roads are displayed.

I'd like to use the more conventional colours for UK roads (blue for motorways, red for trunk roads); has anyone worked out the values for different colours?

Cheers, Peter
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Wed Oct 20, 2004 7:45 pm    Post subject: Reply with quote

Not sure I understand what you are asking for. Do you need to know the structure of the entries in the styles.cfg or do you want to know the color values?
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
KenS
Regular Visitor


Joined: Oct 25, 2004
Posts: 73

PostPosted: Sun Oct 31, 2004 9:53 pm    Post subject: Reply with quote

Looking at the file it seems primary colours can be named (RED, GREEN, BLUE, BLACK, WHITE) otherwise the last 6 digits in the hex code are RGB (Red Green Blue) codes. For example for purple you need red and blue which is coded in hex as 0x00ff00ff where 0x means it is a hex code, the first 00 is just a filler, the first ff means full red, the second 00 means no green and the last ff means full blue. Put it together and you get purple (or Magenta for the techncially inclined).
_________________
--Ken

HP iPAQ h2210 ROM 1.10.07 ENG
Windows CE 4.20
Sandisk Ultra II SD 512Mb
Haicom 303MMF and BT-401 slipper
Copilot Live 6.0.0.68
Back to top
View user's profile Send private message
prusling
Regular Visitor


Joined: Jul 28, 2004
Posts: 61
Location: Poole, Dorset, UK

PostPosted: Sat Nov 06, 2004 3:52 am    Post subject: Reply with quote

Thanks, KenS

Spot on - and with the help of a great utility at http://www.proffs.nu/rgblab.htm I now have blue motorways, red A roads, better colours on my PDA for park areas and water, and I use the background colour from the PC version on my PDA which is less glaring. I also have road names that are smaller but more readable, although its frustrating that the box they appear in is larger than necessary, and I can't see a way to fix this.

If anyone wants to try this out, I can tell you the values I changed.

I think the parameterisation of CoPilot is a great feature; obviously one needs to take care when editing the files, and you need to be able to revert to safe values.

Has anyone discovered any other end-user tailoring options - e.g. in the preferences file?

Cheers, Peter
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sat Nov 06, 2004 4:48 am    Post subject: Reply with quote

yes - have a look at the road speed tweaking thread.
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
gripp
Regular Visitor


Joined: Oct 06, 2004
Posts: 178
Location: London

PostPosted: Sat Nov 06, 2004 1:56 pm    Post subject: Reply with quote

>> If anyone wants to try this out, I can tell you the values I changed.

I would be very interested to see a copy of your styles.cfg file.
_________________
Nokia E65 & TT Nav6
Back to top
View user's profile Send private message Visit poster's website
Skippy
Pocket GPS Verifier
Pocket GPS Verifier


Joined: 24/06/2003 00:22:12
Posts: 2946
Location: Escaped to the Antipodies! 36.83°S 174.75°E

PostPosted: Sat Nov 06, 2004 3:18 pm    Post subject: Reply with quote

Yeah, I have done this on my smartphone.

Motorways are now blue, A roads Green and B roads Red. Residental streets are now thin and black rather than the low contrast grey they used to be. I also made the roads a lot thinner which looks nicer in my opinion.

The colour scheme is reversed to what you would think it is. You can change the numbers by altering the colour name or the 0x00BBGGRR value where RR GG and BB are the hex values between 00 and FF denoting the percentage of that colour to use. I don't know what the first 00 does. Anyone?

I will put a copy of my styles.cfg up on a web page if there is any interest. I guess there should be a disclaimer that messing around with your .cfg files could potentially break your system. So back them up first! DOH! 8O
_________________
Gone fishing!
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Sat Nov 06, 2004 5:00 pm    Post subject: Reply with quote

Skippy wrote:
The colour scheme is reversed to what you would think it is. You can change the numbers by altering the colour name or the 0x00BBGGRR value where RR GG and BB are the hex values between 00 and FF denoting the percentage of that colour to use. I don't know what the first 00 does. Anyone?


The programming is done in DWORDs - double words, or four bytes. hence the leading empty byte - just to fill the DWORD structure properly. I am pretty sure that 0xBBGGRR would work, too.

The BGR colour order is standard on the Pocket PC, and to confuse matters even more these are cramped into two bytes (not the three as in the DWORD) - this results in a color count of 16 bit or 65536 rather than 24 bit or 16 million . So a typical pixel on the PocketPC has BBBBBGGGGGGRRRRR bits.

This also means that your initial colour coding may not work out completely since certain bits off your colour values will be chopped off, like this (binary representation of the DWORD)

00000000BBBBB000GGGGGG00RRRRR000
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
prusling
Regular Visitor


Joined: Jul 28, 2004
Posts: 61
Location: Poole, Dorset, UK

PostPosted: Sat Nov 06, 2004 6:50 pm    Post subject: Reply with quote

Please pm me your e-mail address if you want a copy of my styles file.

Pete
Back to top
View user's profile Send private message
prusling
Regular Visitor


Joined: Jul 28, 2004
Posts: 61
Location: Poole, Dorset, UK

PostPosted: Sun Nov 07, 2004 9:23 am    Post subject: Reply with quote

Changes I made (pm me your e-mail for the whole file)

[Basic\LandArea] from white to slightly darker colour used in PC version
"BrushColor"=0x00ffffff to "BrushColor"=0x00d2e9e9
"PenColor"=0x00ffffff" to PenColor"=0x00d2e9e9

[Basic\ParkAreas] to a darker green
"BrushColor"=0x00b3fbd5 to "BrushColor"=0x0086ff86

[Basic\RailLines] from grey to black but doesn’t seem to have any effect
"PenColor"=0x00c0c0c0" to PenColor"="Black"

[Basic\Road\DividedThin] “A” roads outer to Red
"PenColor"=0x0025a2f2" to PenColor"="Red"
[Basic\Road\DividedThin\DividedThickInner] and inner to Pink
"PenColor"=0x008ff8ff" to PenColor"=0x008080ff

[Basic\Road\EuropeMotorway] Legend smaller but bold
"FontHeight"=9" to FontHeight"=8
"FontWeight"="REGULAR" to "FontWeight"="Bold"

[Basic\Road\EuropeState] “A” road legend changed
"BrushColor"=0x0060a060 to "BrushColor"="Red"
"FontColor"="YELLOW" to "FontColor"="White"
"FontHeight"=9" to FontHeight"=8
"FontWeight"="REGULAR" to "FontWeight"="Bold"

[Basic\Road\EuropeTertiary] “B” road legend changed
"BrushColor"="WHITE" to "BrushColor"=0x0040a2cf
"FontColor"="BLACK" to "FontColor"="White"
"FontHeight"=9 to "FontHeight"=8
"FontWeight"="REGULAR" to "FontWeight"="Bold"

[Basic\Road\InterstateThin] Motorways outer to Blue
"PenColor"=0x000c43e0 to "PenColor"="blue"
[Basic\Road\InterstateThin\InterstateThickInner] and inner to pale blue
"PenColor"=0x0051f1ff" to PenColor"=0x00ff8080

[Basic\UrbanAreas] From white to grey but doesn’t seem to have any effect
"BrushColor"=0x00ffffff to "BrushColor"=0x00c0c0c0
"PenColor"=0x00ffffff to "PenColor"=0x00c0c0c0

[Basic\Water] to a darker blue
"BrushColor"=0x00f8cdb8 to "BrushColor"=0x00ffdb90
[Basic\WaterAreas] to a darker blue
"BrushColor"=0x00f8cdb8 to "BrushColor"=0x00ffdb90
Back to top
View user's profile Send private message
Damian_27
Occasional Visitor


Joined: Oct 18, 2003
Posts: 15

PostPosted: Sun Nov 07, 2004 9:00 pm    Post subject: Reply with quote

Hi,

This seems a great idea...but (for the novice) how do you do it? Do you copy the file onto a PC and paste back over the master? If so, which application do you edit the file in?

I guess the worst case if I get it wrong is to have to reinstall Co-Pilot and its settings. Would be worth the risk to get the road colours more like the traditional road mapping colours.

Any info greatly appreciated.

Thanks,

Damian
Back to top
View user's profile Send private message
gripp
Regular Visitor


Joined: Oct 06, 2004
Posts: 178
Location: London

PostPosted: Sun Nov 07, 2004 10:07 pm    Post subject: Reply with quote

Make a backup copy of your original styles.cfg.
Then copy the styles.cfg from the PDA to a temp directory on the PC. Edit it there with Notepad. Then copy the edited file back to the original directly on the PDA.
I've been experimenting myself this evening and it's really not too frightening!!
_________________
Nokia E65 & TT Nav6
Back to top
View user's profile Send private message Visit poster's website
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Mon Nov 08, 2004 1:05 am    Post subject: Reply with quote

Alternatively you can use Pocket Notepad to do the changes directly on the Pocket PC.
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
Robin2
Lifetime Member


Joined: Nov 24, 2003
Posts: 1441
Location: Swansea

PostPosted: Mon Nov 08, 2004 9:01 pm    Post subject: Reply with quote

Peter,
Thanks for the details. It worked well on my PDA and looks much nicer. After editing in Notepad and saving, the title of the file is styles.cfg.txt It is necessary to delete the final .txt before overwriting the styles.cfg file in CoPilot.
Have you found out why the grey urban areas and black railway lines don't work?
Robin
Back to top
View user's profile Send private message
Skippy
Pocket GPS Verifier
Pocket GPS Verifier


Joined: 24/06/2003 00:22:12
Posts: 2946
Location: Escaped to the Antipodies! 36.83°S 174.75°E

PostPosted: Tue Nov 09, 2004 1:02 am    Post subject: Reply with quote

Skippy wrote:
Motorways are now blue, A roads Green and B roads Red. Residental streets are now thin and black. The roads a lot thinner.


Here is my config. It's for the day time maps only, I haven't had a chance to have a go at the night maps.

http://www.auckland-services.freeserve.co.uk/styles.cfg

This was fairly quick and dirty, PM me know if you make any significant improvements to it and you want to share!

And don't forget to make a backup of your existing styles.cfg first!
_________________
Gone fishing!
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> CoPilot Live All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.044 (24 Apr 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping