View previous topic :: View next topic |
Author |
Message |
BaggieBoy Lifetime Member

Joined: Apr 13, 2005 Posts: 193
|
Posted: Thu Jan 14, 2010 6:30 pm Post subject: New CP8 camera icon bug? |
|
|
Not sure if this is an Android issue only...
After installing the latest version (8.0.0.571) and loading the PGPSW consolidated by type database, all camera types are now displayed using the orange Specs icon. I assumed this was because the last type I loaded was Specs but I then removed the Mobile files and reloaded them. The camera icon is still the Specs one however.
Anyone else seeing this? |
|
Back to top |
|
 |
FrequentFlyer Lifetime Member

Joined: Jun 12, 2006 Posts: 964 Location: London
|
Posted: Sun Jan 17, 2010 12:45 pm Post subject: |
|
|
I think I would post this in the camera forum.... |
|
Back to top |
|
 |
BaggieBoy Lifetime Member

Joined: Apr 13, 2005 Posts: 193
|
Posted: Sun Jan 17, 2010 12:49 pm Post subject: |
|
|
As far as I know it's a CP8-only problem, I don't think the camera forum would be the right place for it. |
|
Back to top |
|
 |
martoto Occasional Visitor

Joined: Apr 14, 2009 Posts: 2
|
Posted: Sun Jan 24, 2010 2:58 am Post subject: Re: New CP8 camera icon bug? |
|
|
BaggieBoy wrote: | Anyone else seeing this? | I have the same issue. But I think it is not getting any icon. You just see the default speed camera icon for Copilot which is almost the same as specs' one (camera symbol on yellow background). I have not managed to find a way how to work-around this. The Copilot's documentation is completely useless. Now I have absolutely equal speed alerts for every camera kind. On top of that they aren’t directional. Quite annoying I look forward for iGo android release. |
|
Back to top |
|
 |
BaggieBoy Lifetime Member

Joined: Apr 13, 2005 Posts: 193
|
Posted: Mon Feb 15, 2010 5:19 pm Post subject: |
|
|
I seem to have found a solution to this issue. I suspect that when CP8 is processing the associated .png file when a category is being imported, it creates corrupted image files. At runtime CP8 is detecting this and so uses the default safety camera icon.
I discovered that the icons used for each category are located on the SD card at "\copilot\skin\users". For each category it creates several files, for example for the category "pocketgps-uk-gatso" it will create:
cat_poi_usr_pocketgps-uk-gatso_2d.png
poi_usr_pocketgps-uk-gatso_2d.png
poi_usr_pocketgps-uk-gatso_3d.png
It also creates larger versions of these files with "_vga" appended to the name (e.g.: poi_usr_pocketgps-uk-gatso_3d_vga.png), however on my device (HTC Hero) these don't seem to be used.
Looking at the poi_* files, the image seemed to be corrupted, as if it was cut off at the bottom and to the right. However I noticed that there were several older versions of these files with different names. The images in these files looked OK. So I deleted all the current poi_* files and renamed the older files to match the current naming scheme. Now when I fire up CP8 and look at the PGPSW locations it is using the correct PGPSW icons.
I've saved off the now corrected image files as I'm sure CP8 will muck them up again on the next import. |
|
Back to top |
|
 |
nivek22 Lifetime Member

Joined: Mar 09, 2006 Posts: 194 Location: Barnsley, South Yorkshire.
|
Posted: Mon Feb 15, 2010 8:28 pm Post subject: |
|
|
BaggieBoy wrote: | I've saved off the now corrected image files as I'm sure CP8 will muck them up again on the next import. |
I created my own images in the skin folder a while ago, albeit in the wm version. These remain intact when updating the cameras.
When I update the cameras I use any old png matching the catagory names and because the files already exist in the skin directory it uses those.
For the same reason I don't add a png with the gatso catagory and the default icon is used.
I think that the corruption is caused by the icon sizes changing between versions and the POI sizes in the preferences.cfg file not matching the dimensions of the imported icons. |
|
Back to top |
|
 |
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
 |
|