copy protection - was: Re: Is it time for playing games on WINE?
steven_ed4153 at yahoo.com
Mon Nov 10 19:11:58 CST 2003
--- Jan Kratochvil <lace at jankratochvil.net> wrote:
> On Mon, 10 Nov 2003 20:19:45 +0100, Raphaël Junqueira wrote:
> > > BTW, I have got as far with loading secdrv.sys as crashing on
> > > IoCreateDevice. I believe the Io* functions will be the biggest
> It is no problem loading it and initializing it by Captive NTFS for
> ./captive-cmdline --load-module=/tmp/ntoskrnl.exe
> --filesystem=/tmp/secdrv.sys --debug-messages /dev/null
> (some trivia extensions done before a moment are currently only in
> section 'CVS Bleeding Edge'
> 'secdrv.sys' creates devices:
> "\Device\AscKmd" (symlinked to "\DosDevices\AscKmd")
> "\Device\Secdrv" (symlinked to "\DosDevices\Secdrv")
> It returns STATUS_SUCCESS afterwards. The log can be seen at
> I used secdrv.sys
> md5: bb6fbebebbd14429021f2851a60d8546
> downloaded by Google from
> Further run fails for Captive as 'secdrv.sys' is somehow broken
> driver as it
> does not provide any way to mount a filesystem. :-?
> Currently the example above requires 'ntoskrnl.exe' of NT-5.1 (XP).
> Tried Service Pack 1 Free Build and Service Pack 1 Checked Build.
> It would not be needed for such simple driver as 'secdrv.sys' but
> currently requires it for its 'ntfs.sys' emulation, reasons below:
> The next step is to combine Captive with Wine to be able to run the
> userland application with 'secdrv.sys'. Captive ported only the W32
> kernel part
> of ReactOS to the GNU/Linux environment, no W32 userland code is
> present there.
Hmm. We really shouldnt need to make much changes to WINE to use
Captive I would think. Once Captive+SevDrv and WINE are running you
should have full access to the CDROM drive.
> > Well, i don't think implementing simple (stupid?) Io* functions
> will be
> > diffcult.
> (A)Synchronous/(Non)Alertable IRPs (I/O Request Packet) can be tricky
> it is generally solved by ReactOS/Captive and it is questionable how
> much it is
> perused by 'secdrv.sys' IRP handling code.
We are still having trouble loading SecDrv.sys on native ROS.
> > For me, the problem is what secdrv want to do with this functions
> (maybe a
> > voodoo test for safely check if the subsystem have a correct
> > - - RtlUnwind
> This is a part of undocumented SEH (Structured Exception Handling)
> by ReactOS while fixed by Captive and partially combined with native
> 'ntoskrnl.exe'. I still have some suspections on the correctness of
> the current
> implementation but it works fine for 'ntfs.sys'.
We have a new SEH implementation that is not merged yet. The
implementation we have is patent friendly as it implement SEH totaly
differntly by using macros kind of like WINE.
Its looking good!
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
More information about the wine-devel