Hacking Windows 7 Media Center

Increasing the Default Number of Rows in the EPG

by Michael Healy @ 11:15 am on December 8th, 2009 in tv listings with 22 Comments and Permalink

Expand EPG Not satisfied with the default setting of seven rows of channels displayed in the episode guide of Windows 7 Media Center? Unfortunately, there is no option to enable an increased number of rows to appear so increasing the rows displayed requires users to do extensive editing to the Media Center DLL files. Thankfully, Bill24 has posted a guide to the editing required on the Australian Media Center Community. This guide is fairly advanced for those not familiar with editing DLL files however so we’ve created a small patch to allow users to easily make the edits to the Media Center shell file. You’ll still need to follow the beginning portion of the guide though and we’ve also included the actual edits made in the original article for those interested in the data behind the changes.

To get started decide whether you’ll be using the patch or editing your Media Center shell DLL by hand. If the patch doesn’t work you’ll likely need to edit the file by hand as updated or altered versions of the Media Center shell DLL could cause the patch to no longer work properly. If using the patch download it here, otherwise you’ll need a program to edit the file by hand such as Resource Hacker or Restorator. Also, a copy of Media Center Studio is required.

The first step is launching Media Center Studio and creating a new theme. Bill24 doesn’t mention in the guide what changes this makes to the Media Center files that makes it a required step, it may be a simple matter of setting the correct permissions on the required Media Center DLL files. Once inside Media Center Studio select the New button to create a new theme, name your new theme and save the file. Return to the main themes listing tab and select the newly created them then press the Apply button. Launch Media Center and browse to the EPG guide, unless additional edits were made inside Media Center Studio nothing should have changed.

MC Studio

Alternatively, if you’ve got the Take Ownership registry file applied you can take ownership of the Microsoft.MediaCenter.Shell.dll file to affect the same results.

Now open Windows Explorer and browse to C:\Windows\ehome and locate the MediaCenter.Shell.dll file. Copy the file to another location and make certain to create a backup of this file as well just incase something should go wrong during the process. Now, if using the patch method, copy the patch into the same directory as Microsoft.MediaCenter.Shell.dll and apply the patch to this file. Afterward copy the file back into the C:\Windows\ehome directory. Relaunch Windows 7 Media Center and check your EPG guide, there should now be ten rows listed.

For those editing the file by hand open the MediaCenter.Shell.dll in your resource editor and browse to the html –> EPG.MCML file. Inside search for the following lines and edit the values as described:

Name=”InitialGridPosition” Left=”FilterButton,1,1″ Right=”Parent,1,-53″ Top=”FilterButton,0, –44
Name=”InitialGridPosition” Left=”FilterButton,1,1″ Right=”Parent,1,-53″ Top=”FilterButton,0, -134

Set Target=”[FilterButtonLayout.Bottom.Offset]” Value=“493”
Set Target=”[FilterButtonLayout.Bottom.Offset]” Value=“580”

Set Target=”[Table.VisibleRowCapacity]” Value=“7”
Set Target=”[Table.VisibleRowCapacity]” Value=“10”

Font FontName=”global://comm:LightFontFace” FontSize=“48”
Font FontName=”global://comm:LightFontFace” FontSize=“0”

<Set Target=”[Table.VisibleRowCapacity]” Value=“2″/>
<Set Target=”[Table.VisibleRowCapacity]” Value=“4″/>

After changing each of these values save the MediaCenter.Shell.dll file and place it back in it’s original location. Relaunch Windows 7 Media Center and browse to the EPG guide to ensure that you’ve now got ten rows listed.

Ten Row EPG

Thanks to Bill24 for sharing this information with the Windows 7 Media Center community! Be sure to check out his blog on the Australian Media Center Community website for even more great information on modifying Media Center. This certainly is a more efficient usage of screen real-estate than the original seven row display.

22 Comments


Zero
Comment #5495 from Zero [Reply]

Cant get the patch to work it keeps on saying wrong file version.

Comment left December 8, 2009 at 9:55 pm with Permalink

Nudge
Comment #5507 from Nudge [Reply]

With those settings you may lose the red dot icons within the guide, suggest tweaking the top and bottom values until they fit – rather than shrinking the red dot icon itself.

Comment left December 9, 2009 at 4:30 am with Permalink

MCE-Fan
Comment #5510 from MCE-Fan [Reply]

Be interested in reading the blog or the comments by Bill24 – however I aint registering at another site, particularly one just for australian enthusiasts run by some nobody – if your going to link to sites that need registering for – say so!

Comment left December 9, 2009 at 5:28 am with Permalink

Infinity
Comment #5562 from Infinity [Reply]

I also encountered the wrong file version issue. I’m running Win7 64-bit.

Comment left December 10, 2009 at 8:33 am with Permalink

DanITman
Comment #5569 from DanITman [Reply]

Would be great to figured out the same hack for the mini guide. I wouldn’t mind adding a row to that.

Comment left December 10, 2009 at 1:11 pm with Permalink

Chris
@Reply #5835 from Chris [Reply]

This change:

changes the live EPG from 2 rows to 4 rows.

Comment left December 19, 2009 at 5:04 pm with Permalink

Neil H
Comment #5595 from Neil H [Reply]

I’m running Win 7 Home Premium 64 bit and there isn’t a MediaCenter.Shell.dll file. There is a Microsoft.MediaCenter.Shell.dll file but the patch doesn’t work on it. Is there a new patch for 64 bit Win 7?

Comment left December 11, 2009 at 5:38 am with Permalink
Comment #5602 from Michael Healy [Reply]

I’ve updated that patch file using the dll sent by Zero. Give it a try and let me know if that works out better for those having issues.

Comment left December 11, 2009 at 9:16 am with Permalink

zero
@Reply #5604 from zero [Reply]

That version doesn’t work either, it does patch the file but no change in the epg apart from I can no longer browse the epg !

Comment left December 11, 2009 at 9:54 am with Permalink

Infinity
@Reply #5616 from Infinity [Reply]

The new patch worked for me. Thank you!

Comment left December 11, 2009 at 6:55 pm with Permalink

TTSoarer86
Comment #5707 from TTSoarer86 [Reply]

Got it working on my x64 Windows 7 as per the above guide. I have lost the recording icon though. Does anyone have any clues on what additional lines need changing?
Cheers

Comment left December 15, 2009 at 3:19 am with Permalink

Marc
Comment #6164 from Marc [Reply]

Is this website dead? No new content in a long time. Usually us geeks have MORE free time over the holidays, not less….

Comment left December 30, 2009 at 10:13 pm with Permalink

Andy
Comment #6311 from Andy [Reply]

I was beginning to think the same thing. Almost a month since the last update. Looking forward to what 2010 brings!

Comment left January 4, 2010 at 6:20 pm with Permalink
Comment #6449 from Cory [Reply]

Buy Herbal VPXL VPXL Med Best price VPXL

Comment left January 8, 2010 at 7:46 pm with Permalink

TommyW
Comment #6482 from TommyW [Reply]

Patch doesn’t work -, also tried manually with restorator. All settings are correct in the dll file but no changes in mediacenter. What am I doing wrong?

Comment left January 9, 2010 at 11:32 pm with Permalink
Comment #6510 from Kenneth [Reply]

Tamiflu over night Get Tamiflu Online no Membership tamiflu baxter

Comment left January 10, 2010 at 3:09 pm with Permalink

David in South Florida
Comment #6697 from David in South Florida [Reply]

Nice patch. Worked perfectly following your instructions. I am running Window 7 64-Bit.

The shell.dll’s name in Win 7 is Microsoft.MediaCenter.Shell.dll

David

Comment left January 16, 2010 at 11:03 am with Permalink

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!