Support and General Use > Theming and Appearance Customization

Time & Date/Gigabeat F40 Themes/Updating Ajax RTC

<< < (2/2)

makotochan:
I guess I'm just incapable of getting it to work ....  

what do I need to Do ???
 this is the wps :

# frostBox WPS NonAA v1
# Made by Chris Banes (senab)
# http://www.senab.co.uk/rockbox/
# chris@senab.co.uk
#
# modified for 240x320 by DeanM
#   Added time remaining for sleep mode
#   Feb 16 2007
%X|bg.bmp|
%P|pb.bmp|
#
%xl|a|vol0.bmp|21|0|
%xl|b|vol1.bmp|21|0|
%xl|c|vol2.bmp|21|0|
%xl|d|vol3.bmp|21|0|
%xl|e|vol4.bmp|21|0|
%xl|f|vol5.bmp|21|0|
%xl|g|vol6.bmp|21|0|
%xl|h|vol7.bmp|21|0|
%xl|i|vol8.bmp|21|0|
%xl|j|vol9.bmp|21|0|
%xl|k|vol10.bmp|21|0|
#
%xl|l|stop.bmp|43|268|
%xl|m|play.bmp|43|268|
%xl|n|pause.bmp|43|268|
#
%xl|o|rw.bmp|10|274|
%xl|p|ff.bmp|88|274|
#
%xl|B|rpt_on1.bmp|200|233|
%xl|C|rpt_on.bmp|200|233|
%xl|D|rpt_on_ab.bmp|200|233|
%xl|E|rpt_on_sh.bmp|200|233|
%xl|F|rpt_off.bmp|200|233|
#
%xl|G|shf_off.bmp|224|232|
%xl|H|shf_on.bmp|224|232|
#
%xl|I|b0.bmp|198|0|
%xl|J|b1.bmp|198|0|
%xl|K|b2.bmp|198|0|
%xl|L|b3.bmp|198|0|
%xl|M|b4.bmp|198|0|
%xl|N|b5.bmp|198|0|
%xl|O|r1.bmp|134|0|
%xl|P|r2.bmp|134|0|
%xl|Q|h.bmp|165|0|
%wd

%ar%fc (%?fb)
%ar%ig | %iy
%ar%?in (%pp/%pe)





%al %?ia
%al %?it
%al %?id

%al%?It
%al %s%?Ia


%pb|9|0|240|
%ar%pc [%pt]
%arB:%bl%% V:%pvdb

%ar%?bs
#
%?pv
%?ps
%?mp
%?mm
%?bp
%?mh
%?lh
#AlbumArt
%Cl|12|40|sc100|sb100|
%C

I Can't Understand what it is I'm supposed to Add or modify ....
please help I'm totally confused ...
thanks for helping a moron ...

Nate!:

--- Quote from: Nate! ---If you are trying to edit it to add RTC info, then take a look at the RTC tags in the link posted by thenrik.
--- End quote ---


--- Quote from: Nate! ---Placement is relative to where you want it to appear in the WPS.  So if you want it under the battery info, place the RTC tags under the line that starts with: %?bp
--- End quote ---

So towards the bottom of the code you pasted, you'll find the following line:

--- Code: ---%?bp

--- End code ---
Under it you can use the RTC tags. For example: %cl:%cM will give you the time = HH:MM.

Again, look at the Real Time Clock tags to see what the options are for displaying the date and time.

Also once you add this code, you'll have to play around with how the stuff under it displays.  I think the Hold indicator and Disc Access icon may be out of place now.  You'll have to either add a line above them or something.

Good luck.

thenrik:
Hey Natel:

I think we're operating under the wrong assumption: that adding complaint RTC code will make frostBox WPS NonAA v1 work properly. I tried adding RTC code to the Frostbox normal.wps and then restarted my Gigabeat and found no images, black background--a mess. So I downloaded the latest zip file from the wiki page and did a fresh install and got: a mess with no images loading and a black background.

As elborak pointed out:

--- Quote ---Check the changelog:

21 Apr 19:31   More strict WPS parsing and displaying code. If there are errors, WPS loading will fail and the default WPS will be displayed.
--- End quote ---

I believe that before if non-compliant code existed, it was ignored and continued to use subsequent compliant code. If I understand the current situation, when rockbox comes across non-complaint code it just stops, not ignoring the non-compliant code and continuing on to subsequent compliant code.

So fixing Frostbox Non Aa would be a huge job. As the images aren't loading, you'd have to look at a presumably compliant wps, perhaps the most recent Short Circuit theme. You'd have to figure out how the author successfully loaded the images in Short Circuit and then go back to Frostbox and identify the bad code and replace it with good code.

You'd have to go to the custom wps wiki page:
http://www.rockbox.org/tw...i/bin/view/Main/CustomWPS

Do a search in your browser for all of the %xx codes to figure out the complaint code and be able to identify the bad code to boot.

If you can do it, you'll be making your own wps themes in no time but it's a big job.

Modifying Ajax was fairly easy, just adding compliant RTC code. There were no images with just white text against a black background.

Don't beat yourself up for being a "moron" as there's obviously a lot of non-compliant code in Frostbox

Tom

Navigation

[0] Message Index

[*] Previous page

Go to full version