Go Back   Zune Boards > Zune Discussions > Zune Hacks & Mods

Zune Hacks & Mods All Zune Hacks & Mods will be in here.

Reply
 
LinkBack Thread Tools
Old 02-16-2009, 05:22 PM   #1 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default Zune Software Hacking Tutorial [Partially Working with 4.0]

UPDATE: 10/28/2009 -- only editing background images works (nothing dealing with Styles.UIX works with 4.0) See Here: http://www.zuneboards.com/forums/zun...theme-x64.html

Ok, this is going to be my first guide so bear with me. I may need to edit things a few times to get all the kinks worked out. My results are at the bottom

I would make a youtube video, but I think the process takes too long to do.

By the way, I am using 3.1 firmware/software, so this works with the newest software/firmware.

THINGS YOU NEED:
1. FOR XP: Resource Hacker: http://angusj.com/resourcehacker/
FOR VISTA: http://www.bome.com/Restorator/download.html (30 day trial, but this wont' take that long)
I only have screenshots for Resource Hacker, but restorator works very similarly. The big difference, after you select the file (like Styles.UIX) you have to hit f6 to go into edit mode. Also, to extract images, right click the resource and select extract. to save the new resources, right click the resource and select assign... then file save when finished.
2.
The Model of your zune
From what I was working on today I would say the 30gb is KEEL, the 80 and 120 is Draco, and the flash-based players are Scorpius. THIS IS IMPORTANT! YOU WILL NOT BE ABLE TO SEE THE CHANGES UNLESS YOU APPLY THEM TO YOUR SPECIFIC MODEL(s).
3. A number of images that you wish to use for the purposes of changing the background and other parts of the software. NOTE: the dimensions of the zune software background default to 1007 x 756. This isn't too important as the backgrounds are auto sized. THEY MUST BE IN PNG FORMAT!


That should be everything you need, so let's get started!

1. Close the zune software

2. Ok, after you've downloaded and extracted Resource Hacker, navigate to the folder you extracted it to, and open the reshacker.exe file.



3. First, why don't we add a background to the display menu?

within RCDATA, look for the folder STYLES.UIX. After locating that, click the 1033 nested within it.



Scroll down until you see text that looks like this:

<Color Name="DarkGray" Color="55,58,61"/>
<Color Name="WarmGray" Color="130,134,137"/>

The numbers shown on the right, such as 55,58,61, can be edited. The first number controls the amount of red, the second is green, and the third blue (RGB). The max value is 255, and the minimum is 0. You can play around with the numbers to get a desired color, or look for a RGB color table on google. DO NOT change the name of the Color (like DarkGray), only the RGB part on the left. Make sure that for the next part, the don't blend into the background.

Next, in the same area, find (by hitting ctrl+f on the keyboard) the part that starts with <zune:BackgroundOption Description...

this is where we will be creating the new option for the display.

underneath all of the other <zune:BackgroundOption Descritption... areas, add these lines:

<zune:BackgroundOption Description="NAME OF THE BACKGROUND" Value="res://ZuneShellResources!FrameBackground07.png" Color="{new iris:WindowColor(239,239,239)}"/>

NAME OF THE BACKGROUND should be changed to whatever you want the background to show up as. The area ZuneShellResources!FrameBackground07.png points to the png file. FrameBackground07.png does not yet exist. We'll create that in a moment.

Now, up near the top of the box, you should see a compile script button, make sure you press that. Also, now would be a good time to save. Hit file and then save. The program automatically creates a backup, just in case.

4. Now, click on the Action and find Add new Resource. Then click open file with new resource. Navigate to where the file you want as your background is and click it.

SEE THE SCREENSHOTS here.





At this point, hit file... save. If you want to, you can now open up the zune software and then go and select the new display that you created. If the zune software fails to load, there's a good chance you screwed something up. see the troubleshooting section for how to fix that.

OK, so you've now made a display theme, and even changed the font. I'm sure you're happy with yourself, right? I also bet you want to do more! That background when you plug in your zune's cruddy, isn't it? Well, let's fix that!

This is where you need to know the model and the color of your zune.
Under RCDATA, navigate to the area with that name. In my case, with a black zune 120, i would navigate to DRACO.BLACKBLACK.xxx
The first is the color of the zune, and if there's two colors, the second is the color of the metal (i'm pretty sure, i've only done this with 2 different zunes thus far, so i might need community help to make this accurate). As you can see, there are many different .png files you can edit. I'm only going to tell you how to change the background (all the other images are pictures of your zune, so you'll probably want to keep those anyways).




Now, you've gotten lots accomplished on your zune software. It's beginning to look and feel as it should, right? Well, how about we change the color of the dialog box that pops up (when you see errors, or search for album info, that box). Under RCDATA, navigate to DIALOGBACKGROUND.PNG. Do the same process mentioned above, but use the image for the dialog background, and the name should be DIALOGBACKGROUND.PNG for the middle box. Accept and save. Now that part's done.

Now, I'm sure you would love to change the colors of the visualizer-type thing at the bottom of the zune software when playing music. There are 6 files that need changed to do this. I recommend using the existing files, instead of new ones. To do this, under RCDATA, navigate to

NOWPLAYINGANIMATIONxxx.png
xxx = color.

Expand each of those, and individually select 1033, and then hit Action...save resource as binary file. name them orange1.png, orange2.png, orangeandpink.png, pink1.png, pink2.png, and pink3.png, using the proper names with them. What i did here was open the files up in photoshop, went to image...attributes...hue/saturation. I got all the colors to be what i wanted (-30 hue, 100 saturation, 0 lighting) and then saved them. When you replace the existing files, make sure you keep the same file name (ex. orange1 should replace and be named NOWPLAYINGANIMATIONORANGE1.png) After you've done that... save. Now, open up the zune software, and check everything out. You should have a pretty sweet, customized sofware now.

That's all i'm doing for now. Later, I will tell you how to change the font style and the various UI buttons.

TROUBLESHOOTING:
if at any time you cannot load the zune software, this is what you need to do.

1. Close out of the zune software
2. Navigate to the zune's install directory.
3. Delete ZuneShellResources.dll
4. Rename ZuneShellResouces_original.dll to ZuneShellResources.dll
5. Check that the software opens.







I'm just posting the results of the resource hacks that I did to my girlfriend's zune software today.



i changed the color of the visualizer to a bright red and pinkish purple color



I darkened the color of the background here, and you can see the back button that i made in the top right corner



I changed the color of the box that pops up whenever there is an error or any notifications.



this shows the background i used, as well as the changes in font. if you look closely at the search bar, you'll notice that I added a custom font for it (it's one that i made for my girlfriend). Also, I didn't just overwrite another style, I made another option in the display menu called Valentine's Day.


also, check out the youtube i made of my own software;

Tell me what you think

and i guess this could also go in the graphics corner...

Last edited by Red Sky; 10-28-2009 at 12:54 PM.





Red Sky is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 02-16-2009, 05:38 PM   #2 (permalink)
Knowledgable Walrus
Support Team
Retired Staff
Expert Zuner
 
SilentWalrus's Avatar
 
Join Date: Feb 2008
Location: Omaha, Nebraska
Posts: 2,646
SilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to all
Default

That's pretty neat.
Do you have the newest firmware on both the Zune and the software?
__________________

Thanks for the sigs Matt and Charge!
Thanks to PYHO!





SilentWalrus is offline   Reply With Quote
Old 02-16-2009, 05:44 PM   #3 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

yes sir i do.





Red Sky is offline   Reply With Quote
Old 02-16-2009, 05:49 PM   #4 (permalink)
Knowledgable Walrus
Support Team
Retired Staff
Expert Zuner
 
SilentWalrus's Avatar
 
Join Date: Feb 2008
Location: Omaha, Nebraska
Posts: 2,646
SilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to allSilentWalrus is a name known to all
Default

Quote:
Originally Posted by Red Sky View Post
yes sir i do.
How did you do this then?
I'd really like to see this done.
You should do a tutorial for it good sir.
Make it a youtube video so it's really easy to see.
__________________

Thanks for the sigs Matt and Charge!
Thanks to PYHO!





SilentWalrus is offline   Reply With Quote
Old 02-16-2009, 05:56 PM   #5 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

haha, the thing with making a youtube video... i think the whole process took me around 2 hours. I guess the majority of that was the finding and making of the correct files.

I will make another thread on it though.





Red Sky is offline   Reply With Quote
Old 02-16-2009, 05:59 PM   #6 (permalink)
"Dear Agony"Out Sept 29th
Senior Writer
Support Team
GFX Crew
Global Moderator
Ultimate Zuner
 
Charge's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 6,372
Charge has a brilliant futureCharge has a brilliant futureCharge has a brilliant futureCharge has a brilliant futureCharge has a brilliant futureCharge has a brilliant futureCharge has a brilliant futureCharge has a brilliant future
Default

Don't start a new thread. Edit your First Post and get a mod to change the title.

If got the OTHER Zune background hack that comes with preset changes.





Charge is offline   Reply With Quote
Old 02-16-2009, 06:06 PM   #7 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

ok guys, i'm editing this post. it's incomplete, as i'm working on screenshots atm.

Ok, i got the first 2 parts completed. I need a mod to rename this to zune software hacking tutorial or something of the sort. thanks.

ok, i did the majority of the guide, i have a few things to add later.

i'm pretty sure the rule is that after 24 hours, it's not double posting, correct?

anyways, has anyone tried this yet?

Last edited by Azu-nyan; 02-18-2009 at 08:27 AM.





Red Sky is offline   Reply With Quote
Old 02-18-2009, 08:30 AM   #8 (permalink)
Zune Priest
 
Azu-nyan's Avatar
 
Join Date: May 2008
Location: Planet Bob
Posts: 7,088
Azu-nyan is a jewel in the roughAzu-nyan is a jewel in the rough
Send a message via MSN to Azu-nyan Send a message via Skype™ to Azu-nyan
Default

Quote:
Originally Posted by Red Sky View Post
ok guys, i'm editing this post. it's incomplete, as i'm working on screenshots atm.

Ok, i got the first 2 parts completed. I need a mod to rename this to zune software hacking tutorial or something of the sort. thanks.

ok, i did the majority of the guide, i have a few things to add later.

i'm pretty sure the rule is that after 24 hours, it's not double posting, correct?

anyways, has anyone tried this yet?
It is, at the mods discretion more or less. You really didn't need to double post to say that.
__________________

o/ lolBeatrice \o
Quote:
Originally Posted by #sos-dan
21:42 <Azu-nyan>: And no, no happying. <.<
21:42 <Azu-nyan>: fapping*
21:42 <vonPreussen>: Freudian typos xD

Last edited by Azu-nyan; 02-18-2009 at 12:14 PM.



Azu-nyan is offline   Reply With Quote
Old 02-18-2009, 11:44 AM   #9 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

no, i didn't... but what i was hoping to do (and it was improper of me to do) was to bring this thread to the top of the new posts section, so that maybe people would see it. I didn't want to get in trouble for double posting though.





Red Sky is offline   Reply With Quote
Old 02-18-2009, 11:46 AM   #10 (permalink)
Pending
Support Team
zB Programmer
Elite Zuner
 
Marshillboy's Avatar
 
Join Date: Nov 2006
Posts: 2,220
Marshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to all
Default

back on topic.
__________________
Quote:
Originally Posted by Adam Frucci
And you know what? Macs are too hip. Oh, look at me! I do graphic design! I wear women's jeans and hang out in coffee shops! I'm a DJ! Well good for you. My computer is not a fashion statement. It's a computer.



Marshillboy is online now   Reply With Quote
Old 02-25-2009, 12:39 PM   #11 (permalink)
Experienced Zuner
 
Machiventa's Avatar
 
Join Date: Nov 2007
Posts: 134
Machiventa is on a distinguished road
Default

Yeah I've tried this but I've been doing this mod ever since it was covered on ZuneScene back when the 2.0 update came out.

Great tutorial. Only things I would change/add are make it clearer on what people are changing and maybe a bit more in layman's terms. Right off the bat you're saying things like png's.

An example would be this part:
Quote:
<Color Name="DarkGray" Color="55,58,61"/>
<Color Name="WarmGray" Color="130,134,137"/>

All of the numbers to the left side, for every value, can be edited. DO NOT change the name of the Color (like DarkGray), only the RGB part on the left. Make sure that for the next part, the don't blend into the background.
At first it's not clear what changing the RGB values does. And to the average joe they probably won't even know what RGB code is.

Another suggestion is to tell people to use the search/find function to get to the specific part of code. Such as this part:
Quote:
Next, in the same area, find the part that starts with <zune:BackgroundOption Description...
Only other thing I can think of is adding other things such as how to make album art bigger, how to extract images to edit, etc.



Machiventa is offline   Reply With Quote
Old 02-25-2009, 12:57 PM   #12 (permalink)
Kiss the Cook!
Moderator
Super Zuner
 
Jorvette's Avatar
 
Join Date: May 2008
Location: Vancouver BC Canada
Posts: 1,789
Jorvette is a name known to allJorvette is a name known to allJorvette is a name known to allJorvette is a name known to all
Send a message via Skype™ to Jorvette
Default

Cool thing Red!
__________________



Jorvette is offline   Reply With Quote
Old 02-25-2009, 02:20 PM   #13 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Machiventa, I attempted to make those areas easier to follow, thanks for the feedback.

And thanks Jorvette.





Red Sky is offline   Reply With Quote
Old 09-22-2009, 10:10 AM   #14 (permalink)
Zewbie
 
InsanePyro's Avatar
 
Join Date: Dec 2007
Location: Wisconsin, USA
Posts: 9
InsanePyro is on a distinguished road
Default

Well it doesn't work with 4.0 if you don't have x64...you should add that somewhere...when I try to open it with reshack all I get is a bunch of crud




InsanePyro is offline   Reply With Quote
Old 09-22-2009, 11:32 AM   #15 (permalink)
Experienced Zuner
 
Machiventa's Avatar
 
Join Date: Nov 2007
Posts: 134
Machiventa is on a distinguished road
Default

Actually it should work for both but the code is now compiled (instead of easy to read XML) so until someone figures out how to extract/unpack it we can only replace the images such as the background.



Machiventa is offline   Reply With Quote
Old 09-22-2009, 11:40 AM   #16 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Yes, sorry about that. At the time of this update, I didn't realize that the Styles.UIX and the other .UIX files were compiled/encrypted. I know that there's a way to decompile them, but I'm not really a very good hacker, so I'm not sure how.





Red Sky is offline   Reply With Quote
Old 09-22-2009, 02:27 PM   #17 (permalink)
Experienced Zuner
 
Machiventa's Avatar
 
Join Date: Nov 2007
Posts: 134
Machiventa is on a distinguished road
Default

Same here but I'm working on getting in contact with a couple guys who might know how to extract it. I'll definitely let you know when I hear word.



Machiventa is offline   Reply With Quote
Old 09-22-2009, 07:07 PM   #18 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,662
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

That would be awesome. I was prepared to add myself some custom background options so that I wouldn't have to delete anything... but I tried and failed to do that. If there's anything special needed to do it, I can just post it in the original post.





Red Sky is offline   Reply With Quote
Old 09-23-2009, 11:06 AM   #19 (permalink)
Zewbie
 
InsanePyro's Avatar
 
Join Date: Dec 2007
Location: Wisconsin, USA
Posts: 9
InsanePyro is on a distinguished road
Default

Yeah I just replaced my background...but changing the font would make it so much easier and open up more background possibilities *shakes angry fist at black font*




InsanePyro is offline   Reply With Quote
Old 09-23-2009, 02:02 PM   #20 (permalink)
Experienced Zuner
 
Machiventa's Avatar
 
Join Date: Nov 2007
Posts: 134
Machiventa is on a distinguished road
Default

Quote:
Originally Posted by Red Sky View Post
That would be awesome. I was prepared to add myself some custom background options so that I wouldn't have to delete anything... but I tried and failed to do that. If there's anything special needed to do it, I can just post it in the original post.
The easiest way is to go into the registry and navigate to HKCU/Software/Microsot/Zune/Shell and then go to BackgroundImage and use file:// before the path to your image. This way you're not replacing any of the default backgrounds. But if you really want to know I can post the instructions.



Machiventa is offline   Reply With Quote
Reply

Bookmarks

Thread Tools