Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Animated graphics
« previous next »
  • Print
Pages: [1] 2

Author Topic: Animated graphics  (Read 5917 times)

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Animated graphics
« on: August 25, 2006, 07:12:55 AM »
Hi.

Im trying to get the virtual hard drive on the Nano to show an animated graphic when in use, but for the life of me, I just cannot get it to work. I would have thought the following would work:

%?lh<%t0.1%xdp;%t0.1%xdq;%t0.1%xdr;%t0.1%xds;%t0.1%xdt;%t0.1%xdu|%xdv>

(%xdv being a blank). I want the image to flash up for 0.1 second then show the next one else show nothing.

But the above just stays on the image ID t for some reason.

If I do:

%?lh<%t0.1 %xdp;%t0.1 %xdq;%t0.1 %xdr;%t0.1 %xds;%t0.1 %xdt;%t0.1 %xdu|%xdv>

with spaces after the %t numbers it displays the animation fine, but its always on, and displays the blank in sequence as well.

Any ideas whats going on? Do I need to nest it somehow?

Ive had a look around for more info but couldnt find much. Cheers for any help.
« Last Edit: August 25, 2006, 07:59:49 AM by ipodfoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline madcow

  • Member
  • *
  • Posts: 24
  • Rockbox For President!!!
    • Iaudiophile
Re: Animated graphics
« Reply #1 on: August 25, 2006, 07:25:07 AM »
Having the same problem.
Tried the same things you did returning the same errors. (X5)

Very frustrating.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Animated graphics
« Reply #2 on: August 25, 2006, 05:42:14 PM »
 >:(

Still no luck, but thought Id post what else Ive tried:

%t0.1 %?hl<%xdp|%xdv>;%t0.1 %?hl<%xdq|%xdv>;%t0.1 %?hl<%xdr|%xdv>;%t0.1 %?hl<%xds|%xdv>;%t0.1 %?hl<%xdt|%xdv>;%t0.1 %?hl<%xdu|%xdv>

Still no go.  :(

Any help on this would be appreciated. Thanks.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Animated graphics
« Reply #3 on: August 25, 2006, 10:29:58 PM »
I like this idea, though I wonder how much battery it will eat if you can get it working

I am sadly very busy right now on non-rockbox stuff (I'm terribly late with my podcast) but when I DO have time, assuming you don't get this licked, I will definately give this a look.  Sadly, it could be as late as Monday night or Tuesday before that happens :(
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Animated graphics
« Reply #4 on: August 26, 2006, 06:03:55 AM »
There is a skin included with rockbox called iCatcher which might be of use.

It uses an animated icon which runs continually except when u set the volume. Dont think theres any mention of a drain in battery even tho it runs pretty much continuosly.

I still cant seem to adapt it to the virtual led.  >:(

Somebody must know how to get this working.

Cheers.

ps. Best of luck Yotto!
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: Animated graphics
« Reply #5 on: August 26, 2006, 07:07:13 AM »
Correct me if I am wrong (I just might be), but have a look at this and tell me if this is what you are trying to do or not.

http://www.rockbox.org/twiki/bin/view/Main/WpsIpodMini#Dancing_Megaman
Logged

Offline madcow

  • Member
  • *
  • Posts: 24
  • Rockbox For President!!!
    • Iaudiophile
Re: Animated graphics
« Reply #6 on: August 26, 2006, 08:07:16 AM »
Interesting scorche!

That one is using: %?lh<%t0.2%xdtz|%t0.2%xsdz>;%?lh<%t0.2%xduz|%t0.2%xdsz>

I'm gonna give this a try, but what is the z?
%?lh<%t0.2%xdtz
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Animated graphics
« Reply #7 on: August 26, 2006, 08:36:49 AM »
Currently trying it out. megaman one seems to work on the nano. but not with my images. i suspect there may be a filesize limit or something preventing it from getting displayed.

I also wonder what the z is for as theres no reference to it in the preload images list. It seems to diplay the letter z just out of sight from the screen.  :-\
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline madcow

  • Member
  • *
  • Posts: 24
  • Rockbox For President!!!
    • Iaudiophile
Re: Animated graphics
« Reply #8 on: August 26, 2006, 08:48:13 AM »
Not working.
Came out the same as I was trying before: messed up by transparency and when not transparent it will only display the last image.
Logged

Offline drippydonut

  • Member
  • *
  • Posts: 28
    • :: designcut web design
Re: Animated graphics
« Reply #9 on: August 26, 2006, 02:13:19 PM »
Methinks I've come across this problem before in some Misticriver thread; let me just have a dig around...


EDIT: Ah yeah- it was discovered that for some reason %al tags had to be added before each %t...

Quote from: Yngwiejo
Hurray!!! :)

Eventually this worked like a charm for me:
Code: [Select]
%xl|A|bat0.bmp|194|9|
%xl|B|bat1.bmp|194|9|
%xl|C|bat2.bmp|194|9|
%xl|D|bat3.bmp|194|9|
%xl|E|bat4.bmp|194|9|
%al%t0.5%?bp<%xdA|%?bl<%al%xdA|%xdB|%xdC|%xdD|%xdE>>;%al%t0.5%?bp<%xdB|%?bl<%al%xdA|%xdB|%xdC|%xdD|%xdE>>;%al%t0.5%?bp<%xdC|%?bl<%al%xdA|%xdB|%xdC|%xdD|%xdE>>;%al%t0.5%?bp<%xdD|%?bl<%al%xdA|%xdB|%xdC|%xdD|%xdE>>;%al%t0.5%?bp<%xdE|%?bl<%al%xdA|%xdB|%xdC|%xdD|%xdE>>
I don't understand why I have to put "%al" (left aligned text) before "%t" but it doesn't work without it! BTW, flash62, you forgot to load bat4.bmp in your code.
Logged
All my Rockbox players are sold but I still can't help lurking on the forums here and there!

Offline madcow

  • Member
  • *
  • Posts: 24
  • Rockbox For President!!!
    • Iaudiophile
Re: Animated graphics
« Reply #10 on: August 27, 2006, 07:15:07 AM »
Doesn't work with the %al...
Must be something with the virtual led...

Right now I have:

%xl|w|hdd1.bmp|73|0|
%xl|x|hdd2.bmp|73|0|
%xl|y|hdd3.bmp|73|0|
%xl|z|hdd4.bmp|73|0|
%t0.5 %?lh<%xdw|>; %t0.5 %?lh<%xdx|>; %t0.5 %?lh<%xdy|>; %t0.5 %?lh<%xdz|>;

They're transparent hourglasses, situation now: turns correct but the last image is always shown even after hdd has stopped.
Help!
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: Animated graphics
« Reply #11 on: August 27, 2006, 07:32:48 AM »
The "%al" thing is not necessary. The code in the 3rd post should normaly work. So either the virtual led in the wps code has some type of bug or the bmps for some reason aren't preloaded correctly.
Logged

Offline Farpenoodle

  • Member
  • *
  • Posts: 28
Re: Animated graphics
« Reply #12 on: August 27, 2006, 09:52:14 AM »
It's been a long time since I made that WPS so I really can't for the life of me remember why I put a z after each %xd*. But I just tried taking away the z and it stopped working. So I'm going to have to assume that I was just playing around trying to get it working when all of a sudden I decided to put letters at the end of all my image display tags. Sorry if that's not particularly helpful. :p
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Animated graphics
« Reply #13 on: August 31, 2006, 05:28:03 AM »
Anybody have any luck with this? Im still stuck on it. Closest Ive got is it does its thing, but when the hd has finished it just loops thru all the frames of the animation. :(

Code im using (trying out the z thang):

%?lh<%al%t0.2%xdpz|%al%t0.2%xdvz>;%?lh<%al%t0.2%xdqz|%al%t0.2%xdvz>;%?lh<%al%t0.2%xdrz|%al%t0.2%xdvz>;%?lh<%al%t0.2%xdsz|%al%t0.2%xdvz>;%?lh<%al%t0.2%xdtz|%al%t0.2%xdvz>;%?lh<%al%t0.2%xduz|%al%t0.2%xdvz>
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline MrMEC

  • Member
  • *
  • Posts: 56
Re: Animated graphics
« Reply #14 on: September 05, 2006, 10:57:39 AM »
No idea if this will work (I've never gotten animation to work, but I also haven't tried in ages), and can't test it.  But did you try this?

%?lh<%t0.2%xdp|>;%?lh<%t0.2%xdq|>;%?lh<%t0.2%xdr|>;%?lh<%t0.2%xds|>;%?lh<%t0.2%xdt|>;%?lh<%t0.2%xdu|>

or this?

%?lh<%t0.2 %xdp|>;%?lh<%t0.2 %xdq|>;%?lh<%t0.2 %xdr|>;%?lh<%t0.2 %xds|>;%?lh<%t0.2 %xdt|>;%?lh<%t0.2 %xdu|>

or this?

%t0.2 %?lh<%xdp|>;%t0.2 %?lh<%xdq|>;%t0.2 %?lh<%xdr|>;%t0.2 %?lh<%xds|>;%t0.2 %?lh<%xdt|>;%t0.2 %?lh<%xdu|>

Seems like one of these would have to work, or else I really don't know.    :-\
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Animated graphics
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.168 seconds with 21 queries.