Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: moskitta75 on September 01, 2010, 08:07:52 PM

Title: Cabbie V2 on Sansa FUZE
Post by: moskitta75 on September 01, 2010, 08:07:52 PM
Hi, by now I'm using cabbie V2 for playing theme. When I installed it I found that there was a mistake in the positioning of the line with time played, song playing/songs in playlist and time remaining because this line was upon the graphical line indicator time.
Not a very problem, I correct it in a few minutes but I had to try some times before finding the correct value to change and where to change.
I don't know if it's the same for all FUZEs out there that play with cabbie V2 theme but I think it is and so I give here the correct file cabbiev2.wps to overwrite on the existing file in your Sansa FUZE at .rockbox/wps folder:
Code: [Select]
# Cabbie 2.0 default
# (C) 2007, Johannes Voggenthaler (Zinc Alloy)
# Derived from "cabbie" (C) Yohann Misquitta
#
# Disable Status Bar
%wd
#
# Load Backdrop
%X(wpsbackdrop-220x176x16.bmp)
#
# Preload Images
%xl(A,lock-220x176x16.bmp,0,0,2)
%xl(B,battery-220x176x16.bmp,0,0,10)
%xl(C,volume-220x176x16.bmp,0,0,10)
%xl(D,shuffle-220x176x16.bmp,0,0)
%xl(E,repeat-220x176x16.bmp,0,0,4)
%xl(F,playmode-220x176x16.bmp,0,0,5)
#
# Album Art/Info Viewport Conditional
%?C<%Vd(a)|%Vd(b)>
#
# Progress Bar
%V(11,121,199,8,-)
%pb(0,0,199,8,pb-220x176x16.bmp)
#
# Hold
%V(88,152,17,13,-)
%?mh<%xd(Aa)|%xd(Ab)>
#
# Battery
%V(110,153,20,11,-)
%?bp<%?bc<%xd(Ba)|%xd(Bb)>|%?bl<|%xd(Bc)|%xd(Bd)|%xd(Be)|%xd(Bf)|%xd(Bg)|%xd(Bh)|%xd(Bi)|%xd(Bj)>>
#
# Volume
%V(134,153,16,11,-)
%?pv<%xd(Ca)|%xd(Cb)|%xd(Cc)|%xd(Cd)|%xd(Ce)|%xd(Cf)|%xd(Cg)|%xd(Ch)|%xd(Ci)|%xd(Cj)>
#
# Shuffle
%V(155,153,20,10,-)
%?ps<%xd(D)>
#
# Repeat
%V(182,151,11,15,-)
%?mm<|%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)>
#
# Playmode
%V(200,152,12,13,-)
%?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
#
# Time Elapsed/Remaining
%V(11,130,199,20,-)
%al%pc%ac%?Sr<%pe %Sx(of) %pp|%pp %Sx(of) %pe>%ar%pr
#
# Album Art
%ax%Vl(a,15,32,75,75,-)
%Cl(0,0,75,75,c,c)
%Cd
#
# Track Info - Album Art
%ax%Vl(a,105,30,-,90,-)
%s%al%?it<%it|%fn>
%s%al%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%s%al%?id<%id|%?d(1)<%d(1)|%(root%)>>

%s%al%Sx(Next Track:)
%s%al%?It<%It|%Fn>
#
# Track Info - No Album Art
%Vl(b,0,30,-,90,-)
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>

%ac%Sx(Next Track:)
%s%ac%?It<%It|%Fn>

I would be happy if it will help if someone didn't fix it yet, make me know!
Title: Re: Cabbie V2 on Sansa FUZE
Post by: [Saint] on September 02, 2010, 02:40:21 AM
Did you post the correct file?

The code you posted is exactly that of SVN, ie. no changes.
If I did break the theme, I'd be interested to know where I did so.
I seem to remember it looking fine during testing but there were a couple of errors that escaped me in my initial patch, and it was some time now since I updated the themes...I am kind of surprised that it has taken so long for an error to be noticed.

I apologise for the inconvenience.

Please, if you can post the changes you made, I would appreciate it.
I will have a look in a short time myself to see if I can discover where I went wrong.


Thanks,
[St.]
Title: Re: Cabbie V2 on Sansa FUZE
Post by: moskitta75 on September 02, 2010, 03:12:34 PM
I explained the little mistake in the post, the gap is that the line with the track time elapsed, track number/tracks and time remaining was a little bit upon the graphic time line, I correct by changing only an Y number to put this line a little bit down.
I posted it only now because I got the time and I remember to do that.
I posted it thinking to all the people out there that use RB but can't modify something to fix it.

I repeat the error I found is in cabbie v2 playing theme that I'm using by now.