How to override skin files   

How to override skin files

Postby Skezza » 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?
Skezza offline


Senior Member



 
Joined: Mon Jul 18, 2011 11:55 am
Posts: 331
Has thanked: 1 time
Been thanked: 21 times

Re: How to override skin files

Postby dohcacr » 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
dohcacr offline


Junior Member



 
Joined: Fri Apr 22, 2011 3:45 pm
Posts: 17
Location: NW Georgia
Has thanked: 3 times
Been thanked: 1 time

Re: How to override skin files

Postby Skezza » 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.
Skezza offline


Senior Member



 
Joined: Mon Jul 18, 2011 11:55 am
Posts: 331
Has thanked: 1 time
Been thanked: 21 times

Re: How to override skin files

Postby Fatboyfun » 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.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Re: How to override skin files

Postby Skezza » 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 :(
Skezza offline


Senior Member



 
Joined: Mon Jul 18, 2011 11:55 am
Posts: 331
Has thanked: 1 time
Been thanked: 21 times

Re: How to override skin files

Postby dohcacr » 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.
dohcacr offline


Junior Member



 
Joined: Fri Apr 22, 2011 3:45 pm
Posts: 17
Location: NW Georgia
Has thanked: 3 times
Been thanked: 1 time

Re: How to override skin files

Postby Skezza » 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 :)
Skezza offline


Senior Member



 
Joined: Mon Jul 18, 2011 11:55 am
Posts: 331
Has thanked: 1 time
Been thanked: 21 times

Re: How to override skin files

Postby morco » 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.
morco offline


Junior Member



 
Joined: Fri Jan 20, 2012 9:28 pm
Posts: 11
Has thanked: 1 time
Been thanked: 4 times

Re: How to override skin files

Postby chas521 » 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
If it ain't broke don't fix it!
ALWAYS BACK-UP YOUR FILES/FOLDERS BEFORE MAKING EDITING CHANGES!

Please do NOT post any thanks. Simply press the hand icon with the "thumb up" which is the thank you button.
chas521 offline


User avatar Ex Moderator



 
Joined: Sat May 15, 2010 8:50 pm
Posts: 4549
Location: Long Island, NY
Has thanked: 64 times
Been thanked: 1370 times

Re: How to override skin files

Postby Skezza » 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.
Skezza offline


Senior Member



 
Joined: Mon Jul 18, 2011 11:55 am
Posts: 331
Has thanked: 1 time
Been thanked: 21 times


Return to General Discussions about iGO core

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 9 guests