How to edit/make DLL (plugin for wmp)
12-04-2007, 08:30 AM
|
How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
Okay i dont know if anyone you know but theres a Windows media player (and its made for another one.. ) which is called lyricsplugin (lyricsplugin.com)
i have found the DLL and using software "opened" it and i have found the string i need to edit.
basically i want to have a go at building the system because well i think its cool, and i want to try adding more to the system.
but i need the plugin side i have had a look on MS for info on building plugins and frankly it seems every search throws up something completely differant or for wmp 1
but this plugin/DLL is exactly what i want but it has lyricsplugin.com as the address to get it from so i need to change it to whatever. the software i have says it can edit them i edited it resaved it, installed it into the registry etc via cmd and it shows up in wmp (11) as unkown plugin and dont work so im guessing it cant save it properly. so does someone know some (free) DLL editing software?
or can make DLL/plugin for windows media player which can do it.
or knows some kinds of wysiwyg program to make windows media player plugins?
Thanks guys LOTS OF TP if you can help! 
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-04-2007, 08:38 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 575
Name: Steve
Location: Birmingham, England
|
I think you may have to edit the dll using a programming language, and then compile it that way. However, I haven't tried editing a dll so I wouldn't be 100% sure.
|
|
|
|
12-04-2007, 09:12 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
Well (i think) the DLL would be programmed and then compiled, and what the software i have does is effectivly (try) to decompile it and then i can go in and edit the little bits, but i jsut think its one of those things where it cant get it right and save it so its accepted by software unless its really simple 
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-04-2007, 01:41 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 502
Name: Matt
Location: Irvine, CA
|
I'm guessing that if you want to edit it, you will need the source. DLL files are C++ libraries (usually), and unlike Java, C++ is impossible to decompile into anything meaningful.
|
|
|
|
12-04-2007, 02:14 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
i noticed  it seems to be a look no touch thing.
Okay now im aiming towards making my own plugin for WMP anyideas?
any help apprieciated! 
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-04-2007, 06:41 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 5,199
Name: John Alexander
|
Quote:
Originally Posted by dansgalaxy
Well (i think) the DLL would be programmed and then compiled, and what the software i have does is effectivly (try) to decompile it and then i can go in and edit the little bits, but i jsut think its one of those things where it cant get it right and save it so its accepted by software unless its really simple 
|
I think NullPointer is wrong for once.
You can generate DLL files in Visual Basic. That's mostly beside the point, in that they're still binary, but my point is they're a lot more widely used than in C++ alone. In fact if you use The Microsoft .NET Framework, and don't obfuscate your code, anybody can easily decompile it. It sounds like you may have tried a decompiler and got not very meaningful results. It could be you used the wrong one, or it could be the DLL file has been stiped of all the information needed to recreate meaningful source code.
Have you tried just using a hex editor? Open the file up, seek out the string you want, and then change it in the file? You'll have to be mindful of encoding, especially Unicode - if that's in use and you want plain English text, every other byte needs to be null, or 0.
|
|
|
|
12-04-2007, 08:12 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 13,658
Location: Blackpool. UK
|
VB DLLs are compiled to p-code so can, sort of, be decompiled into something almost useful (if you are lucky)
C/C++ or Delphi DLL can be decompiled into assembler  And if you had the symbol files you could usable code from it.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
|
|
|
|
12-05-2007, 06:39 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
i think i was using a hex editor, it showed me the binary bits and then some plain text strings i found the one i needed (a url) and i replaced it with what i needed and then saved the file as something else. but it comes up (after "installing" the plugin through dos.) as unknown plugin in wmp 11 and didnt work at all.
So im a little confused i will have a another try in a minute see if it works, but dont have too much time i have to be back at school in 45 minutes for another exam  (on mock exam week)
Thanks i will be back here soon im sure 
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-05-2007, 07:01 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
The hex editor i have is FlexHex (on trial at moment so i have 22 days to do this! - or could this be the problem u need full for it to save?)
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-05-2007, 07:36 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 13,658
Location: Blackpool. UK
|
using a hexeditor to edit and resave executable is more likely to destroy the file.
A compiler calculates the relative positions of "jump" point within the file, also the IUnknown interface used for calling the entry points of the various methods and properties that are encapsulated with in the file are calculated at compile time.
Opening the file and editing even changing one letter will alter the file integrity. About the only thing you could do safely is to change a string of text that you definitely know is text, and replace it with a string of EXACTLY the same length.
It could be shorter and padded with spaces, BUT if it is ONE byte longer the file will be irrevocably damaged.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
|
|
|
|
12-05-2007, 08:07 AM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
okay... well i have edited using a hex editor and made sure it is exaclty the same size and used exactly the same about of chars
so can you suggest any programs which can decopile allow me to edit and then compile it again?
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
12-05-2007, 01:05 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 13,658
Location: Blackpool. UK
|
Recompiling might be a problem unless you have something like C or C++ available
You could "decompile" to 80x86 assembler http://www.geocities.com/~sangcho/ Windows Disassembler
where to write "Hello World" in a DOS prompt looks like ;
Code:
mov dx,OFFSET Message ; DX contains offset of message
mov ax,SEG Message ; AX contains segment of message
mov ds,ax ; DS:DX points to message
mov ah,9 ; function 9 - display string
int 21h ; call dos service
Message DB "Hello World!$"

__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
|
|
|
|
12-05-2007, 01:20 PM
|
Re: How to edit/make DLL (plugin for wmp)
|
Posts: 6,173
Name: Dan
Location: Swindon
|
Sorry huh?!
This is hell! i have search the internet high a freakin' low for some kind of contact address for the guy who made this plugin to beg for the sourcecode, he doesnt answer questions on the "Feeback Forum" on lyricsplugin.com i did find someone at least claiming to have made lyrics plugin so i assume its one of the same i signed up and sent a PM asking and then realised it said his last activity was august does this guy not use EMAIL!? Lol
God im depressed
Can anyone write a plugin which will do this? or successfully decomplile edit and recompile this?
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|
|
|
|
|
« Reply to How to edit/make DLL (plugin for wmp)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|