View Full Version : Interface for drmdbg and FreeMe2
xxsodapopxx5
29th January 2008, 01:13
so i have recently(past 2 days) been writing a interface for drmdbg and freeme2. I didnt like how freeme2 added 'freed-' to each file, so i made this.
http://img2.putfile.com/main/1/2705550211.jpg
-it does batch freeme2
-its pretty fully idiot proof. Really self explanatory, but if you still dont get it, in upcoming updates on it im gonna at a readme describing how to use it.
also be careful about using the checkbox for deleting songs, i havent thrown in error handling yet, so if a song doesnt go through correctly, it could possibly still get deleted, so
ALWAYS BACKUP SONGS!
YOU WILL NOT BLAME ME IF YOU LOSE MUSIC, ESPECIALLY BECAUSE I AM WARNING YOU IT IS BETA
its still in the making, as i stated earlier i just started this. ideas are welcome. because of my stupidity my program doesnt recognize any file type except for *.wma, that WILL change for future versions.
oh and for all you coders out there im gonna post the source eventually, when i feel like im pretty much done...
http://rapidshare.com/files/87421736/unDRM_v.02.rar.html
heres the link^
Update 1:
So i have been running alot of tests on it, and recently i came across one with the renaming, it only works if the files you are converting are not in subdirectories... so it has to be pointed straight at the files... I wont have time to make any changes to this program till the weekend... school and work so im busy...
also here is a short guide.....
Step 1:when you open it select the location to drmdbg.exe
it should change the txtbox right next to it to that location.
at the bottom of unDRM click "Run drmdbg.exe"
Step 2: once in drmdbg point "WMVDIR" to your music folder.
Step 3: click "Multi scan" in drmdbg --> wait for it to finish scanning all music, it should start playing music in windows media player(once it starts playing for more than a second or 2 you can close drmdbg)
Step 4: click "location of DRM2.key" in unDRM and point the file browser to the location that drmdbg put it in.
Step 5: click "location of FreeMe2" in unDRM and point it to the location of your FreeMe2.exe
Step 6: click "music directory" and point it to the same location that you pointed drmdbg for the music to be decrypted.
Step 7: click "search for wma files in directory" and in the list a bunch of filenames of your music should appear.
Step 8: click "Run FreeMe2.exe"
once you do that a lot of dos windows should start appearing and disappearing, dont worry, its just running FreeMe2 in batch
Every once in a while drmdbg doesnt provide a key in the DRM2.key file and FreeMe2 will pause. if it does that, it means that file wont decrypt and you will have to try a different way(sorry), if you hit "Enter" 2 or 3 times it will continue decrypting files as it can.
Ajax_Undone
30th January 2008, 07:42
Post source Plz
drummer7
30th January 2008, 08:37
oh and for all you coders out there im gonna post the source eventually, when i feel like im pretty much done...
xxsodapopxx5
30th January 2008, 18:31
ok, I have a news update. I fixed the renaming problem. and tweaked a few other things.
http://rapidshare.com/files/87857086/unDRM_.03.rar.html
^ heres the new version
Release note:
-fixed renaming file problem
-works more often, changed the way it runs freeMe2
it runs in a .bat file, creates it for a song, runs the .bat then deletes it, then creates one for the next song etc...
I have also come across something interesting. the newest release of drmdbg doesn't seem to get keys for 6000.7000... i don't know why, but i am using the December 25,2007 release and it appears to work to near flawlessness.
today i ran a huge test on drmdbg and my batch freeMe2 thing.
it ran on a large directory and subdirectory with about 526 files.
i only had a problem with 3 of them. One i cannot fix, it is FreeMe2. It doesn't like songs with special characters in it, any character not recognized correctly in dos wont work in freeme2.
2 of them said the key specified was to big.... i don't know how to fix this and that is one of the reasons why I'm gonna post up the source... if its possible to fix that would be great.
This means as of this test my program has a .5% failure rate, which i would like to eliminate if possible.
http://rapidshare.com/files/87859485/unDRMVisualCodeC_.rar.html
here's the code link^
When you go to debug, it probably won't run if you dont add Data.txt into the debug folder of this project. Then when you make a release copy you should do the same in the release folder.
All I ask of anyone who makes any sort of improvement is to post a release up with the new source, that way this can be a collaborative project. oh and I'm terribly sorry about how sloppy my code is, its just natural for me. It's only about 350 lines, should be easy enough to follow. I also don't really care about taking credit, so you don't have to associate my name with this project if you give it away or modify it.
pcdthebum
4th February 2008, 20:41
For anyone who feels like the idiot because they cant get it to work and it is idiot proof...try making sure that the freeme2 is in a different folder OR in the directory location for freeme2 just put freeme2 with no link to it. if you have everything in the same folder it wont work right unless you fix it like this. Took be a while to figure that out. So basically it would be best to have probably just have one folder with undrm.exe and its related files, a folder for drmdbg, and a folder for freeme2. that way all the location links in the program will work well
agreenbhm
7th February 2008, 01:53
I'm currently learning C# so I thought that I would attempt to help with this project.
Here are the changes I've made:
Tools menu with link to individualize your PC
an About screen that has a link to this thread (for support)
I also tweaked a few version things here and there.
-AGreen BHM
______________________________
Files:
unDRM Visual v.04 - http://rapidshare.com/files/89763781/unDRMVisual.rar.html
unDRM Visual v.04 Source - http://rapidshare.com/files/89763782/unDRMVisual-Source.rar.html
Frenzy
8th February 2008, 11:28
I really appreciate what you guys are doin:thanks:. I don’t know if that means anything to you.
K get back to work…
:D
Pokes
8th February 2008, 18:08
I'm sure I'm doing something stupid, but I do a lot better just using the base files in the process. I've tried separating everything, I've tried having everything together, it just doesn't matter.
I'd love to assist with troubleshooting and such, to help as I think this would be a great boon to the process. I'm just not getting anywhere. It bombs out at the F2M stage.
xxsodapopxx5
10th February 2008, 07:35
can i get a screenshot? does it crash or freeze up or what?
ummm and i think if it tries to run multiple batch processes at the same time it might mess up, im gonna try and figure out how to make it run 1 batch at a time, sometimes they overlap(the bacthes),especially if your doing bigger files or if you have a fast computer... sorry bout no new releases, been busy with school.
oh ya.... i just realized that im dumb and theres a file limitation... so if it is over 1000 songs it wond add them anymore or it may crash when searching... will fix that soon.
*thanks agreenbhm for your release.
scoobysnax
16th February 2008, 06:28
So I like the way the program looks. It has a pretty accessible interface. But I can't get it to work. I don't get any output files...anywhere.
I have an idea why it might not work:
-When I use drmdbg, it doesn't work unless I highlight the file and tell it to find album information. After that it finds the keys, etc. Would that have an effect on what is put into the DRM2 file?
xxsodapopxx5
17th February 2008, 18:07
i should say before you use this application you should probably get freeme2 to work the the old fashion way, if it doesnt work with you manually doing it then it wont work on here either. drmdbg should work on a directory and output the key(s) necessary. if you choose a directory with 3 songs then there should be 3 different sections in the drm2.key file... for example it should look like this
<DRM2WMV2>
<KID>b5d5f7dZs0uPoOB4tiCfbw==</KID>
<SID>V8c4hpvYBxmdGyDIxtiKs7aYBLM=</SID>
<INFO></INFO>
</DRM2WMV2>
<DRM2WMV2>
<KID>2DilV/VnnnoatEfdWCAhQ==</KID>
<SID>r+0DzeQagmJReTrC8C4aIsOrflk=</SID>
<INFO></INFO>
</DRM2WMV2>
<DRM2WMV2>
<KID>AO6BpZpfglhRL+/DYVhatA==</KID>
<SID>YQ4g47YewgpxCKlMaj5IjMxdk1c=</SID>
<INFO></INFO>
</DRM2WMV2>
not real keys^^^ just an example ^^^
if drmdbg never gets that far then you are having problems with drmdbg.
i suggest using the 12/25/07 release of drmdbg i had some real problems with the newest release.
also are you pointing the location in undrm to the key that was just created by drmdbg.
does freeme2 run? and if so does it run through all the files in the list?
all you have to do is follow my instructions on the first post WORD FOR WORD and it should work...
**PS: sorry for no new releases i have been really busy working on some php with some friends... will try to get the wmv's put in there sometime and get rid of that file limitation.
usafaviator
18th February 2008, 15:41
In order to cause drmdbg to produce the SID for each song in a particular directory, I have to (in WMP 11) locate the songs in the WMP library, then right click each one and have WMP locate the album info. Only then will a key for each song be produced. After I do this for a given song, it proceeds to play the next song (though again - it won't produce a key until I ask WMP to locate the album info). Is it safe to assume that the DRM2.key file includes the SIDs for each one of the processed songs at this point?
I then have unDRM run FreeMe2. If I have placed the DRM2.key in the FreeMe2 directory, it asks me if I want to overwrite the DRM2.key file. Whether I accept or reject that, and also whether I have the DRM2.key file in the FreeMe2 directory in the first place doesn't seem to matter - FreeMe2 blinks once for each song and nothing is output.
Am I doing something wrong? I can use the FreeMe2.bat copy and paste SIDs method with success, albeit agonizingly slow success.
xxsodapopxx5
18th February 2008, 18:51
hmmm ok this is an edit, i got it to work with version .3 from sourceforge.... for some reason it seems that things have to be by each other to get them to run in the batch correctly.
make your folders like this for all the undrm'ing stuff
undrm[dir]
|-drmdbg[dir]
| |-DRM2[dir]
| | |-drm2.key
| |
| |-drmdbg.exe
| |-drmbg.ini
|
|-Freeme2[dir]
| |-freeme2.exe
| |-libeay.dll
|
|-undrm04[dir]
| |-undrm.exe
| |-data.txt
I dont know why, but it didnt worked when i had the files firther apart then that... so, hopefully this works... i dont know why it works, but it did for me.
It even worked for the newest version of freeme2... sorry for not noticing this earlier.
oh and dont put any of these files on your desktop or in my documents folder... put it in something like c:\undrm\...
maybe with the spaces in the folder names dos doesnt like it... it prolly needs a '%' symbol or something else to denote a 'space'
12th edit or so haha:
so after testing it in like a million different directories none of the folders can have a space in it that deal with freeme2, although the location of the music CAN have spaces... for example if your music that you paid for and want to undrm is in a folder called 'Yahoo Music' you DO NOT have to change that folder name. I am going to eventually make a fix for this, but for the time being bare with me. haha!
usafaviator
18th February 2008, 21:01
Sodapop - Clutch! It works perfectly!
Now - if only I could talk drmdbg into allowing me to get away with not asking WMP to retrieve album info for every file...
Still - awesome job. Thanks for all of the hard work.
xxsodapopxx5
19th February 2008, 00:53
haha np, its actually interesting as a programmer to see the way things turn out and if they work in multiple situations... obviously mine doesn't, but hopefully i will fix that sometime.
karla
22nd February 2008, 20:18
Hello!
Thanks for you work! It works fine for me.
I have some suggestions.
When i open your programm, i have to search for the folder, where the wma-files are in. every time, i start the program, i have to do it again. can this also stored? and when the folder is deleted, can the folder above be choosed? Than i do't have to click + scrollso many again and again.
second: i have files with special letters (ä and ü and ß ...) this files are not freed from the drm. i have to rename each file with my hands.
also when i choose the option, that the original files are deletet automatically, ALL files are deleted in the list - also this files, which are not drm-free.
maybe there is a possibilty, that our program can check, which files are not drm-free and put them in a special folder? In this way i don't have to check this with my hands and the files are not deleted automatically
xxsodapopxx5
24th February 2008, 23:40
i like those suggestions.... and ya, its open source for all you people out there... im really busy right now school and work is overloading my mind so i dont have time right now... maybe this summer... but by then a better program will probably be written.
mysekurity
3rd March 2008, 03:30
I must be some kind of an idiot, but I can't seem to get drmdbg to work (neither the 12-25 nor 1-1 releases seem to do anything when I open drmdbg, click multi-scan, and play my DRM'd file, and the top box (filename) fills in, but not the bottom (key) box. I've tried the "right-click to Find Album Info" trick, but that doesn't seem to work either. I'm on Vista with IndivBox key2, 11.0.6000.7000 and yes, I've granted it administrator rights. I just can't seem to find a straightforward and simple solution that actually works. Can someone with Vista please help me out here?
http://i28.tinypic.com/sg5o5c.jpg
Thanks.
xxsodapopxx5
4th March 2008, 02:43
@ mysekurity
I have a really small amount of knowledge on drmdbg. and on top of that an even smaller knowledge of vista(which every time i have tried to use just aggravates me into coming back to XP). You might be better off asking people in drmdbg threads, or making a new one asking why it doesn't work and do like a step by step of what your doing, it helps eliminate problems.
mysekurity
5th March 2008, 05:18
thanks soda. I feel like I've tried this about a hundred times on both XP and Vista, and I keep coming back to a Virtual Machine and FairUse4WM. Only now I can't find my XP install CD...
But yeah, I was a little upset before. I'll bring it to a new thread.
ace518
20th March 2008, 07:46
Thank you for all your hard work.
Ascii2
7th May 2009, 06:54
The application does not run.
I receive:
"The dynamic link library mscoree.dll could not be found in the specified path..."
I am running Windows 2000 Professional with Service Pack 4.
GrofLuigi
7th May 2009, 22:56
The application does not run.
I receive:
"The dynamic link library mscoree.dll could not be found in the specified path..."
I am running Windows 2000 Professional with Service Pack 4.
That's a sign it needs some version of Microsoft .Net Framework.
GL
BlindWanderer
19th June 2009, 16:16
I must be some kind of an idiot, but I can't seem to get drmdbg to work (neither the 12-25 nor 1-1 releases seem to do anything when I open drmdbg, click multi-scan, and play my DRM'd file, and the top box (filename) fills in, but not the bottom (key) box. I've tried the "right-click to Find Album Info" trick, but that doesn't seem to work either. I'm on Vista with IndivBox key2, 11.0.6000.7000 and yes, I've granted it administrator rights. I just can't seem to find a straightforward and simple solution that actually works. Can someone with Vista please help me out here?
Thanks.
I believe that drmdbg doesn't like file paths (including the file name) that contain spaces. If you use the 8.3 filepath instead, I beleive it should work. I beleive they forgot to wrap the filename in quotes when passing it on to wmplayer.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.