View Full Version : DeCSS plus 2pre3
Ocrana
2nd April 2002, 19:48
Hello,
someone has a vc++ version of the DeCSS plus 2pre3? I tyr my best to make a vc++ app but I get everytime Errors from the ASPI Functions from the ASPI SDK. (Could not import xxx).
Or what is this mystik wnaspi32.lib? I Read it in the manual of the ASPI SDK and see it somewhere else, but there are no Infos, no files aviable to this Lib. Someone has some Infos to get it running?
mario_a
5th April 2002, 10:08
Ocrana,
I'm trying to compile the DVD2AVI source code under VC++ 6.0 , and I'm having the exact same problem.
The error message (it's a linker error ) is as follows : "Cannot open file:wnaspi32.lib"
Is it that this file is missing , and was supposed to be supplied with the downloaded files, and was not? Or what?
Ocrana, if u get any info on this , please let me know.
Any help from anyone, would be appreciated.
Thanks.
Ive never had any trouble compiling DVD2AVI.
Have you got Service Pack 5 for VC6 Installed?
Ive now made a compiling copy of DeCSS2pre3 in VC6, I havent tested it yet though, (it loads the DLL manually instead of doing the crappy __dllimport way (i.e. ive added an aspi.h & an aspi.c...)
Cheers,
-Nic
mario_a
5th April 2002, 12:15
Nic,
Thanx for the reply.
Just wamted to ask you - What exactly do u have in the 'aspi.h' and 'aspi.c' files?
Thanx,
Mario
Standard stuff:
hDLL = LoadLibrary("WinAspi32.DLL");
GetProcAddress(hDLL, ....
etc
Ill send you the source once ive tested it if you want.
-Nic
Ocrana
5th April 2002, 12:42
Hello,
sorry for that headline, but all the authenticate methods are crap. Why? Very easy, they use a aspi layer that is not aviable in W2K and WXP. For this you have to put in the forceaspi fix.
I dont know why noone comments that in the Sources. This guys are asholes..sorry but I test now around 7 days for this fuck authenticate methods and found out that the aspi layer is wrong? Thats a poor way.
And for this guys, why they didnt put all needed stuff in the packets? Like the new Css with the auth..Why they didnt put the aspi and the scsi header in? And why they dint put in the wnaspi32.lib in or acomment which Aspi Version they have used? I didnt know anyone who can compile the sources and the dvd2avi 1.85 its impossible.
And HInstance is not a good way. If you work in threads it is f* instable.
Ocrana
No offense...but boo bloody hoo...
Dont swear on the forum. it took me around 2 minutes to compile DeCSS, took a little longer for Tron's code....
If you can write Authentication code for a non ASPI system...i'd like to see it.
-Nic
mario_a
5th April 2002, 13:30
Nic,
If possible , could you send me the DeCCCPlus2Pre3 source code which compiles (for you) under VC++6.0, now?
By now, i don't mean right away, but sometime soon.
Or if that's not possible , could you just mail me the 'aspi.h' and 'aspi.c' files you were talking about? My guess is I'm getting an error coz the 'wnaspi.dll' is statically loaded.
My email is alvaresmario@hotmail.com.
Thanx a lot for your time,
Mario
Ill check out if ive done it right, over the weekend & send it them :)
-Nic
mario_a
5th April 2002, 13:37
Nic,
Thanx. I'll be looking forward to receiving them.
Mario
p.s. You're really fast at replying to the posts ! :)
Ocrana
5th April 2002, 14:04
ahm,
dont be angry about me. But you wrote you have compiled it in a short time? But why you are not able to send the files to mario_a?If you have compiled, then you must have it tested before you wrote in sub that we are all losers ;)
Fallen Hero? But forget your HInstance method. It will crash badly from Threads. I need the wnaspi32.lib for a clear call. What system you have? Iam wondering that you have no problems, do the Decss method runs on W2k and Xp without the aspifix?
Ocrana
Ocrana
5th April 2002, 14:06
Mario,
never user the wnapsi.dll. USE WNASPI32.dll. That as a little hint :)
Ocrana
mario_a
5th April 2002, 14:10
Ocrana,
What exactly are u trying to say?
Filenames are not case-sensitive under Windows ;)
Mario
Ocrana
5th April 2002, 14:17
but under Windows there is a HUGE difference between 16bit and 32bit Dlls. You will never get the wnaspi.dll to run..
I just wrote this, cause I tried the last 7 days much things...and do much noob faults. So I give it to you....only use wnaspi32.dll.
Ocrana
You are not all loosers :)
I can't test at the moment as I don't any DVDs to try it on (im at work)
The HInstance/HANDLE way will work fine in threads. Infact, if you view an application starting up, they all use LoadLibrary & GetProcAddress to load Kernel32.dll etc (view Notepad.exe with softsnoop etc to see) (However, some use GetModuleHandle...this is not a good idea)
How do you suggest the loading of WNASPI32.DLL? HANDLE's are used all over the Win32 structure without problems (there only void * 's after all)
-Nic
Ocrana
5th April 2002, 14:39
Hello,
I use the standard call as you:
hDLL = LoadLibrary("WinAspi32.DLL");
GetProcAddress(hDLL, ....
But i define a structure for the get ProcAdress with __StdCall and kick the structure to the dll. Not more. But after that I get everytime a bad response that my thread not ends correctly. So there must be hand something in teh memory. if I call it without a thread, only from a ButtonEvents..al works perfectly as you wrote.
Problem is, I use Multithreading, and I hope you know, to find here a bug, it is easier to knock directly on the helldoor... :)
Ocrana
Interesting...I was using stdcall originally with wnaspi32, now using cdecl and things are working better ?!? :)
Im pretty sure my code works.... :)
-Nic
ps
Tested it...it authorises fine :)
Auth.DLL's code can be problematic... :( (No offence to nautilus, as im sure if he had noticed the problems he would have corrected them)
For an example, compile the auth_cal.cpp supplied in debug mode then run in it under the debugger (i.e. press f5)...It crashes on the two machines ive tried it on. (works normally however, it was causing very bizzare memory problems every so often in the DVD2AVI project I was working on)
Im going to put the source ive changed for decss2pre3 together with Tron's AuthDVD code & compile that into a DLL & put out the source (ill just put it in a post here)
I hope that will be useful.
-Nic
mario_a
9th April 2002, 04:53
Nic,
Thanx , that would be a real help , coz Tron's authentication is almost impossible to find .
Mario.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.