Difference between revisions of "Creating an osd.bin"
(Created page with 'Intro to OSD MODDING If I can do this so can you!!!!!!! :mrgreen: First let's set up you're computer for OSD modding You'll need programs for the following: graphics editing X…') |
|||
Line 1: | Line 1: | ||
Intro to OSD MODDING | Intro to OSD MODDING | ||
− | If I can do this so can you!!!!!!! | + | |
+ | If I can do this so can you!!!!!!! | ||
+ | |||
First let's set up you're computer for OSD modding | First let's set up you're computer for OSD modding | ||
+ | |||
You'll need programs for the following: | You'll need programs for the following: | ||
Line 9: | Line 12: | ||
XML editing | XML editing | ||
Linux OS | Linux OS | ||
+ | |||
Here's how I started. | Here's how I started. | ||
+ | |||
since I don't have a computer specific for linux I installed | since I don't have a computer specific for linux I installed | ||
Line 16: | Line 21: | ||
VMWare Player is free and allows you to set up a linux OS without needing another computer | VMWare Player is free and allows you to set up a linux OS without needing another computer | ||
http://www.vmware.com/products/player/ | http://www.vmware.com/products/player/ | ||
+ | |||
Once VMWare player was installed, I downloaded and installed Kubuntu | Once VMWare player was installed, I downloaded and installed Kubuntu | ||
Kubuntu is a free linux distribution, which I installed inside VMWare Player as the Operating system | Kubuntu is a free linux distribution, which I installed inside VMWare Player as the Operating system | ||
+ | |||
Next download the stock.osd.bin , this will be your framework for creating your own theme | Next download the stock.osd.bin , this will be your framework for creating your own theme | ||
by using this you will not need to learn to create your own .bin file | by using this you will not need to learn to create your own .bin file | ||
http://forum.wdlxtv.com/viewtopic.php?f=45&t=132&start=10#p805 | http://forum.wdlxtv.com/viewtopic.php?f=45&t=132&start=10#p805 | ||
+ | |||
an additional program that you may find helpful is: | an additional program that you may find helpful is: | ||
explore2fs - this will allow you access to the files inside stock.osd.bin within a windows environment, you'll simply export the directory to whatever folder you desire within windows, you can then edit any photo's or xml's with your favorite windows based editing programs | explore2fs - this will allow you access to the files inside stock.osd.bin within a windows environment, you'll simply export the directory to whatever folder you desire within windows, you can then edit any photo's or xml's with your favorite windows based editing programs | ||
http://www.chrysocome.net/explore2fs | http://www.chrysocome.net/explore2fs | ||
+ | |||
if you like you can configure vmware player to share files between your 2 desktops, but for ease, I simply used a usb stick, copied stock.osd.bin and renamed it kad.osd.bin you can name your mod whatever you like xxxx.osd.bin | if you like you can configure vmware player to share files between your 2 desktops, but for ease, I simply used a usb stick, copied stock.osd.bin and renamed it kad.osd.bin you can name your mod whatever you like xxxx.osd.bin | ||
+ | |||
I then copied the file to the kubuntu desktop | I then copied the file to the kubuntu desktop | ||
and created a folder on the desktop called "osd" | and created a folder on the desktop called "osd" | ||
this folder will be the mounting point for accessing files within xxxx.osd.bin | this folder will be the mounting point for accessing files within xxxx.osd.bin | ||
+ | |||
in kubuntu open the terminal from the location of stock.osd.bin | in kubuntu open the terminal from the location of stock.osd.bin | ||
+ | |||
type | type | ||
− | + | ||
sudo mount -o loop stock.osd.bin osd | sudo mount -o loop stock.osd.bin osd | ||
Line 48: | Line 60: | ||
if you have chosen different locations for your stock.osd.bin or your folder used for a mounting point you will need to adjust the commands for the correct path and directory | if you have chosen different locations for your stock.osd.bin or your folder used for a mounting point you will need to adjust the commands for the correct path and directory | ||
+ | |||
the above command will prompt for sudo password, sudo is the equivelent of administrator | the above command will prompt for sudo password, sudo is the equivelent of administrator | ||
and should be the password for your user id in kubuntu, if you're the administrator, which I suspect you are, type your password and key "enter" | and should be the password for your user id in kubuntu, if you're the administrator, which I suspect you are, type your password and key "enter" | ||
+ | |||
now check the osd folder | now check the osd folder | ||
you should see several folders and alot of xml's | you should see several folders and alot of xml's | ||
+ | |||
trouble shooting | trouble shooting | ||
+ | |||
if you do not see the files, but file manager shows any number of files | if you do not see the files, but file manager shows any number of files | ||
+ | |||
if you can see xml's but upon entering the folder images you can't see anything | if you can see xml's but upon entering the folder images you can't see anything | ||
+ | |||
if you can not paste your edited images into the images folder | if you can not paste your edited images into the images folder | ||
+ | |||
go to the terminal and type | go to the terminal and type | ||
− | + | ||
sudo chmod -R 777 osd | sudo chmod -R 777 osd | ||
Line 71: | Line 90: | ||
this will adjust the file permissions so that everything is editablenow just copy paste your edited jpg. .png or .xml files, which you edited with your favorite editing program | this will adjust the file permissions so that everything is editablenow just copy paste your edited jpg. .png or .xml files, which you edited with your favorite editing program | ||
+ | |||
there are a couple of images from the images folder that are used, example | there are a couple of images from the images folder that are used, example | ||
+ | |||
villa_bg.jpg | villa_bg.jpg | ||
+ | |||
screen_saver.png | screen_saver.png | ||
+ | |||
the majority of icons used are located at images/villa/ | the majority of icons used are located at images/villa/ | ||
+ | |||
some examples include: | some examples include: | ||
+ | |||
video icon selected = home_video_main_icon_f.png | video icon selected = home_video_main_icon_f.png | ||
+ | |||
video icon not selected = home_video_main_icon_n.png | video icon not selected = home_video_main_icon_n.png | ||
+ | |||
photo icon selected = home_photo_main_icon_f.png | photo icon selected = home_photo_main_icon_f.png | ||
+ | |||
photo icon not selected = home_photo_main_icon_n.png | photo icon not selected = home_photo_main_icon_n.png | ||
+ | |||
music icon selected = home_music_main_icon_f.png | music icon selected = home_music_main_icon_f.png | ||
+ | |||
music icon not selected = home_music_main_icon_n.png | music icon not selected = home_music_main_icon_n.png | ||
+ | |||
setting icon selected = home_setting_main_icon_f.png | setting icon selected = home_setting_main_icon_f.png | ||
+ | |||
setting icon not selected = home_setting_main_icon_n.png | setting icon not selected = home_setting_main_icon_n.png | ||
+ | |||
and of coarse many more | and of coarse many more | ||
+ | |||
once all your files are in place | once all your files are in place | ||
go to your terminal and type | go to your terminal and type | ||
− | + | ||
sudo umount osd | sudo umount osd | ||
Line 109: | Line 143: | ||
of coarse many other things can be changed | of coarse many other things can be changed | ||
+ | |||
the xml files describe image location and attributes | the xml files describe image location and attributes | ||
Line 114: | Line 149: | ||
I'm still learning how to edit xml's but I found the linux program "Kate" | I'm still learning how to edit xml's but I found the linux program "Kate" | ||
which is included in kubuntu does just fine | which is included in kubuntu does just fine | ||
+ | |||
you'll find most items are described with: | you'll find most items are described with: | ||
+ | |||
x=(horizotal starting point) 0 is left | x=(horizotal starting point) 0 is left | ||
+ | |||
y=(vertical starting point) 0 is top | y=(vertical starting point) 0 is top | ||
+ | |||
w=(width of image) | w=(width of image) | ||
+ | |||
h=(hight of image) | h=(hight of image) | ||
+ | |||
textcolor="0xC0C0C0" | textcolor="0xC0C0C0" | ||
+ | |||
etc | etc | ||
+ | |||
I plan to update this guide as possible and invite more experience OSD modders to fill in gaps. and outline more complex items not addressed here which might include more detail on xml editing, text editing, custom scripts, svn updatable, etc | I plan to update this guide as possible and invite more experience OSD modders to fill in gaps. and outline more complex items not addressed here which might include more detail on xml editing, text editing, custom scripts, svn updatable, etc | ||
+ | |||
2 additional resources/tools are: | 2 additional resources/tools are: | ||
http://b-rad.cc/877/wdtv-osd-how-to-make-a-custom-theme/ | http://b-rad.cc/877/wdtv-osd-how-to-make-a-custom-theme/ | ||
http://wdtvforum.com/main/index.php?PHPSESSID=3c5frc3dv7rc2s0ao8ups9hj00&topic=1626.0 | http://wdtvforum.com/main/index.php?PHPSESSID=3c5frc3dv7rc2s0ao8ups9hj00&topic=1626.0 | ||
+ | |||
KAD | KAD | ||
+ | |||
Orginal post at: http://forum.wdlxtv.com/viewtopic.php?f=45&t=1899 | Orginal post at: http://forum.wdlxtv.com/viewtopic.php?f=45&t=1899 |
Revision as of 08:29, 14 October 2010
Intro to OSD MODDING
If I can do this so can you!!!!!!!
First let's set up you're computer for OSD modding
You'll need programs for the following:
graphics editing
XML editing
Linux OS
Here's how I started.
since I don't have a computer specific for linux I installed
VMWare Player on my vista laptop
VMWare Player is free and allows you to set up a linux OS without needing another computer
http://www.vmware.com/products/player/
Once VMWare player was installed, I downloaded and installed Kubuntu
Kubuntu is a free linux distribution, which I installed inside VMWare Player as the Operating system
Next download the stock.osd.bin , this will be your framework for creating your own theme
by using this you will not need to learn to create your own .bin file
http://forum.wdlxtv.com/viewtopic.php?f=45&t=132&start=10#p805
an additional program that you may find helpful is:
explore2fs - this will allow you access to the files inside stock.osd.bin within a windows environment, you'll simply export the directory to whatever folder you desire within windows, you can then edit any photo's or xml's with your favorite windows based editing programs
http://www.chrysocome.net/explore2fs
if you like you can configure vmware player to share files between your 2 desktops, but for ease, I simply used a usb stick, copied stock.osd.bin and renamed it kad.osd.bin you can name your mod whatever you like xxxx.osd.bin
I then copied the file to the kubuntu desktop
and created a folder on the desktop called "osd"
this folder will be the mounting point for accessing files within xxxx.osd.bin
in kubuntu open the terminal from the location of stock.osd.bin
type
sudo mount -o loop stock.osd.bin osd
where
stock.osd.bin = the name of your osd.bin file osd = the name of the folder your created earlier on desktop (mounting point)
if you have chosen different locations for your stock.osd.bin or your folder used for a mounting point you will need to adjust the commands for the correct path and directory
the above command will prompt for sudo password, sudo is the equivelent of administrator
and should be the password for your user id in kubuntu, if you're the administrator, which I suspect you are, type your password and key "enter"
now check the osd folder
you should see several folders and alot of xml's
trouble shooting
if you do not see the files, but file manager shows any number of files
if you can see xml's but upon entering the folder images you can't see anything
if you can not paste your edited images into the images folder
go to the terminal and type
sudo chmod -R 777 osd
where
osd = the folder created earlier (mounting point)
this will adjust the file permissions so that everything is editablenow just copy paste your edited jpg. .png or .xml files, which you edited with your favorite editing program
there are a couple of images from the images folder that are used, example
villa_bg.jpg
screen_saver.png
the majority of icons used are located at images/villa/
some examples include:
video icon selected = home_video_main_icon_f.png
video icon not selected = home_video_main_icon_n.png
photo icon selected = home_photo_main_icon_f.png
photo icon not selected = home_photo_main_icon_n.png
music icon selected = home_music_main_icon_f.png
music icon not selected = home_music_main_icon_n.png
setting icon selected = home_setting_main_icon_f.png
setting icon not selected = home_setting_main_icon_n.png
and of coarse many more
once all your files are in place
go to your terminal and type
sudo umount osd
where
osd = folder created earlier (mounting point)
this will unmount the osd.bin file and save all the changes you have made
now copy your modified xxxx.osd.bin it to your usb stick and insert into wdtvlive and reboot
you should see the effect of your changes
of coarse many other things can be changed
the xml files describe image location and attributes
the majority of the home page is taken from villa_home.xml
I'm still learning how to edit xml's but I found the linux program "Kate"
which is included in kubuntu does just fine
you'll find most items are described with:
x=(horizotal starting point) 0 is left
y=(vertical starting point) 0 is top
w=(width of image)
h=(hight of image)
textcolor="0xC0C0C0"
etc
I plan to update this guide as possible and invite more experience OSD modders to fill in gaps. and outline more complex items not addressed here which might include more detail on xml editing, text editing, custom scripts, svn updatable, etc
2 additional resources/tools are:
http://b-rad.cc/877/wdtv-osd-how-to-make-a-custom-theme/
http://wdtvforum.com/main/index.php?PHPSESSID=3c5frc3dv7rc2s0ao8ups9hj00&topic=1626.0
KAD
Orginal post at: http://forum.wdlxtv.com/viewtopic.php?f=45&t=1899