Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Display Modes
Old 2nd April 2002, 20:48   #1  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
DeCSS plus 2pre3

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?
Ocrana is offline   Reply With Quote
Old 5th April 2002, 11:08   #2  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
Same prob here

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.
mario_a is offline   Reply With Quote
Old 5th April 2002, 12:11   #3  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
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
Nic is offline   Reply With Quote
Old 5th April 2002, 13:15   #4  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
Need a little more help.......

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
mario_a is offline   Reply With Quote
Old 5th April 2002, 13:17   #5  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
Standard stuff:
hDLL = LoadLibrary("WinAspi32.DLL");
GetProcAddress(hDLL, ....

etc

Ill send you the source once ive tested it if you want.

-Nic
Nic is offline   Reply With Quote
Old 5th April 2002, 13:42   #6  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
All is crap and shit

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
Ocrana is offline   Reply With Quote
Old 5th April 2002, 13:52   #7  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
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
Nic is offline   Reply With Quote
Old 5th April 2002, 14:30   #8  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
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
mario_a is offline   Reply With Quote
Old 5th April 2002, 14:34   #9  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
Ill check out if ive done it right, over the weekend & send it them

-Nic
Nic is offline   Reply With Quote
Old 5th April 2002, 14:37   #10  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
Thanx

Nic,

Thanx. I'll be looking forward to receiving them.

Mario

p.s. You're really fast at replying to the posts !
mario_a is offline   Reply With Quote
Old 5th April 2002, 15:04   #11  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
Nic?

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 is offline   Reply With Quote
Old 5th April 2002, 15:06   #12  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
@mario_a

Mario,

never user the wnapsi.dll. USE WNASPI32.dll. That as a little hint

Ocrana
Ocrana is offline   Reply With Quote
Old 5th April 2002, 15:10   #13  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
What??

Ocrana,

What exactly are u trying to say?
Filenames are not case-sensitive under Windows

Mario
mario_a is offline   Reply With Quote
Old 5th April 2002, 15:17   #14  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
@mario

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
Ocrana is offline   Reply With Quote
Old 5th April 2002, 15:30   #15  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
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
Nic is offline   Reply With Quote
Old 5th April 2002, 15:39   #16  |  Link
Ocrana
Registered User
 
Join Date: Dec 2001
Posts: 34
normalway

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
Ocrana is offline   Reply With Quote
Old 5th April 2002, 15:56   #17  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
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

Last edited by Nic; 5th April 2002 at 22:36.
Nic is offline   Reply With Quote
Old 8th April 2002, 18:02   #18  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,260
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
Nic is offline   Reply With Quote
Old 9th April 2002, 05:53   #19  |  Link
mario_a
Registered User
 
Join Date: Feb 2002
Posts: 27
Nic,

Thanx , that would be a real help , coz Tron's authentication is almost impossible to find .

Mario.
mario_a is offline   Reply With Quote
Reply

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

Forum Jump


All times are GMT +1. The time now is 09:10.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.