Google
 
Web www.howardforums.com
Pages: 1

Theme file

(Click here to view the original thread with full colors/images)


Posted by: Slickdesign

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



Posted by: seobsnoc

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 ;-)



Posted by: Slickdesign

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



Posted by: Slickdesign

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.



Posted by: Slickdesign

View all files here to use for more colours to create your own

http://slickdesign.net/panasonic



Posted by: seobsnoc

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.



Posted by: detro

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



Posted by: Slickdesign

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.



Posted by: The Joker

Great job seobsnoc and the rest

Any other themes made for us ???



Posted by: E.L.

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



Posted by: seobsnoc

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.



Posted by: seobsnoc

-



Posted by: E.L.

seobsnocCwhat 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



Posted by: Lloyd_Banks

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!



Posted by: seobsnoc

the color-converter is online:

http://www.x70themes.de.vu

S.E. ;-)



Posted by: E.L.

to seobsnoc:

the site you gave can not open
please check it
thanx a lot



Posted by: Lloyd_Banks

This Converter is great!

But now i want to know how to use it!

For example:
I want to creat a theme out of Aqua Blue, so i open the ptm file with a hex editor scroll down to line 200 (because it is said to be the top line colour) read ff b7 7f 03. I type b77f03 in the converter and it shows me some kind of light brown!But in this theme there isn't any similar colour!What am I doing wrong?Is the top line colour a mixed colour out of some colours?

Thanks for helping!



Posted by: seobsnoc

in each line 200h, 210h ... 240h you can find 8 colors - split always after four hex-lettes!

-> 200h: (1)FFB7 (2)7F03 (3)0000 (4)1F00 (5)FFFF (6)0A00 (7)FFDF (8)1F00

to convert these colours in 24-bit to use them in a graphic programm you type one of these values for exampe FFB7 in the right side of the converter and if you have used 4 letters from (0-9) and (a-f) you will see the result like: B3FFFF hex24 after clicking on "convert" ...

S.E.

P.S.: There are about 40 colors, that I will reassign now.



Posted by: Lloyd_Banks

Thanks for the answer!
Now i know how to use it!

Now it is on time to find out what ich color stands for!

I'll try to get some experience on this and share m results here!

Is it possible to use your converter offline?



Posted by: seobsnoc

no - you can't use the editor offline because a perl-script is running in the background ...

but now I'am able to create images of the theme-files, so I only have to copy a .ptm-file in a directortory and start a script - see link at the end of the post!

also I need some help, because to make it perfect somebody should copy the 1,6 MB image (see at the end) pixel by pixel, because wenn you choose a dark background for the mainmenu you have artefacts...


and if somebody is good in javascript + layers, please contact me, because the actual script needs to much performance and you can't have a real time perview ...

screens: http://www.x70themes.de.vu/x-other/draw-it.htm

BIG 1,6 MB: http://www.x70themes.de.vu/x-other/to-paint.jpg

S.E.

P.S.: Two new themes attached ;-)



Posted by: The Joker

Excellent work!!!

Keep it up guys!!!!



Posted by: Lloyd_Banks

Nice themes!
Do you already know what each line in the hex editor stands for?
Please post it!

to The Joker!
I noticed that you got an P341i!
Do you know how to install applikations on the P341i via bluetooth,infrared or usb cabel?
Or if it is even possible?



Posted by: seobsnoc

now a "color-finder" programmed in JavaScript,

if you move your mouse over the tabelle, you see it somewhere blinking ;-)

http://www.x70themes.de.vu/color-finder.htm

S.E.

notice: you need active JavaScript

tested with Internet Explorer 6.0, Netscape 7.1 and Firefox 0.9



Posted by: Lloyd_Banks

Very very nice!
It's a great programm!
I think i 'll start to make some themes and try to upload it here!
Thank you very much!

With Opera it does work ,too!



Posted by: Lloyd_Banks

Hi @ all
I found what in line 230 part 3 is! It is a marked holiday in the calendar!
Here are two themes I created right now!



Posted by: The Joker

Quote:
Originally posted by Lloyd_Banks
to The Joker!
I noticed that you got an P341i!
Do you know how to install applikations on the P341i via bluetooth,infrared or usb cabel?
Or if it is even possible? [/B]


Unfortunately the P341i supports Doja Java which is a kind of Japanese Java games designed specifically for the imode handsets. The only way to load them to the phone is via imode... by paying of course...

I tried loading several Java games from other mobiles but nothing works.

So it is not possible...

Thanx for the themes!!



Posted by: E.L.

now you know how to change the color of themes,then can you remove the operator logo?



Posted by: Sonn_ee

Hello....i just got member becase of this thread...
i don't manage to make themes but i'm really happy with the once you guys have made...so i wonder if you can make some new one?? is it possible to put in a picture instead of colours?? thanks for the help in advance

Sonn_ee



Posted by: ju5

How do i use the themes you guys created in my mobile phone???Do i just upload the theme file?



Posted by: Sonn_ee

yes you just do that





vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2008 - Created by Stefan "Xenon" Kaeser