Hi all,
I just wanted to share a plugin I have created for Paint.Net to read and write RGB565 images. RGR565 is the image type which is used for the initial Android boot screen.
Paint.Net will allow you to open any image file PNG, BMP, JPG, then with this plugin you can save it as a RGB565 file. Just make sure the dimensions are 320 x 480. The size of the file in bytes, once saved will then be 2 times the number of pixels 320 x 480 x 2 = 307200.
You can even open an existing RGB565 file. I have not seen any other tool allow you to do this.
Here is the link to the plugin:
http://paintdotnet.forumer.com/viewtopic.php?f=16&t=32219&start=0
Sweet work. Very useful.
Confirmed that this .dll will work on x64 install of Paint.NET.
ejohnson0547 said:
Hi all,
I just wanted to share a plugin I have created for Paint.Net to read and write RGB565 images. RGR565 is the image type which is used for the initial Android boot screen.
Paint.Net will allow you to open any image file PNG, BMP, JPG, then with this plugin you can save it as a RGB565 file. Just make sure the dimensions are 320 x 480. The size of the file in bytes, once saved will then be 2 times the number of pixels 320 x 480 x 2 = 307200.
You can even open an existing RGB565 file. I have not seen any other tool allow you to do this.
Here is the link to the plugin:
http://paintdotnet.forumer.com/viewtopic.php?f=16&t=32219&start=0
Click to expand...
Click to collapse
Thank you! Nice work my friend!
Great job, making changes is going to be far easier with this... Thanks for the work
Related
Hi all,
I have created a plugin for Paint.Net to read and write RGB565 images. RGR565 is the image type which is used for the initial Android boot screen.
Paint.Net will allow you to open any image file PNG, BMP, JPG, then with this plugin you can save it as a RGB565 file. Just make sure the dimensions are 320 x 480. The size of the file in bytes, once saved will then be 2 times the number of pixels 320 x 480 x 2 = 307200.
You can even open an existing RGB565 file. I have not seen any other tool allow you to do this.
Here is the link to the plugin:
http://paintdotnet.forumer.com/viewtopic.php?f=16&t=32219&start=0
Haven't tried it but really great idea =) too bad I'm a fan of GIMP and Photoshop...I just like them more
Good Idea
Good Idea! This definitely saves some steps to those of us who REALLY like to do some customization to our roms. Good job!.
what is the easiest way to make wallpaper images 1440x800 using any image i find online or have already? i would like to make my own. thank you.
Using free GIMP.
If You will download picture smaller then 1440x800 :
- Open it with GIMP
- You need to stretch it to bigger (then 800pix) size (Picture/Resize)
- Copy the one [Ctrl+C]
- Create new blank file [File/New/1440x800]
- Paste previously copied (and stretched) picture [Ctrl+P]
- Cut Frames to targeted size [Layer/Set layer size to picture]
- Save as [xxx.jpg]
I'm only using 960x800 (Wide) & 480x800 (Home,CHTlock,Tabs) and it's OK.
Another free program that makes re-sizing images much simpler is: Irfanview
hi i'm using gimp aswell, but You can use PAINT which You have in Your system (vista or win7) not sure that the older version (XP) have crop or resize tool. Cheers
I hear you can also use photobucket but cant confirm that.
then again photoshop is a lovely tool.
thanks guys, i thought i could do it with paint. but gimp is free anyway so maybe i'll get it. could i just google search for pics in the size i want also?
This thread is about on how to make your own bootanimation for your I9003 Gingerbread.
BASIC
Inside the sanim.zip file
If you extract the contents of the sanim.zip file to your computer, you will see:
- A desc.txt file
- A part0 folder (Contains PNG images named in incremental numbers)
More part1, part2 etc. folders (May or may not be present)
As you can see, sanim.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on.
The folders
These contain PNG images named in numbers, starting from something like 0000.png or 00001.png and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
480 800 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 480 and 800 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second. (resolution for I9003 is 480x800)
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 480 by 800 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
Note: Most high-end Android devices with large screens have a resolution of 480 x 800 pixels, and are referred to as HDPI. Some mid-range devices have a resolution of 320 x 480 pixels and are called MDPI. Lastly, the screen resolution of some low-end devices is 340 x 320 pixels and these are called LDPI.
Requirements:
1. A zip/unzip utility like 7-Zip
2. Image editor of your choice like Photoshop, GIMP, Paint.NET, and also MS Paint.
3. A plain text editor of your choice. Using Windows Notepad for editing text files that are to be used in Linux is not always a good idea, so use something like Notepad++ instead.
4. Creativity and Time
5. I9003 screen resolution is 480x800
Procedure:
1. Go through the entire inside the sanim.zip (Description on the top post, if you haven’t already done so)
2. Plan how your boot animation will run including how many distinct parts it will have, how long will each part play and what will be the sequence of the parts.
3. Make a new folder at any convenient location on your computer, and name it sanim.
4. In this folder, create a folder for each part of your boot animation, named part0, part1 and so on.
5. In the image editor of your choice, make all the image files for each part of your boot animation with the proper which is 480x800 equal to I9003 phone screen resolution, and save them in the respective folder for each part, in PNG format. Up to 32 bit PNGs are supported.
Note: In case you are converting an existing boot animation to fit your phone’s screen, simply extract the images from it and resize each of them to your device’s screen resolution.
6. Make sure the images are named in numerical format and in proper sequence, i.e. the images in the first part should start with let’s say 000.png and go on till 075.png, and the images in the second part should then start off with 076.png and go on till – for instance – 123.png.
7. Once you have the images for all the parts done and saved with proper names in each folder, create a text file named desc.txt in the main sanim folder.
8. Open the text file in a text editor and edit it in the format described in detail in the desc.txt file section above. Do consider that a frame rate higher than 30 fps can give issues on many devices.
Note: In case you are converting an existing boot animation to fit your phone’s screen, keep everything the same as in the original desc.txt file and change only the resolution.
9. Now select everything inside the sanim folder and zip them into a new uncompressed zip archive using your favorite compression utility. Here is the method using 7-zip:
9A. Select everything inside the sanim folder.
9B. Right-click on any of the selected files/folders and from the 7-zip menu, select ‘Add to archive’.
9C. Use ‘zip’ as the archive format and ‘store’ as the compression level, and click OK. This will create a file called sanim.zip in the same folder.
DONE with your own bootanimation.
Applying sanim.zip into I9003
Copying the sanim.zip to /system/media/. Make sure you have root access and mount your system to R/W access. This will be done by Root Explorer. After that reboot your I9003
Note: Make sure you have done backup your original sanim.zip to somewhere safe like External Card or PC. This can be done by MOVE the file out from the original place and paste it to your External Card.
The Droids series by Dysgenic
Download (XDA Developer)
Android Particle Ring by Dysgenic (Modified by aph):
Download (XDA Developer)
This article has been modified to fit with I9003 Bootanimation
Original post from www.addictivetips.com
UPDATED (21/10/2011)
Creating a boot animation, start to finish.
The following is a start to finish how to via the method that I create boot animations. I can't take full credit, as I have found bits and pieces here an there. I just put them all together..in one place. This isn't an easy process, and does require quite a bit of time.
Tools you will need
- DVD Videosoft Studio
- Gimp or Paint.net or fotosizer
- Zip file creator like 7zip
So get all the programs dloaded and installed and figure out what you want to use for your animation.
You can use images or a clip of video.
We will begin with a youtube video. Youdoofus has supplied us with an excellent specimen.
YouTube - Doin' Your Mom - with dancing cat
A. Downloading a video (Skip these steps if using some other video. Go to B.)
Open the video studio
Click Youtube
Then Youtube download
Paste the link of the video you want to use
Click download (bottom right)
Close out of the Download screen, un check all of the boxes in the pop-up otherwise the program does install web toolbars.
B. Extracting Images from any video. (Skip to C if you already have images.)
Open the video studio
Click on Photo and Images
Free Video to Jpeg
Browse to you video file
Select the option (I use every frame so I can pic and choose)
Close studio, remember to un check the boxes
C. Convert Images
Create a folder on your desktop and put your images in it.
Use you photo edit tool of choice. I use fotosizer, it allows batch.
Select your size. For the Evo use 480x800
Choose Destination Folder I always create a new folder
Output as .png
Filename mask should be %f (the other options never work for me)
Choose add images
Highlight all of the images
Click Start
Now open the new folder of converted images (you can delete the originals folder from the first step above)
Right click on the first image and select rename
Rename in numerical order 0001 pressing tab after you are done..until you reach the end. I don't use more than 100 images. Small groups like this can be repeated. I only pulled 15 images from the video. We will have it loop in the script below.
D. Building the bootanimaton.zip
Create two folders, named part0 and part1
part0 will contain a single, display once png and part1 would contain the animation images. You can play with different scenarios here...ie loop images until boot is complete or loop once and stop on one last image. I will get more details together soon.
Place animation files in part1 folder and a "frozen image" in part0 if you choose to set it up that way.
We need to tell the animation what to do with this type of txt file
480 800 60
p 0 0 part0
p 0 0 part1
again
The boot animation is stored on your phone as a zip file in the folder /system/media. It consists of 2 folders part0 and part1 and a description text file (desc.txt). Both part0 and part1 folders contain animation frames as PNG files. part0 folder contains those frames which are animated only once, where as part1 folder contains the looped(repeated) frames. The desc.txt file contains the animation settings such as fps (number of frames per second), width, height, times to be played, pause time etc you can change up a lot here.
Ctrl+ select the part0 file the part1 and the desc text file and right click.
Select 7zip or your zip program and then "add to blahblahblah.zip" Make sure to do .zip and not the other choices. Make sure your default settings are for no compression.
Rename the file bootanimation.zip (remember not to name it .zip.zip) I keep a few animations on my sd car in a file called "booty" so I typically put something in front like kitty_bootanimation.zip so i know which is which.
Put the file on your sd card.
Use root explorer to navigate to system.media and rename the current boot animation to whatever you want.
Now copy your new animation from the sd card to system.media
In some cases the animation will be located at system.customize.resource
To add an audio clip use any mp3, renamed android_audio.mp3 and put it in the same place as your animation. Keep in mind audio doesn't work on all roms. You may also need to adjust the length. I use Audacity for that on the pc, and there are a number of ringtone trimmers that will do it on the phone.
ALSO SEE THIS:-
1. How to make your own boot animations (with sound if you want) by despotovski01
2. How to preview your Android boot animations on your computer by despotovski01
3. Boot Animation Creator-Make Android Boot Animations With Ease! by despotovski01
superb bro.
wow.. thanks for sharing man...
doesnt work for me : forum.xda-developers.com/showthread.php?p=18607910#post18607910
Nice Explanation bro..You might check my attched file and Maybe It will fit on your thread...\m/
blaqkarma said:
Nice Explanation bro..You might check my attched file and Maybe It will fit on your thread...\m/
Click to expand...
Click to collapse
OP UPDATED! thanks...
Thanks im a complete beginner at this but gonna give it a go i will share when completed
Sent from galaxy s2 , somewhere having a beer using xda premium
adz63 said:
Thanks im a complete beginner at this but gonna give it a go i will share when completed
Sent from galaxy s2 , somewhere having a beer using xda premium
Click to expand...
Click to collapse
u shud share
Droid Bionic Boot Animation
Heyy guys..can anyone pls provide me with droid bionic boot animation for our GT-i9003 device?? I am trying to downscale the original droid bionic boot animation resolution but it's not working..
Hey guys, I have been creating some custom boot animations, and particularly the one located in my signature (revolver 4 boot animation) has some quirkiness to it..
It seems to want to stop playing on a certain image (around 57 of 69 images, something like that). I have checked;
My desc.txt file (all is in order and even swapped out some known-working files as a test, only modifying the resolution/fps line)
The image names and sizes (no numbers skipped/duplicated, no anomalies, all images around the same size of 47KB, all filenames are 5 characters, all PNG format)
I even copied the part0 folder and renamed it part1 and added a part1 line to the desc.txt file to allow it to change to try and get it to loop, it will loop the first 'part0' folder (even playing the images that are usually cut off) but as soon as it reaches part1, it hits the 57th (or whichever file it is) and goes blank..
I am using VIM to edit text and 7zip to pack the files, though that would seem to be OK since if either one was a problem the animation wouldn't play to begin with..the file is in my signature if anyone wants to play around with it and help me out. I can't seem to figure out what the main problem is- so the compromise is either have part1 folder, and/or loop the part0 a few times (haven't even tried but suspect it will go blank on first repeated loop), or have part1 added, add a part 2, etc. to allow it to loop (or just add another 'p1 0 part0' in the desc.txt). And btw, I have tried;
Code:
800 700 20
p0 0 part0
It won't play but once, even though the first 0 is by all accounts supposed to make it loop indefinitely..so, I'm at a loss.
Any help would be greatly appreciated.
I am having a pretty big problem with bootanimations as well but mine will not even run once. Super frustrating. Even when i take a working boot animation and swap out the photos with the same resolution it does not work.
There is something funny about bootanimations- I think you have to use the store function, so that it isn't compressed. Also, maybe the old fashion zip would be compatible- 7zip might not be? Isn't that a windows thing?
gee one said:
There is something funny about bootanimations- I think you have to use the store function, so that it isn't compressed. Also, maybe the old fashion zip would be compatible- 7zip might not be? Isn't that a windows thing?
Click to expand...
Click to collapse
Using WinRar and Store... Probably something to do with the depth of the pictures or the encoding on them
The red flags are flying- It has the same first letters as windows and it's not open source.
Try taking a working bootanimation and re-arranging/re-numbering the images. If it works, then it's your images. If it doesn't, go open source.
gee one said:
The red flags are flying- It has the same first letters as windows and it's not open source.
Try taking a working bootanimation and re-arranging/re-numbering the images. If it works, then it's your images. If it doesn't, go open source.
Click to expand...
Click to collapse
i got it i forgot to flatten my images in photoshop. i feel a little stupid
This is the first issue I've had with it..t may be that I converted the mages from an animated GIF into several frames and then n photoshop saved them as PNGs, but I have other animations that I have created that run fine;
You do need a unix-friendly notepad, like notepad++ or VIM, and yes I pack the files so that they are simply stored; like I said, they play, they just don't finish the animation cycle..and I have heard that there is a limit to how many files can be in a folder, but that it was well-above 70..I have 69..so should not be an issue. Anyone tried my boot animation? It still plays and looks cool, but doesn't loop like it should.
Hey luna this might help its the desc file i used to finally get mine working
Code:
1280 800 20
p1 0 part0
p0 0 part1
mrevankyle said:
Hey luna this might help its the desc file i used to finally get mine working
Code:
1280 800 20
p1 0 part0
p0 0 part1
Click to expand...
Click to collapse
The code means;
1280 800 20
This is resolution (w x h) and the fps (how many images cycle per second)
p1 0 part0
p1= play once (p5 would be play 5x, p0 is play indefinitely), 0 = 0ms delay between initiation and first image and part0 is the folder for the images..
My problem is this; my image files are 800 x 700 and play at 29fps, so first line is obvious- 800 700 29
second line is p0 0 part0, where the image is supposed to run indefinitely. It does not though. It runs once if I use 'p1 0 part0', but does not play all the way through. Yet if the desc file were not right at all, it wouldn't play it would be blank. So I have the desc file compiled, properly otherwise the image in part0 would not even play..the problem is the images do not fully cycle..I appreciate your help but it seems I know more about these files than you do (no offense mate)..I need to figure out why the settings do not run indefinitely until boot, and does not even finish the animation completely..but plays and then goes blank halfway through it...
But when I put a duplicate folder, part1, with the same animation images, and add 'p0 0 part1' to the desc file, the FIRST animation WILL play all the way through, then the second one crashes it..
Android is funny about some things, folder hierarchy, capitalization and folder name structure, file size and compression ratio, etc..I can't seem to figure out why one of my animation images seems to crash the animation altogether..halfway through.
you probobly do know more than me about it as this is the first boot animation i have worked on. Bud i did know what everything in the code meant. And i have looked at quite a few boot animaions in the last few days. It seems to me that the standard workaround is that if you put only the first frame in part 0 with "p1 0 part0" then everything else in part1 with "p0 0 part1" it may fix it.
mrevankyle said:
you probobly do know more than me about it as this is the first boot animation i have worked on. Bud i did know what everything in the code meant. And i have looked at quite a few boot animaions in the last few days. It seems to me that the standard workaround is that if you put only the first frame in part 0 with "p1 0 part0" then everything else in part1 with "p0 0 part1" it may fix it.
Click to expand...
Click to collapse
Good idea...I am going to give it a shot, one thing I have not tried yet is splitting the part0 folder up into multiple folders, I have some doubts that will work but at this point it is worth trying I'll let you know if it solves the issue.
EDIT:
Nope...couldn't even get that one to play at all..and now for some reason my desc.txt file isn't working, I even created one from scratch in VIM and it would not work..blanks screen now. WTF..this should not be this tricky..
png software
could anyone tell me what software I can use to convert a gif animation into a series of png files. I have tried a few freeware converters but not had any luck, or even better a program that can convert any video file into a series of png's so I can skip the gif altogether?
A Guide To Support My Other Thread On How To Create Boot animations So It Is Easier For People To Understand And Grasp The Concept.
so they will ask less questions XD
CONTENTS
The Basics
Inside the bootanimation.zip file
Featured Boot Animations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Basics :
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots. Thus, customizing or changing the boot animation is simply the process of editing or replacing this file.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Inside The Bootanimation.Zip File
This section is for those interested in finding out how the Android boot animation works. If you just want to install one without bothering yourself about what’s in the file, feel free to move on to the next section, as this one will get a little technical. Though it should be easy and simple enough for anyone to grasp.
While the Android boot animation might appear to be in a video format during playback, it is in fact a little different. If you extract the contents of the bootanimation.zip file to your computer, you will see:
A desc.txt file
A part0 folder (Contains PNG images named in incremental numbers)
More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.
Let’s see how it works in a little detail by taking a closer look at the contents of the file.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
320 480 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 320 and 480 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 320 by 480 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NOTE :
A note on resolution: Most high-end Android devices with large screens have a resolution of 480 x 800 pixels, and are referred to as HDPI. Some mid-range devices have a resolution of 320 x 480 pixels and are called MDPI. Lastly, the screen resolution of some low-end devices is 340 x 320 pixels and these are called LDPI, though these are either the really old Android phones or the cheapest Chinese models.
As a rule, a boot animation made for a lower resolution device will run fine on a high resolution one but it will be centered on the screen, with the extra screen space around it not being used. Using a high resolution boot animation on a low resolution device will result in the boot animation not fully displaying on the screen, with its outer parts being cut off due to being outside the screen’s bounds.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Featured Boot Animations
Link for some boot animations for ace plus : http://forum.xda-developers.com/showthread.php?t=2197483
reserved
reserved
May u make guide how to make boot splash? Like gaple rom and mb-14 kernel does?
Sent from my GT-S7500 using my finger
mohdradzi84 said:
May u make guide how to make boot splash? Like gaple rom and mb-14 kernel does?
Sent from my GT-S7500 using my finger
Click to expand...
Click to collapse
Thnxxx for d suggestion dude !
IM4U
Sent from my GT-S7500 using my finger.
OX Mobile Spy
Very useful tutorial, it is worth I came to learn
Harshraj said:
A Guide To Support My Other Thread On How To Create Boot animations So It Is Easier For People To Understand And Grasp The Concept.
so they will ask less questions XD
CONTENTS
The Basics
Inside the bootanimation.zip file
Featured Boot Animations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Basics :
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots. Thus, customizing or changing the boot animation is simply the process of editing or replacing this file.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Inside The Bootanimation.Zip File
This section is for those interested in finding out how the Android boot animation works. If you just want to install one without bothering yourself about what’s in the file, feel free to move on to the next section, as this one will get a little technical. Though it should be easy and simple enough for anyone to grasp.
While the Android boot animation might appear to be in a video format during playback, it is in fact a little different. If you extract the contents of the bootanimation.zip file to your computer, you will see:
A desc.txt file
A part0 folder (Contains PNG images named in incremental numbers)
More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.
Let’s see how it works in a little detail by taking a closer look at the contents of the file.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
320 480 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 320 and 480 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 320 by 480 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NOTE :
A note on resolution: Most high-end Android devices with large screens have a resolution of 480 x 800 pixels, and are referred to as HDPI. Some mid-range devices have a resolution of 320 x 480 pixels and are called MDPI. Lastly, the screen resolution of some low-end devices is 340 x 320 pixels and these are called LDPI, though these are either the really old Android phones or the cheapest Chinese models.
As a rule, a boot animation made for a lower resolution device will run fine on a high resolution one but it will be centered on the screen, with the extra screen space around it not being used. Using a high resolution boot animation on a low resolution device will result in the boot animation not fully displaying on the screen, with its outer parts being cut off due to being outside the screen’s bounds.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Featured Boot Animations
Link for some boot animations for ace plus : http://forum.xda-developers.com/showthread.php?t=2197483
Click to expand...
Click to collapse
what about these codes :
320 480 36
p 1 0 part0
s 1 /system/media/poweron.ogg
p 0 0 part1
s none
could you explain those ???????