MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2005-06-12, 12:08   #1 (permalink)
Portal User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default Batchfile to register DLLs when 'installing' the CVS builds

THIS INFO IS ONLY FOR CVS-BUILDS - NOT FOR NORMAL INSTALLS !!!

I have learned that a few DLLs needs to be re-registered when 'installing' the newest CVS builds.
For that i have made an batch-file that I would like to share

This batchfile should be run after unraring the CVS files into the MP home dir (remember to make a manual backup of the MP directory before doing this)

You can get the latest CVS from here:
http://www.myshare.de/index.php?opti...pper&Itemid=37


Hope this helps

Best regards,
Frewald



Here is the text from the batchfile (copy'N'paste into notepad and save):

@echo off
REM * Run this batchfile after the CVS rar-archive have been extracted into \Program Files\Team MediaPortal\MediaPortal\

regsvr32 /s "\Program Files\Team MediaPortal\MediaPortal\DirectShowHelper.dll"

regsvr32 /u /s "\windows\system32\MpegAudio.dll"
regsvr32 /u /s "\windows\system32\MpegVideo.dll"
regsvr32 /u /s "\windows\system32\MpaDecFilter.ax"
regsvr32 /u /s "\windows\system32\Mpeg2DecFilter.ax"

copy "\Program Files\Team MediaPortal\MediaPortal\MpegAudio.dll" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\MpegVideo.dll" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\MpaDecFilter.ax" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\Mpeg2DecFilter.ax" \windows\system32\

regsvr32 /s "\windows\system32\MpegAudio.dll"
regsvr32 /s "\windows\system32\MpegVideo.dll"
regsvr32 /s "\windows\system32\MpaDecFilter.ax"
regsvr32 /s "\windows\system32\Mpeg2DecFilter.ax"
Frewald is offline   Reply With Quote
Old 2005-06-12, 12:19   #2 (permalink)
Portal User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default Btw: this file also works when rolling back to stable.

Btw: this file also works when rolling back to stable; If you restore your backup (that you made before installing the CVS files) you can run this to make sure that ´the DLLs gets reregistered
Frewald is offline   Reply With Quote
Old 2005-06-12, 13:32   #3 (permalink)
Portal Member
 
Join Date: May 2005
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Batchfile to register DLLs when 'installing' the CVS bui

Quote:
Originally Posted by Frewald
[b]

copy "\Program Files\Team MediaPortal\MediaPortal\MpegAudio.dll" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\MpegVideo.dll" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\MpaDecFilter.ax" \windows\system32\
copy "\Program Files\Team MediaPortal\MediaPortal\Mpeg2DecFilter.ax" \windows\system32\
I don't have those files in anywhere within my mediaportal directory :x
poppy10 is offline   Reply With Quote
Old 2005-06-12, 13:58   #4 (permalink)
Webadmin
 
high's Avatar
 
Join Date: Aug 2004
Location: NRW/Germany
Age: 31
Posts: 976
Thanks: 71
Thanked 100 Times in 46 Posts

Country:


Send a message via ICQ to high
Default Re: Batchfile to register DLLs when 'installing' the CVS bui

Quote:
Originally Posted by poppy10
I don't have those files in anywhere within my mediaportal directory :x
Thats normal, they are not in MP-folder cause the release-setup copied them directly to your windows/system32. These ones arent updated for months so they are not included in my cvs-snapshots (and theres no need to reregister). But if they change in the future you will be on the safe side with this batch^^

Ive added a start.bat some time ago to the snapshots but looks like that I forgot to update the filedate so its missing atm. I readd the file so it will be availible within the next update. Thanks Frewald.
high is online now   Reply With Quote
Old 2005-06-13, 23:04   #5 (permalink)
Zby
Portal Member
 
Zby's Avatar
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks for this NON tip! :cry: Till I have applied this, it is impossible to watch any DVD, movie or recorded TV in full screen on my MP (black screen)!

Please help me to restore this... please!!!

Zby-)
Zby is offline   Reply With Quote
Old 2005-06-14, 07:57   #6 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Are there any other files (.dlls) that need to be re-registered?

I thought I read somewhere that dlls like "DirectShowHelper.dll" need to be re-registered - or was I dreaming?
Taipan is offline   Reply With Quote
Old 2005-06-14, 10:43   #7 (permalink)
Webadmin
 
high's Avatar
 
Join Date: Aug 2004
Location: NRW/Germany
Age: 31
Posts: 976
Thanks: 71
Thanked 100 Times in 46 Posts

Country:


Send a message via ICQ to high
Default

Quote:
Originally Posted by Taipan
Are there any other files (.dlls) that need to be re-registered?

I thought I read somewhere that dlls like "DirectShowHelper.dll" need to be re-registered - or was I dreaming?
let me think...yeah there was something...maybe here in the first post (4. batch line)? ,-) Keep your eyes open ^^ Atm its the only .dll thats needs an update.

@Zby: should work well, normaly it cant harm your system if you follow the guide. What does the MP-log says? Remove the "/s" parameter so you see if re-register was successfull.
high is online now   Reply With Quote
Old 2005-06-14, 11:48   #8 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Ooops.. ..I should read a little more carefully in future! At least I wasn't dreaming...

Thanks for pointing that out [=high=].
Taipan is offline   Reply With Quote
Old 2005-06-14, 22:36   #9 (permalink)
Zby
Portal Member
 
Zby's Avatar
 
Join Date: Jan 2005
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts


Default

[=high=],

First of all all my apologies for my nervous reaction, but I was so desapointed losing my MP! :cry:

So, full reinstall of MP, and after looking, trying everything possible, I observed the problem only occured when installing a CVS version posterior to 10th of June, and for those versions, the problem only occurs when staring directly in fullscreen (from config). When starting windowed and transformed to fullscreen via Alt-Enter, everything was OK.

Then I compared logs, and seen that when starting directly to fullscreen, my resolution was detected to be 1292x1036 instead of 1280x1024. I tryied using calibration and ... bang that was it! Incredible, I never had that before, after 11 CVS versions! Radeon driver problem??? Any info? I am runnign catalyst v 4.9

So, now I am happy again, Zby-)

Bytheway, does any body know the exact procedure to receive the CVS release notes? It would make me even more happy
Zby is offline   Reply With Quote
Old 2005-06-15, 00:07   #10 (permalink)
Portal Member
 
Join Date: Feb 2005
Location: Melbourne, Australia
Posts: 131
Thanks: 0
Thanked 1 Time in 1 Post


Default

Hi Zby,

Catalyst drivers are up to 5.6 now...!
__________________
My Media PC Set-up
vbap is offline   Reply With Quote
Reply

Bookmarks

Tags
batchfile, builds, cvs, dlls, installing, register

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 19:17.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden