Author Topic: The .ani file structure .... Animated bootscreens here we come !  (Read 3350 times)

joyrider (OP)

  • *
  • Posts: 220
    • Willems Soft
Okay guys,

while messing around with the patched up unbricker tool we made, i noticed certain firmwares had animated bootscreens. now i didn't yet looking at them until now. The .ani files aren't actually .ani files as we know them in windows but they are a customn format invented by chinachip most probably and are pretty easy to recreate.

The file header is  32 Bytes followed by chunks of image data each with a 16 bytes header. The images itselve are (on the dingoo at least) RAW binary files in 5-6-5  color format so 16 bit's per pixel.

i'll post the info i know :
FILE HEADER: 32 bytes
4 bytes : ID = ANI1
4 bytes : Movie width = 320
4 bytes : Movie Height = 240
4 Bytes : Bits Per Pixel (i think) = 16
4 Bytes : Unknown = 1 (on the dingoo)
4 Bytes : Nr Of Frames ??? = 12
8 Bytes : Creator name

IMAGE HEADER : 16 bytes
4 Bytes : width =  320
4 Bytes : Height = 240
4 Bytes : Unknow = 0
4 Bytes : TimeFrame ??? = 1000

RAW IMAGE DATA : width * height  * (Bits Per Pixel / 8) = 153600 (for a 320x240x16 bit raw image).

So one file consists of 1 FILE HEADER followed by multiple (IMAGE HEADER + RAW IMAGE DATA).

The biggest size i've seen is 12 frames so 1843424 Bytes = 1.75 MB, i don't know what the maximum size can be but it should be safe to stay under the 12 frames limit.


Knowing this it is possible to create a tool that will create a animated bootscreen .ani files  out of say 12 bitmap or png images,

If there is enough intrest i'm willing to create such a tool although it would be a console version (not gui).

or if someone wants to create this go ahead but let me know so that i know i don't have to do it ;)

oh yeah in order to get these boot screens on the dingoo one would have to use either a patched firmware where the bootscreens are saved somewhere accesible wich i think already exists OR use an unbricker tool

cheers

« Last Edit: January 27, 2010, 09:34:10 pm by joyrider »

santino

  • Guest
Re: The .ani file structure .... Animated bootscreens here we come !
« Reply #1 on: January 27, 2010, 09:49:23 pm »
Would be a cool feature, but I think you have more important projects to do? We dont want to waste our best dev at animated bootscreens! :)

Meneer Jansen

  • **
  • Posts: 511
Re: The .ani file structure .... Animated bootscreens here we come !
« Reply #2 on: January 28, 2010, 03:14:39 pm »
O yes baby!  ;D
Finally got me a new Dingoo after I Kentucky ~~::fried::~~ the other one. Yippee! [edit] And lost it!

joyrider (OP)

  • *
  • Posts: 220
    • Willems Soft
Re: The .ani file structure .... Animated bootscreens here we come !
« Reply #3 on: February 03, 2010, 11:56:45 pm »
Ok i made the tool but there is a slight problem :
when the ani files get flashed using the unbricker tool they don't work. When you use the hxfe tool to replace the logon.ani and logoff.ani files it does work.

Since moest people probably don't know or can't even use the hxfe tool to repack and extract a firmware. I have 2 options :
1) figure out why it doens't work when they get used in the unbricker tool and adapt the program accordingly
2) let people use the hxfe tool after all ?

the thing is the file that's needs to be generated for point 1) is probably not compatible for point 2) and vice versa otherwise it would have worked using the unbricker.

so which do you guys prefer ? using an unbricker tool get your animated bootscreens or using hxfe (extract / packer) ?

santino

  • Guest
Re: The .ani file structure .... Animated bootscreens here we come !
« Reply #4 on: February 04, 2010, 07:32:12 am »
I see no trouble in using the hxftool. ;)

 

Post a new topic
Post a new topic