Page 1 of 2 1 2 LastLast
Results 1 to 15 of 30

Thread: Theme file

  1. #1
    Join Date
    Feb 2004
    Location
    UK
    Posts
    24
    Device(s)
    Pana X70
    Carrier(s)
    Orange
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars

    Theme file

    I managed to get some themes out of the .cpk file. I tried to edit it but the numbers on the file don't seam to corespond with any colour scheme (RGB, CMYK, HEX etc)

    Any one have a clue on how to edit the colours?

    Here's the files:

    http://slickdesign.net/panasonic/CherryRed.ptm

    http://slickdesign.net/panasonic/Pink.ptm

    http://slickdesign.net/panasonic/Whickedwhite.ptm

  2. #2
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    11
    Device(s)
    Panasonic X70/p341i
    Carrier(s)
    o2 Germany
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    Yeah - it works! I don't know how, but it does!

    I opende cherryred.ptm and whickedwhite.ptm in a hexeditor to see the differences. Then I substituted 210h-21Fh in the whickedwhite.ptm with the same part in the cherryred.ptm and now we have our first selfmade theme! Not very nice - but it works!

    Changes caused:
    - orange Scrollbar
    - red Operatorname

    until now I can't notice other colorchanges

    Bye S.E.

    P.S.: Now I will search some bearing ;-)
    Attached Files Attached Files

  3. #3
    Join Date
    Feb 2004
    Location
    UK
    Posts
    24
    Device(s)
    Pana X70
    Carrier(s)
    Orange
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars

    Thumbs up

    Very nice. I knew it could be done but didn't know how.

    Now we can make our own colours and we aren't limited to panasonic themes. Nice

  4. #4
    Join Date
    Feb 2004
    Location
    UK
    Posts
    24
    Device(s)
    Pana X70
    Carrier(s)
    Orange
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    Here's one i've made erlier

    http://slickdesign.net/panasonic/NewOrange.ptm

    Right i've tried to find out what each line on my hex editor coresponds to here it is:

    200 - top line colours

    210 - scrool bar

    220 - background

    230 - bottom line

    240 -Clock and Menu Background After E)

    within these there may be others.

  5. #5
    Join Date
    Feb 2004
    Location
    UK
    Posts
    24
    Device(s)
    Pana X70
    Carrier(s)
    Orange
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    View all files here to use for more colours to create your own

    http://slickdesign.net/panasonic

  6. #6
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    11
    Device(s)
    Panasonic X70/p341i
    Carrier(s)
    o2 Germany
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    I found the bearing ;-)

    normaly 16-bit-colors are coded like this:

    rrrr rggg gggb bbbb

    5 bit for red and blue -> 32 pos.
    6 bit for grenn -> 64 pos.

    2^(5+5+6) = 64k

    but in the theme-files byte 1 and 2 are permuted:

    => gggb bbbb rrrr rggg

    g -> lowest bit for green
    g -> highest bit for green

    red: 00F8 (000,0 - 0000 - 1111 - 1,000)
    green: E007 (111,0 - 0000 - 0000 - 0,111)
    blue: 1F00 (000,1 - 1111 - 0000 - 0,000)

    have a lot of fun

    S.E.

  7. #7
    Join Date
    Apr 2004
    Posts
    158
    Device(s)
    Nokia 7610
    Carrier(s)
    Telmore (Danish)
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars

    How is it u edit?

    In which program is it that u edit the colors like u guys do?
    When i open it in notepad the only thing i can see is this : gold.xml.bin

  8. #8
    Join Date
    Feb 2004
    Location
    UK
    Posts
    24
    Device(s)
    Pana X70
    Carrier(s)
    Orange
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    You can't Edit it with notepad. You need an Hex Editor.
    Type hex editor in google and download one u may fancy.

    It isn't easy to change colours. At the moment i can only use colours from other theme files that come with the phone.

    Maybe there is a RGB converter that can convert colours to the 4 hex character set that seobsnoc found out.

    i can make colours but only out of the blue. using the hex changer e.g 0 to F (0 1 2 3 4 5 6 7 8 9 A B C D E F)

    I think some one can create a programme that can make things easy for every one else, once we figure things out.
    I know that each colour (e.g. 00 F8) is associated with something in the phone e.g. clock, network name, menu bg, titles, scroll bar etc.

  9. #9
    Join Date
    Nov 2002
    Posts
    170
    Device(s)
    Panasonic X700
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    Great job seobsnoc and the rest

    Any other themes made for us ???

  10. #10
    Join Date
    Oct 2004
    Posts
    11
    Device(s)
    X70
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars

    help me

    i am not so clear which codes with can change themes' color and how can i change it to the color i want

    who can tell me?

    thanx a lot

  11. #11
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    11
    Device(s)
    Panasonic X70/p341i
    Carrier(s)
    o2 Germany
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    okay,

    yesterday I have created a script to convert colors between 24bit and 16bit - especially for X70.

    -> 24bits/3 = 8bits^2 = 256 posibilities for red, green, blue
    256*256*256 = 16,7 Mio = 24bit

    -> 16bits/3 = 5,333bits for r g b ?!, no! -> 5bits for red 6bits for green and 5bits for blue

    so in 24bit you have 8bits for red, but in 16bit only 5bits:
    8^2 / 5^2 <=> 256/32 = 8 => each red-value in 16bit corresponds eight values in 24 bit

    short: divide the hex-value through 8 for red and blue, green through 4 because of the 6bits


    example:

    #ABCDEF ' light blue

    AB hex = 171 dez / 8 = 21 dez = 15 hex = 10101 bin
    CD hex = 205 dez / 4 = 51 dez = 33 hex = 110011 bin
    EF hex = 239 dez / 8 = 29 dez = 1D hex = 11101 bit

    1010111001111101 bin = AED7 hex
    and because of panasonic you have to swap AE and D7 => D7AE hex (0111110110101110)

    #ABCDEF 24bit -> D7AE 16bit ;-)

    If I have time next week I would creat a theme editor, but there for I need some help, because I want to built an exact perview.
    Would somebody paint screens pixel by pixel in paint ;-) I have allready done it for the mainscreen. Also need: calendar, filebrowser, ...

    S.E.
    Last edited by seobsnoc; 10-27-2004 at 03:15 PM.

  12. #12
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    11
    Device(s)
    Panasonic X70/p341i
    Carrier(s)
    o2 Germany
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    -
    Attached Images Attached Images  

  13. #13
    Join Date
    Oct 2004
    Posts
    11
    Device(s)
    X70
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    seobsnocCwhat can i do for you?
    although i am not a master in creating the software,but i wish i can help you in the other area

  14. #14
    Join Date
    Oct 2004
    Posts
    11
    Device(s)
    Panasonic P341i
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    Hi guys
    I would like to help,too!
    I do not have very high skill in programming but maybe I can help on other tasks!

  15. #15
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    11
    Device(s)
    Panasonic X70/p341i
    Carrier(s)
    o2 Germany
    Feedback Score
    0
    vBActivity - Stats
    vBActivity - Bars
    the color-converter is online:

    http://www.x70themes.de.vu

    S.E. ;-)
    Last edited by seobsnoc; 10-29-2004 at 11:11 AM.

Page 1 of 2 1 2 LastLast

Bookmarks