Switch to full style
Post a reply

How to override skin files

Wed Oct 22, 2014 3:47 pm

Say I want to override a skin file, e.g. variable_def.ui.

I figured I just drop it in the ux folder on the root of Primo, but nope. Any ideas?

Re: How to override skin files

Wed Oct 22, 2014 3:54 pm

If your trying to stop a skin that is generating an error, from loading, just rem out the entry in /save/profile/01/system.ini

Re: How to override skin files

Wed Oct 22, 2014 3:56 pm

No. I want to override one of the skin files with my own. Like overriding speedcam strips etc. I would prefer not to edit the zip file, if it can be done via a folder.

Re: How to override skin files

Wed Oct 22, 2014 4:55 pm

You may find the file you want to override is in several places within the skin, you may need to recreate the folder structure and all the files in the ux folder.

Re: How to override skin files

Thu Oct 23, 2014 9:12 am

So, you make a folder called ux in the root of Primo, then you recreate the entire folder structure? I've actually done that but it didn't seem to work hmm :(

Re: How to override skin files

Thu Oct 23, 2014 4:28 pm

The section listed below is from \save\profiles\01\system.ini on one of my Primo GPS's.

[interface]
collect_statistics="1"
current_day_color_original_name="COLORSCHEME~Topographic elevation colors"
current_night_color_original_name="COLORSCHEME~GJ_AK-1.3 - Night"
theme="skin\gjak_1.08.zip"
theme_day="skin\gjak_1.08.zip"
theme_night="skin\gjak_1.08.zip"

If I was trying to override the skin default, I'd start here.

Re: How to override skin files

Thu Oct 23, 2014 4:38 pm

OK, I'm getting the impression it might just be easier to fork off from decent skin in the decent skin zip file.

Bizarre as I thought dropping files in ux folder overrides them. Oh well.

Thanks :)

Re: How to override skin files

Thu Oct 23, 2014 7:22 pm

If I remember correctly a branding.zip will override the data.zip and the skin you are using, no use of course if the skin you are using is of the branding.zip type.

Re: How to override skin files

Thu Oct 23, 2014 7:35 pm

iGO looks for a file in the following order and always takes the first one that it finds:

1. direct folder structure
2. inside SKIN.ZIP
3. inside BRANDING.ZIP
4. inside DATA.ZIP


And to even add more info, settings are in the following order:

1. SYS.TXT (overrides everything)
2. save\SYSTEM.INI
3. [DATA.ZIP]\project_config\igo8_generic.ini (or whatever project is set in SYS or EXE)
4. [DATA.ZIP]\config\devices\{my_device}.ini

Re: How to override skin files

Fri Oct 24, 2014 12:33 pm

hmm, well, putting the files in ux/UI_IGO9..... didn't work at all. It just totally ignored them.

So I think I'm just going to put them in the skin.zip file which is a shame because it means I've got to fork the skin. If skin comes before branding then that's what I'll have to do.

Shame.
Post a reply