[Q] Need Help with Boot Animation - Android Themes

Hi, I need help with a boot animation I am making. I followed all the instructions for it and its still not working. I just get a black screen during boot where the animation was supposed to happen.
This is for my Nexus 1 btw running CM 6.1.1. the boot animation is basically a siege tank from Starcraft 2 setting up and then packing up again.
I placed the zip in /system/media
Each png is 180x135.
Can someone please look at the zip and see what I am doing wrong? it would REAAAAAALLY help.

More than likely your missing an empty line at the end of your desc.txt, common problem.

Added extra line , didn't work
I added the extra line at the end of desc.txt and its still the same result. Ugh.... I have uploaded the new revised zip.

One problem that i had run into is that i was not zipping them in the least compressed format. make sure that you use fast(minimal) compression.

Compression
Yeah, I tried it both ways with WinRar and 7-Zip and made sure it was set to "Store" as the minimal to no compression option.

Here is my suggestion. This is the desc.txt file i use for all mine and it works fine. Change the resolution in the file and try using that one.
Desc

heres the bootanimation.zip with a changed desc.txt file

YES!!!!!!!!!! ^.^
ianreecej said:
Here is my suggestion. This is the desc.txt file i use for all mine and it works fine. Change the resolution in the file and try using that one.
Click to expand...
Click to collapse
OMG Thank You!!!! It works perfectly now. I don't know what happened before. Now I am going to try to mess with the resolutions to see if I can get everything bigger and cleaner.
Do you by chance know if there is a limit to the size of the boot animation? I made it 8mb because I wanted to keep it lean and fast. If its around 25 mb, will that affect performance?

demoneyes905 said:
OMG Thank You!!!! It works perfectly now. I don't know what happened before. Now I am going to try to mess with the resolutions to see if I can get everything bigger and cleaner.
Do you by chance know if there is a limit to the size of the boot animation? I made it 8mb because I wanted to keep it lean and fast. If its around 25 mb, will that affect performance?
Click to expand...
Click to collapse
No Problem. The limit is really the space on your internal memory as far as i know. If you can fit it on there it should be fine. I know for myself with a droid incredible i can go to about 20 megabytes but that is only again due to my limited internal memory. If you were to move some apps to the sd card etc you can probably free more space.
Drop me a PM if you have questions or need a hand anytime.

Just had a look at your desc.txt and the problem was that all the info was on one line instead of seperate lines for each string of info
-RES +FPS
-NUMBER OF PLAYS + NAME OF FILE ( EACH FILE NEEDS ITS OWN LINE AND PLAY COMMAND)
-EMPTY LINE
Hope this helps you shed some light where you had your hiccup.
Also I found its the fps and image size that affects the animation.
If you have a high quality animation (KB/MB not res size) and a high fps it will struggle to render the images and result in sluggish playback. Try optimizing your images to squeeze that little bit extra out.

dully79 said:
Just had a look at your desc.txt and the problem was that all the info was on one line instead of seperate lines for each string of info
-RES +FPS
-NUMBER OF PLAYS + NAME OF FILE ( EACH FILE NEEDS ITS OWN LINE AND PLAY COMMAND)
-EMPTY LINE
Hope this helps you shed some light where you had your hiccup.
Also I found its the fps and image size that affects the animation.
If you have a high quality animation (KB/MB not res size) and a high fps it will struggle to render the images and result in sluggish playback. Try optimizing your images to squeeze that little bit extra out.
Click to expand...
Click to collapse
Thanks bro for your advice. I had the same problem.

Related

Teeter Game

Hi,
this game is quality...
I've finished the 32 levels of this game and i want MORE
Is it possible to add new levels to this game??
Are there any better sensor games out there?
Raf
No there are currently no gyro-driven games, but wait a few months-:
Steering a car, flying a plane all with Gsen support , like a mini-WII
Why not taking the advantage , now that you created a thread anyway, to post some scores , just for fun
Rule: Post your score after finishing your FIRST TIME finalized 32 levels.
I got a 21 min 35 sec with +18 attempts in total from which 7 were on a same level
unfortunately i didnt make a note of my score after completion and upgraded to a new ROM....
rafter_01 said:
Hi,
this game is quality...
I've finished the 32 levels of this game and i want MORE
Is it possible to add new levels to this game??
Are there any better sensor games out there?
Raf
Click to expand...
Click to collapse
I don't know if you can add levels, but you can edit (and than distibute) them.
The levels are described in files 1.txt - 32.txt in de windows folder.
You can edit these (e.g. with Total Commander) to edit the levels.
The syntax is straight forward:
"B" with two params determines begin position.
"E" with two params determines end position.
"W" with four params determines walls.
"H" with two params determines holes.
See attached file for a new level (replacing the old 1st level)
Just replace the file in the windows folder (after making a backup of the original of coarse)
coolio
thanks for that
more games
i am not sure about this:
while cooking my ROM i discovered these files belonging the teeter:
\windows\1.txt, 2.txt, 3.txt, etc.
i think these are the chellenges. simple txt files
i think we could examine them and make new challenges.
Patrickw_mdav said:
I don't know if you can add levels, but you can edit (and than distibute) them.
The levels are described in files 1.txt - 32.txt in de windows folder.
You can edit these (e.g. with Total Commander) to edit the levels.
The syntax is straight forward:
"B" with two params determines begin position.
"E" with two params determines end position.
"W" with four params determines walls.
"H" with two params determines holes.
See attached file for a new level (replacing the old 1st level)
Just replace the file in the windows folder (after making a backup of the original of coarse)
Click to expand...
Click to collapse
faster than flash
ykat said:
faster than flash
Click to expand...
Click to collapse
Looser makes a new level
I'm waiting
Like the idea, but how do you replce the .txt file, as they're protected, and you can't edit the propeties.
How about adding a 33.txt, anybody know if that adds another level?
bobajob14 said:
Like the idea, but how do you replce the .txt file, as they're protected, and you can't edit the propeties.
Click to expand...
Click to collapse
Did you try edit the properties in Total Commander ?
I'm not sure wether I changed them or not. But I was able to replace the file, and play this new level.
Yes - but whenever I change the attributes, it doesn't save and just reverts back to "read only".
bobajob14 said:
Yes - but whenever I change the attributes, it doesn't save and just reverts back to "read only".
Click to expand...
Click to collapse
mmh.. stange behaviour. In Total Command, you can File->Edit these files and save changes.
Maybe afterwards, you can make changes, at least I can.
Great - I was opening, editing, then saving, which doesn't work.
Going File, edit, save works a treat.
Nice level by the way!
glacieruk said:
How about adding a 33.txt, anybody know if that adds another level?
Click to expand...
Click to collapse
I can confirm that just adding a 33.txt file to the windows directory does NOT add a 33rd level.
Can't see any point in adding more levels when you can alter the levels anyway.
It reminds me of changing the levels on jet Set Willy!!!!
So what are the setting for the later levels? With the uneven floors?
Can we perhaps have 2 instances of teeter
put it in its own folder, /teeter2/ or whatever, copy all the files across from the orginal version.
Then, edit the original files, so we have an all new version of the teeter game.
If someone can group all the needed files, graphics, txt files etc, il work on editing all 32 levels and producing a new version.
dzign-it said:
So what are the setting for the later levels? With the uneven floors?
Click to expand...
Click to collapse
Including a line with :
Code:
D 0
Does the trick..
Has anyone got any further with this?
In the mean time I have found a way to have another 32 levels with editing anything.
Lye on your back and hold your diamond above you, screen towards you (of course).
Then try the 32 levels again. It is very difficult.
Pete
best thing would be to make a level-editor for the game
just drag the holes and walls and press export

png optimizing

Hey guys, I may be way off on this... but just tell me if my thinking is sound.
One of the things I see people doing in themes and roms is optimizing all of the png's for a smaller file size. At first glance, that seems like the thing to do -- Less in memory, less size = better.
But I know that on applications that need to load images very fast it is always better to make them as uncompressed as possible. That way, in order for the system to show the image, the cpu has less to uncompress before displaying it.
An example would be on my HTPC. There are all kinds of fan art and huge wallpapers that change with each click to the next menu. So when I switch from Music to TV Shows. My wallpaper switches from a picture of AC/DC to a picture of the cast from "House". The first thing everyone will tell you to do is convert them to bitmaps. Bigger file size but way less for the cpu to do in order to show it. This helps with not having a delay or one of the pictures not showing up for a split second.
Now I know we can't use bitmaps because we need the transparency. But with such little cpu power on these phones, wouldn't we want the pngs to be as uncompressed as possible?
As I said, let me know if there is something I am not thinking of. The answer could be as simple as the cpu required to uncompress the pngs has less impact that a few more megabytes of memory being used. Not sure if anyone has done any testing on this.
You can try re-saving with minimal compression using IrfanView or a similar tool (even Photoshop I'm sure).
Oh, the I am a web developer. I work with image compression everyday. Thats not the problem, I just wanted to know if anyone had considered this or if there is another reason I'm not thinking of.

Custom Boot Animation

How exactly do I do this? I've googled it a few times. and I've seen tons of video's of different peoples boot animations.
I also checked CM6.0's new boot animation. (really cool) and it has 111 files or something in the zip.
I have a little like 6 second GIF that I'd like to use as my boot animation. would I just need to put the same file in there multiple times so it's long enough to keep going the entire time the phone boots? or does it have to be a PNG?
Any help would be great. Thanks!
xguntherc said:
How exactly do I do this? I've googled it a few times. and I've seen tons of video's of different peoples boot animations.
I also checked CM6.0's new boot animation. (really cool) and it has 111 files or something in the zip.
I have a little like 6 second GIF that I'd like to use as my boot animation. would I just need to put the same file in there multiple times so it's long enough to keep going the entire time the phone boots? or does it have to be a PNG?
Any help would be great. Thanks!
Click to expand...
Click to collapse
The boot animation must be constructed out of PNG images. You would have to pull every frame out of that gif and convert it to PNG.
The bootanimation generally consists of a series of number PNG images (0001.png, 0002.png, 0003.png ...) in two folders, "part0" and "part1". part0 contains any portion of the boot animation that does not loop, and part1 will contain the loop that will be played over and over until the phone finally boots. You then also need a "desc.txt" file outside of those two directories, which will contain information on the image sizes and which order to play the folders in. This all then gets packaged up into a "bootanimation.zip" file, which will be placed in /system/media/ or /data/local/ on your android phone.
Best way to figure it out is to take an existing bootanimation.zip (you can adb pull the default from /system/media/bootanimation.zip) and pull it apart to see how it's built.
Yea, Thanks for the info. Thats exactly what I did, sort of. I pulled Cyan's new bootanimation with the Cyan Droid skating inside the N1's boot logo.. I unpacked that and looked at how it was built. I replaced all the part 1 with multiples of what I want, but not frame by frame. lol. obviously it wouldn't work cuz it wasn't done right.
Does it need to be sized correct also? like if to large will it not show at all?
Everyone likes Jessica Alba right? I mean how can you not!
Here's what I was thinking of using for a boot animation. I'll let everyone see it, maybe someone will come up with something cool. I'm sure I have better ones, this is just the sexy Jessica Alba. It was the first thing that came to mind.
How about this one I attached? It is just the clip playing in the middle of the screen.
Flash it through recovery or take out the bootamination.zip and adb push it.
You can't put a .gif in the folder you have to pull all the frames.
When you create the zip-file with the folder(s) and the desc.txt you should use "add to archive", select .zip format (obviously :b ) and as compression method select "store". (Not 100% sure about if it's called "add to archive" and "store" cause I use Swedish language in Windows :b )
The desc.txt file in this case contains the following:
Code:
480 260 14
p 0 0 part0
480 260 is how big you want the picture to be (480 is suitable in this case since that's the width of the screen and 260 to get the correct ratio.)
14 is the frames per second. (don't know if it's possible to use a decimale, haven't bothered to try)
part0 is the folder and I guess 0 0 mean that it should keep repeating.
For example if having two folders and you want the fist one to play once and the other to keep repeating until the boot is done it should look something like this:
Code:
480 480 30
p 1 0 part0
p 0 0 part1
Hope that helped a little.
oh wow, Thanks. is that fullscreen? Lets give it a try.
whats the steps for flashing it in recovery. Just put on root of SD and flash in Amon's or is there more to it? I've never changed my boot animation.
Can't I just move it with root explorer to data/local? and reboot
No it's not full screen, then you'd have to hold the phone on the side. The animation takes up about 1/3 of the screen and is placed in the middle.
Yeah, just boot up the recovery menu and there's an option to flash zip-files that's on the root of you SD.
It should work to move it with Root explorer too. But remember if you use Root explorer you first have to open up the zip-file I've attached an take out the bootanimation.zip inside. It's that file you will put in the folder with Root explorer.
Edit: The update.zip I made will replace the original boot animation in /system/media/
So if you want to keep the original you better take a backup or as you said, place it in /data/local/ with Root explorer or: adb push bootanimation.zip /local/data/
xguntherc said:
Yea, Thanks for the info. Thats exactly what I did, sort of. I pulled Cyan's new bootanimation with the Cyan Droid skating inside the N1's boot logo.. I unpacked that and looked at how it was built. I replaced all the part 1 with multiples of what I want, but not frame by frame. lol. obviously it wouldn't work cuz it wasn't done right.
Does it need to be sized correct also? like if to large will it not show at all?
Everyone likes Jessica Alba right? I mean how can you not!
Here's what I was thinking of using for a boot animation. I'll let everyone see it, maybe someone will come up with something cool. I'm sure I have better ones, this is just the sexy Jessica Alba. It was the first thing that came to mind.
Click to expand...
Click to collapse
lol! I flashed that exact animation as my live wallpaper on to my Eclipse head unit in my car a while ago. Never gets old
And to do so I had to convert each frame that I wanted as well.
I know, she's so bangin. I wish it was a longer clip. lol.
Thanks. I'll try it tomorrow
what if we wanted to add a sound clip to the bootanimation on the Nexus One? what folder do we add that in? I have tried just about every folder and way with no luck.
Take a look at this:
oc3rulz said:
what if we wanted to add a sound clip to the bootanimation on the Nexus One? what folder do we add that in? I have tried just about every folder and way with no luck.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=710204
everythingisround said:
http://forum.xda-developers.com/showthread.php?t=710204
Click to expand...
Click to collapse
I tried that, I have added the audio file to just about every folder on the phone and nothing. I even changed the .mp3 to .ogg Nothing has worked so far, not even adding the file to system/media/audio

[Q] 8 bit? Themers Please help

Hi all, i am trying to work on a theme for the Droid X. Can anyone tell me why some of the images open in photoshop incorrectly and more to the point how to fix them?
I cant post a link apparently to the image or a http link since i'm new but
You can view the image here. http:/ / dl.dropbox.com/u/6769503/8bit.jpg
Is there a setting or something I can change in PS to open these correctly?
Thanks for your time.
KraYzeE
krayzee said:
Hi all, i am trying to work on a theme for the Droid X. Can anyone tell me why some of the images open in photoshop incorrectly and more to the point how to fix them?
I cant post a link apparently to the image or a http link since i'm new but
You can view the image here. http:/ / dl.dropbox.com/u/6769503/8bit.jpg
Is there a setting or something I can change in PS to open these correctly?
Thanks for your time.
KraYzeE
Click to expand...
Click to collapse
What is the original file extension? .png?
I had this same problem with some .png files wich had transparency in windows image viewer, but not in photoshop.
My solution was to open it in Paint.net and save it, rewriting the original image. Please be sure to set the transparency correct whilst saving in paint.net.
Download Paint.net
Thanks for the reply, yes it was a PNG, ill try paint.net but i would really like to use Photoshop. I cant understand how it can mess up the transparency and anti alias like that.
Update: Paint.net does indeed open the file correctly... so while i do now have a solution. I would still like to find out why Photoshop (both CS4 & CS5) open it incorrectly ?
Well technically 8 bit pngs are indexed images with a varying amount of colored pixels and then varying amount of transparent and semi transparent pixels so some programs might not like this. I would recommend gimp over ps as its similar but doesn't have this issue.
Sent from my HERO200 using XDA App
that image actually seems correct, can you post an image of the alpha channel? then we will know if photoshop is not reading the file correctly
As one poster said, it's because the images is indexed. If you do Image > Mode > RGB, it will un-index it. I must warn you though, PS is HORRIBLE with indexed images. Use GIMP/Paint.NET to un-index it to save yourself a headache
JAguirre1231 said:
As one poster said, it's because the images is indexed. If you do Image > Mode > RGB, it will un-index it. I must warn you though, PS is HORRIBLE with indexed images. Use GIMP/Paint.NET to un-index it to save yourself a headache
Click to expand...
Click to collapse
Ahh but then you lose the 8 bit optimization, even running optpng will not put it back to index png cause it will ossy optimize it. So just use gimp.
Thanks for the replys guys.
Here is an example image.
http:/ / dl.dropbox.com/u/6769503/btn_circle_pressed.png
If you open it in PS, you will see what i mean, changing it to RGB does not change the image. I can open it correctly it Fireworks, then save it without making any changes, and then i am able to open it in Photoshop correctly.
This will do for now in case anyone else runs into this issue. The file size isn't too much bigger this way, so it will work for now.
Thanks again to all that helped.
http://dl.dropbox.com/u/1631008/btn_circle_pressed_fixed.png
Here's the image fixed, it was indexed... all I did was open it up with osx Preview and save it again. Or you can try this gimp they all talk about but I think it's overkill to switch to another program just because 1 or 2 images are weird, especially after you paid for your copy of Photoshop.
DBBGBA said:
http://dl.dropbox.com/u/1631008/btn_circle_pressed_fixed.png
Here's the image fixed, it was indexed... all I did was open it up with osx Preview and save it again. Or you can try this gimp they all talk about but I think it's overkill to switch to another program just because 1 or 2 images are weird, especially after you paid for your copy of Photoshop.
Click to expand...
Click to collapse
Thanks for your help. I don't have OSX and i absolutely cannot get used to Gimp. but opening it in adobe fireworks and saving it again right away does the trick, so although it's a pain, its simple to do.
If anyone ever figures out a way to directly open these types of files in Photoshop i'd be glad to know.
Cheers
KraYzeE
krayzee said:
Thanks for your help. I don't have OSX and i absolutely cannot get used to Gimp. but opening it in adobe fireworks and saving it again right away does the trick, so although it's a pain, its simple to do.
If anyone ever figures out a way to directly open these types of files in Photoshop i'd be glad to know.
Cheers
KraYzeE
Click to expand...
Click to collapse
Yes that works but your removing the indexing. Android uses indexed pngs wherever possible because this saves space and resources, if you changed every file in the android system to rgba your phone would be noticeably slower.
If you change it to rgba and then run optipng on it you'll see it will not index cause it can only lossy optimize, but if you set the mode to index and then optimize it you'll notice then file will be considerably smaller with little or no image quality loss. So in short your removing a vary important optimization feature of the android system.
If your looking for a quick image conversion tool try image magick, this will allow you to write scripts to convert them png24/32 to png8 and back whole folders at a time.
well as we do with video it's always better to work with uncompressed, high res images. Then when everything is done and set in stone we compress and optimize without loosing too much image quality.
If i had to start a theming project I'll probably do the same, convert everything to high res, work on it then compress to a more optimized format.
DBBGBA said:
well as we do with video it's always better to work with uncompressed, high res images. Then when everything is done and set in stone we compress and optimize without loosing too much image quality.
If i had to start a theming project I'll probably do the same, convert everything to high res, work on it then compress to a more optimized format.
Click to expand...
Click to collapse
Yeah for video thats fine, but in theming and specifically for this file gimp will allow you to work on the indexed file and you literally can not tell the difference with the indexed file being atleast 50% smaller. Maybe this would make sense with an image that has alot of quality or is high res but in this instance it a loss of time and added steps when the same could be accomplished with industry standard tools.

My Boot Animation

okay so thanks to everyone who chucked in an idea about how to get my boot animation up and running... especially Sardo Numspa
anyway.. this is my custom boot animation for the xoom..
The specifics
1. I used JPG's to keep the file size down its very small but the frames are not blurry nor choppy
2. I noticed that the absolute maximum files should be around 400 frames no matter what i used any more and the xoom would go to a black screen and continue to boot and waste the rest of the frames
3. The folder system of 130 maximum is where its at and i think it helps if you have a maximum of 3 parts (i know some may differ or say im wrong but man i tried everything for my xoom)
4. I used a korean android ad and Motherboard (both on youtube) as my base for this i am useless at development of CGI type stuff i just did a manipulation and screwing around for hours with sizes, dimensions, cross over, desc, countless reboots, etc so i have done something
for anyone who is interested here is the final product as i plays on my device
if you wish to chuck it on your own xoom... help yourself it is attached
1. This file must be put into the folder /system/media
2. If you already have a boot animation, mount the folder as R/W and then change the name of the old boot animation to bootanimation.zip.bak (if you want to keep it)
3. Then paste this boot animation into the location
4. Reboot and have a look
you can do anything you feel with this just give us a little cred and show me your handy work by linking me your stuff... i might just wanna use it myself
if you dont care/dont like this give me some feedback
sorry if making a new thread was against the rules...
Good job. It looks really nice. I will give it a shot on my Xoom and see how it is.
cool, glad you got it working.
cheers mate..

Categories

Resources