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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  animations? what am i doing wrong?
« previous next »
  • Print
Pages: [1] 2

Author Topic: animations? what am i doing wrong?  (Read 4477 times)

Offline pixeldotz

  • Member
  • *
  • Posts: 63
animations? what am i doing wrong?
« on: September 28, 2006, 03:30:10 PM »
i searched the boards and tried some of the suggestions i came across but my wps isn't flipping through the bmps i have.

Code: [Select]
%xl|b|1_bd.bmp|1|1|
%xl|c|2_bd.bmp|1|1|
%xl|d|3_bd.bmp|1|1|
%xl|e|4_bd.bmp|1|1|
%xl|f|5_bd.bmp|1|1|
%xl|g|6_bd.bmp|1|1|
%xl|h|7_bd.bmp|1|1|
%xl|i|8_bd.bmp|1|1|

%t0.5%xdb;%t0.5%xdb;%t0.5%xdc

using this it only displays the first image at all times.

also, is there way to have an absolutely blank screen? no bat no time none of that default info?
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: animations? what am i doing wrong?
« Reply #1 on: September 28, 2006, 03:38:13 PM »
I don't know whether this is a bug or not, but I've found that animations need to be on a line with some (any) text, in order to force a refresh of the screen.

This should work, by putting a space (which will be displayed) in each subline:
Code: [Select]
%xl|b|1_bd.bmp|1|1|
%xl|c|2_bd.bmp|1|1|
%xl|d|3_bd.bmp|1|1|
%xl|e|4_bd.bmp|1|1|
%xl|f|5_bd.bmp|1|1|
%xl|g|6_bd.bmp|1|1|
%xl|h|7_bd.bmp|1|1|
%xl|i|8_bd.bmp|1|1|

%t0.5 %xdb;%t0.5 %xdc;%t0.5 %xdd

Quote from: pixeldotz on September 28, 2006, 03:30:10 PM
also, is there way to have an absolutely blank screen? no bat no time none of that default info?
Just create a WPS file that looks like this?
Code: [Select]
%wd
That should disable the status bar and display no further information (I haven't tested it, though ;)  )
« Last Edit: September 28, 2006, 03:42:02 PM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #2 on: September 28, 2006, 06:16:59 PM »
didn't work.
only the first image displayed again.

Code: [Select]
%xl|b|1_bd.bmp|1|1|
%xl|c|2_bd.bmp|1|1|
%xl|d|3_bd.bmp|1|1|
%xl|e|4_bd.bmp|1|1|
%xl|f|5_bd.bmp|1|1|
%xl|g|6_bd.bmp|1|1|
%xl|h|7_bd.bmp|1|1|
%xl|i|8_bd.bmp|1|1|

%t0.5 %xdb;%t0.5 %xdc;%t0.5 %xdd

%wd worked fine though.

also, its weird, i'm getting a flashing bar at the top. the flashing is the proper interval that i set, but its not the picture flashing.
Logged

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #3 on: September 28, 2006, 07:32:39 PM »
let me explain a little so i can see if im doing something completely idiotic.

the following code displays image 1_bd.bmp just fine
Code: [Select]
%xl|a|1_bd.bmp|1|1|
%xl|b|2_bd.bmp|1|1|
%xl|c|3_bd.bmp|1|1|
%xl|d|4_bd.bmp|1|1|
%xl|e|5_bd.bmp|1|1|
%xl|f|6_bd.bmp|1|1|
%xl|g|7_bd.bmp|1|1|
%xl|h|8_bd.bmp|1|1|
%xda

this code is exactly the same except for using %xdb. wps will NOT display 2_bd.bmp
Code: [Select]
%xl|a|1_bd.bmp|1|1|
%xl|b|2_bd.bmp|1|1|
%xl|c|3_bd.bmp|1|1|
%xl|d|4_bd.bmp|1|1|
%xl|e|5_bd.bmp|1|1|
%xl|f|6_bd.bmp|1|1|
%xl|g|7_bd.bmp|1|1|
%xl|h|8_bd.bmp|1|1|
%xdb

if i delete the top line, the %xdb displays 2_bd.bmp with no problems.
Code: [Select]
%xl|b|2_bd.bmp|1|1|
%xl|c|3_bd.bmp|1|1|
%xl|d|4_bd.bmp|1|1|
%xl|e|5_bd.bmp|1|1|
%xl|f|6_bd.bmp|1|1|
%xl|g|7_bd.bmp|1|1|
%xl|h|8_bd.bmp|1|1|
%xdb

driving me crazy.

btw im using the precompiled win32 h10 uisim. no patches.
Logged

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #4 on: September 28, 2006, 08:04:56 PM »
btw.

i pulled this http://img.photobucket.com/albums/v282/gregken/thHeadbangers.gif

from another thread and i'm trying to get it into a wps for my h10.

yes, each frame is separated into its own .bmp mono.

as stated before, only one image displays with no rotation.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: animations? what am i doing wrong?
« Reply #5 on: September 28, 2006, 08:08:08 PM »
Are you sure the .bmps are saved as mono? What are their filesizes?

It sounds like you're running out of bitmap buffer space. The image itself is grayscale, so it seems strange that you'd save it as mono...
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: animations? what am i doing wrong?
« Reply #6 on: September 28, 2006, 08:11:21 PM »
this was the code i used to get headbangers to work, as you can see for my headbangers pics to work i had to combine lines.

%wd
%x|a|background.bmp|0|0|
%xl|b|background1.bmp|0|40|
%xl|c|background2.bmp|0|40|
%xl|d|background3.bmp|0|40|
%xl|e|background4.bmp|0|40|
%s%ac%?it<%it|Title Unknown>
%s%ac%?ia<%ia|Artist Unknown>
%t0.2%xdb%ac%pc/%pt;%t0.2%xdc%ac%pc/%pt;%t0.2%xdd%ac%pc/%pt;%t0.2%xde%ac%pc/%pt;

is your h10 the 20 gig?
Logged

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #7 on: September 28, 2006, 10:00:28 PM »
Llorean:

each frame is 22k. i messed up and put mono in my post, it is greyscale.


HWEB21:

the 20GB model.
i used exactly the code you posted.
Code: [Select]
%wd
%x|a|background.bmp|0|0|
%xl|b|background1.bmp|0|40|
%xl|c|background2.bmp|0|40|
%xl|d|background3.bmp|0|40|
%xl|e|background4.bmp|0|40|
%s%ac%?it<%it|Title Unknown>
%s%ac%?ia<%ia|Artist Unknown>
%t0.2%xdb%ac%pc/%pt;%t0.2%xdc%ac%pc/%pt;%t0.2%xdd%ac%pc/%pt;%t0.2%xde%ac%pc/%pt;


and still only the first image displays itself. very weird, i know the images are correct if the first one displays itself atleast.
« Last Edit: September 28, 2006, 10:05:13 PM by pixeldotz »
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: animations? what am i doing wrong?
« Reply #8 on: September 29, 2006, 08:59:46 AM »
then my code should work since it runs on my x5 (same screen size as the 20gig)

i will give you a zip of it later and post it here.
« Last Edit: September 29, 2006, 09:02:40 AM by HWEB21 »
Logged

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #9 on: September 29, 2006, 10:58:26 AM »
thank for that :)

please post it so i can put it on my h10. i'm not going to give up on this though :) i'm going to compare your's to mine to see what i'm doing wrong.

also, is that ness in the pic with his friends? (one of the best rpgs ever btw.)
Logged

Offline TheKind

  • Member
  • *
  • Posts: 9
Re: animations? what am i doing wrong?
« Reply #10 on: September 29, 2006, 03:02:57 PM »
%s%ac%?it<%it|Title Unknown>
%s%ac%?ia<%ia|Artist Unknown>

You can do that:
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d1<%d1|Artist Unknown>>

d1 -> Name of the folder, if you're on /, no folder so you can show Artist Unknow
%fn -> File name.

Just if you want of course. Good luck for your H10 wps, waiting for it (if for 5/6gb)
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: animations? what am i doing wrong?
« Reply #11 on: September 29, 2006, 08:36:41 PM »
hm yes, that is the code i usually use. hmmm, give me one day to update it since it is a few years old and it was for the h120 (black and white) so i can update the code and put it in grayscale like the gif.

but here is the old version
http://rapidshare.de/files/34929586/headbangersoldv.zip.html
Logged

Offline pixeldotz

  • Member
  • *
  • Posts: 63
Re: animations? what am i doing wrong?
« Reply #12 on: September 30, 2006, 05:42:15 AM »
hweb:

that one worked fine. i guess the sim or rockbox for that matter didn't like the greyscale images. i downsampled them to 1 bit (black/white) and it works fine.

i think it was the filesize though. my images where only 22k though, and i have made an animated wps before that worked with color images.

oh well, this worked :)

thanks for all the help everyone.

i actually had one last question. i noticed it plays really slowly even with t.01 as the time limit, but when i use the scroll pad to lower and up the volume the animation speeds up. is there anyway to keep the ani at that fast speed or is it some kind of refresh issue? (this is on the actual h10 and the sim)
« Last Edit: September 30, 2006, 11:32:22 AM by pixeldotz »
Logged

Offline RaiderX

  • Member
  • *
  • Posts: 16
Re: animations? what am i doing wrong?
« Reply #13 on: October 01, 2006, 10:14:20 AM »
Quote from: pixeldotz on September 28, 2006, 08:04:56 PM
btw.

i pulled this http://img.photobucket.com/albums/v282/gregken/thHeadbangers.gif

from another thread and i'm trying to get it into a wps for my h10.

yes, each frame is separated into its own .bmp mono.

as stated before, only one image displays with no rotation.
that is sooo cool! EarthBound ftw!

sorry for being off topic, i just had ot say that..  :-X
Logged

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: animations? what am i doing wrong?
« Reply #14 on: October 06, 2006, 04:47:15 PM »
Quote from: Llorean on September 28, 2006, 08:08:08 PM
Are you sure the .bmps are saved as mono? What are their filesizes?

It sounds like you're running out of bitmap buffer space. The image itself is grayscale, so it seems strange that you'd save it as mono...
How big is the bitmap buffer space?
sorry but did i understand right that a backroundanimation is only possible with monochrom bitmaps?
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  animations? what am i doing wrong?
 

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

Page created in 0.113 seconds with 14 queries.