Google
 
Web www.howardforums.com
Pages: 1

Finding V3/E398 .ski file structure

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


Posted by: s5vi

Thanks for
- Zooroo
- Mr_acid
- Chopsu3i
- Pino

They send me this info on ski file.

first number is entry type
0 structure
1 rectangle
2 value
3 boolean value (true/false)
4 color (RGBA)
5 gif info
6 filename

Gif info chained in ski file

5 433 0 3864 0 5: this is gif info 433:id 0ffset 3864:gif size 0: techno.dat
5 434 3864 59 0
5 435 3923 59 0

The dat2gif.exe and update_ski.exe based on this info.

id=42 main menu icon pos (9 icons)

0 42 9 0:this is a structure 42:id 9: 9 items following
1 17 47 63 93 1: this is a rectangle of 1. icon
1 64 47 110 93
1 111 47 157 93
1 17 94 63 140
1 64 94 110 140
1 111 94 157 140
1 17 141 63 187
1 64 141 110 187
1 111 141 157 187 9. icon rect

id=43 main menu focused icon pos (9 icons)

0 43 9
1 17 47 63 93
1 64 47 110 93
1 111 47 157 93
1 17 94 63 140
1 64 94 110 140
1 111 94 157 140
1 17 141 63 187
1 64 141 110 187
1 111 141 157 187
1 44 0 0 175 36
1 45 11 9 165 27


My own investigation continues (analog clock entries):

id=8 clock short hand size (hours)
id=11 clock long hand size (mins)

2 8 12 short hand size=12 pixel 2:this is a value 8:id 12:value
2 11 18 long hand size=18 pixel

If this info not exists (eg.:techno) phone get it from Moto skin.

id=6 clock gif rect
id=7 clock gif offset,size,bank

1 6 119 139 173 192 1:this is rectangle, 6:id, upper left (x=119;y=139) , lower right (x=173;y=192)
5 7 11539 1743 0 5:this is a gif info, 7:id, 11539 offset in dat 1743 gif size 0: Techno.dat

id=9 clock short hand color
id=10 clock short hand shadow

4 9 255 255 255 0 from moto.ski white rgb=255,255,255
4 10 0 0 0 0 from moto.ski black

id=12 clock long hand color
id=13 clock long hand shadow

4 12 255 255 255 0
4 13 0 0 0 0

To be continued..........



Posted by: gulfu

i edited moto skin with new icons now i need to make the ski file
plz decribe how can i make ski files

i have edited moto.dat,moto1.dat,moto2.dat,moto3.dat and moto7.dat

tools i have update_ski.exe
and MotoSkin[1].exe

how to creat a ski file for diifferent dats as i have edited 5 dat files?



Posted by: s5vi

If you mod Moto you can use MotoSkin.exe
to change one gif and ski file updated automagically.
My prg update_ski uses position files
These only for neon/scarlet/Silver

http://www.geocities.com/s5vi/PositionFiles.ZIP

Maybe i create it for moto too.



Posted by: CLERiC_AJ

Do you know where in the SKI file the positions for the Home Icons are, the four icons on the main screen? I dont like how only the Moto skin keeps the icons centered on the screen, other skins shift them left, thanks.



Posted by: s5vi

An example for main menu icon pos mod





Posted by: Neff

Quote:
Originally posted by CLERiC_AJ
Do you know where in the SKI file the positions for the Home Icons are, the four icons on the main screen? I dont like how only the Moto skin keeps the icons centered on the screen, other skins shift them left, thanks.


You can adjust that on my V3:

Settings|Personalise|home Screen|Layout

The options are Left Justified or Centred



Posted by: s5vi

Another new findings:

id=562,563,564,565 4 icon position for main screen
id=566,567,568,569 4 icon position for main screen (focused)

iD=664 GIF FOR RIGHT SOFT BUTTON
id=667 rectangle for right soft button text (pressed)

iD=652 GIF FOR LEFT SOFT BUTTON
id=659 rectangle for left soft button text
id=655 rectangle for left soft button text (pressed)

So ,looks like its possible to make button images larger than original.....
I see also the mini icons on the top of screen (battery,sms,etc...) also stored in ski file this position also moddable (eg: to the bottom of screen like winxp systray)

PS: you can find more entries with my app: ski_explorer.exe
http://www.geocities.com/s5vi/ski_explorer.zip
Screenhots:


At last i complete position files (neon/scarlet/silver/moto) for update_ski.exe
http://www.geocities.com/s5vi/Position_Files.zip
I know it is very uncomfortable and user unfriendly , i plan to write an easy-use frontend later....



Posted by: s5vi

YaGeR started it:
http://www.motoskins.tk/



Posted by: s5vi

http://www.geocities.com/s5vi/Blue_Neon_s5vi.zip

New finding:
Entry order in ski file is NOT important.
You can write new entry at the end of file
If an entry not exists the phone get it from Moto.ski
Eg: clock hand leght
In moto.ski
2 8 12 minute hand lenght
4 9 255 255 255 0 color
4 10 0 0 0 0 shadow
2 11 18
4 12 255 255 255 0
4 13 0 0 0 0
in Neon ski: only colors
4 9 209 91 155 0
4 10 14 65 77 0
4 12 209 91 155 0
4 13 14 65 77 0
My new ski file at the end
2 8 19 loooong hands
2 11 25
6 1015 /a/mobile/picture/Linux_Clock.JPG



Posted by: s5vi

http://www.geocities.com/s5vi/Update_ski2.zip








Posted by: phattbam

how do you use the skins updater?? is there a tutorial to read similar to xlr8's seem edit tutorial??



Posted by: s5vi

first you maust extract gifs with this app
http://www.geocities.com/s5vi/Moto_dat2gif.zip
Then open ski file, update and save



Posted by: gulfu

hey s5vi

how can we edit battery signal (colour) in e398

is it possible with ski explorer?



Posted by: s5vi

sorry ski.explorer is not for editing, just for
explore and discovery ski structure.
I cant find this icon in skin files, so its seems imposibble at this time.



Posted by: gulfu

THANKS

ski explorer is gr8 .hope new version will have a text editor

is it possible for us to make a new ski file ?
size of the icons are set in ski files ,is ther any way the icon size can be increased by editing the ski file?

how can we extract all the files from *.dat
other than gifs?



Posted by: amara80

-



Posted by: jawesfx

alright... we know that if the first no. of the entri for example:

4 10 255 255 255 0

means its an RGBA color... the three 255 are the red, green, and blue, and the last one is alpha which sets opacity/transparency of it, isn't it?

if it is, does it only accepts 2 values, 0 and 1, like a boolean?

well actually, my main problem now is locating 'colors for what elements'... i mean what rgb line will i modify to have a specific color for specific window, background, etc.


thanks for any info

cheers!





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