Sign up here and you can log into the forum!

Beginers Guide to creating custom OSD

Anything and everything related to OSD modifcation & theming.

Re: Beginers Guide to creating custom OSD   

Postby scoobydo » Tue Oct 11, 2011 10:52 am

hehe :)

You are right. But i will put the modified Templates into the rar. so that the people can use them. The screen is now 1280 x 720 x=0 y=0
But i tried it also with a resolution of 1280 x 470 and set the linksheet and sheet.xml to x=0 and y=220. and most of the sheet Templates are working. std and wall is untouched.

I will play around and when everything is done is there for sure a tester for this osd :)
scoobydo
Donor
 
Posts: 26
Joined: Mon Feb 21, 2011 1:52 am

Re: Beginers Guide to creating custom OSD   

Postby hobbitjack » Wed Oct 12, 2011 9:07 am

How would i display the time on the homescreen? Ive tried editing villa_home.xml and replacing @@current_node_name with @@time, but it just makes the node name dissapear and displays nothing in its place.

Theres a plugin to do this, but im running the latest beta fw 0.5.1.* .

My plan is to get it to display "Wednesday, October 12, 2011 | 18:06PM", which might not even be possible.
hobbitjack
Donor
 
Posts: 54
Joined: Thu Apr 21, 2011 9:35 am

Re: Beginers Guide to creating custom OSD   

Postby KAD » Wed Oct 12, 2011 9:23 am

it's only possible to add @@value using wdtvext which only runs on 1.02.21

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4021
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Beginers Guide to creating custom OSD   

Postby hobbitjack » Wed Oct 12, 2011 9:34 am

Doh! I would go back to that, but then i cant use linksheets can i?
hobbitjack
Donor
 
Posts: 54
Joined: Thu Apr 21, 2011 9:35 am

Re: Beginers Guide to creating custom OSD   

Postby recliq » Wed Oct 12, 2011 9:58 am

You CAN but i'd not recommend that, instead you get ExtSheet plugin to display moviesheets. :mrgreen:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5035
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Beginers Guide to creating custom OSD   

Postby dzebrys » Thu Oct 13, 2011 11:06 am

hobbitjack wrote:How would i display the time on the homescreen? Ive tried editing villa_home.xml and replacing @@current_node_name with @@time, but it just makes the node name dissapear and displays nothing in its place.

Theres a plugin to do this, but im running the latest beta fw 0.5.1.* .

My plan is to get it to display "Wednesday, October 12, 2011 | 18:06PM", which might not even be possible.


hi,

with 1.02.21 you can try like this...

Code: Select all
ClockPlugin.prototype.onPageCreated =  function(page){
  if(page.markupFileName == "villa_home.xml") {
    if(!page.extraContent) {
        page.extraContent = "";
    }
    page.extraContent += <wrapper>
    <text text="@@timeAndDate" x="60" y="40" w="300" h="30" fontsize="26" align="left" textcolor="0xcccccc"/>
    </wrapper>;
  }
}

ClockPlugin.prototype.onPageTimer =  function(page){
  if(page.markupFileName == "villa_home.xml") {
    var currentDate = new Date();
    var day = currentDate.getDate();
    var month = currentDate.getMonth();
    var year = currentDate.getFullYear();
    var hours = currentDate.getHours();
    var minutes = currentDate.getMinutes();
    var seconds = currentDate.getSeconds();
    if (minutes < 10) {
      minutes = "0" + minutes;
    }
    if (seconds < 10) {
      seconds = "0" + seconds;
    }
    page.setParam("timeAndDate", hours + ":" + minutes + ":" + seconds + ", " + day + "/" + month + "/" + year);
  }
}
User avatar
dzebrys
DLX'er
 
Posts: 130
Joined: Mon Feb 14, 2011 1:49 am
Location: poland

Re: Beginers Guide to creating custom OSD   

Postby hobbitjack » Thu Oct 13, 2011 1:12 pm

Nice one, thanks dude, ill give that a go :D.
hobbitjack
Donor
 
Posts: 54
Joined: Thu Apr 21, 2011 9:35 am

Re: Beginers Guide to creating custom OSD   

Postby ARYEZ » Mon Dec 26, 2011 8:46 pm

Ok so let me start this by saying that I have no experience at all with Linux or OSD modding, having said that though, I have read the wiki on creating an OSD and am attempting to do some simple tweaks. I downloaded exploref2s, and exported the directory for the stock.osd.bin to a new folder which I called "Aryez OSD". I then edited all the images I was looking to replace in photoshop and my OSD is ready to go, but now I don't know what to do to make my changes final?

I downloaded VM player and Kubunutu, and copied aryez.osd.bin to that desktop. Clicked on it and when prompted typed in "sudo mount -o loop aryez.osd.bin aryez osd" and made sure the box for "run in terminal" was checked. After that a black screen comes up that asks me for my sudo password (which I know from the wiki is my Kubunutu password) however when I try to type it in nothing happens. At first I thought it wasnt recognizing my keyboard, but when if I hit the enter key it tells me the password is wrong. This tells me that it's definitely receiving input from my keyboard, so then I assumed that it must be working but not displaying any letters of the password. I attempted to type the password in mulitple times but nothing happened. Has anyone come across this before? Any help would be greatly appreciated.
ARYEZ
n00b
 
Posts: 18
Joined: Sun Feb 27, 2011 1:52 pm

Re: Beginers Guide to creating custom OSD   

Postby KAD » Tue Dec 27, 2011 8:30 am

linux does not show the password you typed, but it is receiving the input
type the password and hit enter

you'll be returned to prompt if successful, then just take a look at your mount point
you should see the contents of xxxx.osd.bin

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4021
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Beginers Guide to creating custom OSD   

Postby ARYEZ » Tue Dec 27, 2011 9:03 pm

Hey KAD thanks for the reply, after trying the suggestions I have a few follow up questions...please excuse the overall n00bness of my questions lol.

pic #1
Image

Ok so in the first pic you can see inside the folder "aryez osd." As you see the bin file is there "aryez.osd.bin" I clicked on the tool icon and scrolled down to the "open in terminal" option. I then typed in "sudo mount -o loop aryez.osd.bin aryez osd" as you see in the picture. I was then prompted for my Sudo password, which I entered. however once I entered my Sudo password I got the following response (seen in pic #2)

pic #2
Image

Once again I apologize if Im asking questions about things that should be obvious, but Im lost as to what I should do next. Did I skip a step somewhere or am I going about opening/mounting the file in the wrong way?

Thanks in advance for your reply.
ARYEZ
n00b
 
Posts: 18
Joined: Sun Feb 27, 2011 1:52 pm

PreviousNext

Return to WDTV G2 & WDTV Live Theming

Who is online

Users browsing this forum: No registered users and 2 guests