<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Raphael wrote:
<blockquote cite="mid200511102159.33693.fenix@club-internet.fr"
 type="cite">
  <pre wrap="">On Thursday 10 November 2005 03:25, Tyler Nielsen wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

I'm looking for a little help to find the next step in getting a program
(Everquest 2) working under wine.  It currently runs the patcher, and
will go through the load screen, and when the game comes up I get:

WineDbg starting on pid 0x8
Unhandled exception: privileged instruction in 32-bit code (0x00872230).
In 32 bit mode.
fixme:dbghelp:sffip_cb NIY on
'D:\test\eq2\output\User_Optimized\Client\EverQuest2.pdb'
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:00872230 ESP:7fbfee40 EBP:7fbfef64 EFLAGS:00210202(   - 00      -
-RI1) EAX:75065bec EBX:00f77bc0 ECX:00f78080 EDX:00f78080
 ESI:60890008 EDI:75003280
Stack dump:
0x7fbfee40:  fffffffe 7449f020 7cb55a30 60890008
0x7fbfee50:  00000008 00f78090 60888370 00000a5c
0x7fbfee60:  75468130 00000000 60897ca0 75065bb0
0x7fbfee70:  00f78740 60a917f0 00f78090 00f780a0
0x7fbfee80:  7449f020 00000a5f 75468100 00000297
0x7fbfee90:  beb29113 3fa5ebd8 be2674d8 00aba38f
Backtrace:
=&gt;1 0x00872230 in everquest2 (+0x472230) (0x7fbfef64)
  2 0x00876a6e in everquest2 (+0x476a6e) (0x7449ed70)
  3 0x00000010 (0x00d1eb84)
  4 0x00874f28 in everquest2 (+0x474f28) (0x008755a4)
0x00872230:
Modules:

    </pre>
  </blockquote>
  <pre wrap="">
Hi,

seems another "Copy Protected" Game.
can you try "Ivan Leo Puoti" patches (related to ntoskrnl/safedisc) ?

Raphael
  </pre>
  <pre wrap="">
<hr size="4" width="90%">

  </pre>
</blockquote>
Thanks for the reply.&nbsp; I'll track down that patch and try it tonight.&nbsp;
I don't think this program uses safedisc though (I don't have to have
the cd in to play).&nbsp; On another note, I found
'INSTR_EmulateInstruction' and added some debug.&nbsp; It looks like the
disassembly I posted earlier was wrong.&nbsp; I dumped the data, and put it
into gdb, and here is the result.<br>
<br>
(gdb) disassemble bar<br>
Dump of assembler code for function bar:<br>
0x080495a0 &lt;bar+0&gt;:&nbsp;&nbsp;&nbsp;&nbsp; movaps %xmm0,(%ecx)<br>
0x080495a3 &lt;bar+3&gt;:&nbsp;&nbsp;&nbsp;&nbsp; shufps $0xa,%xmm3,%xmm2<br>
0x080495a7 &lt;bar+7&gt;:&nbsp;&nbsp;&nbsp;&nbsp; add&nbsp;&nbsp;&nbsp; $0x90,%eax<br>
0x080495ac &lt;bar+12&gt;:&nbsp;&nbsp;&nbsp; decl&nbsp;&nbsp; 0x4c(%esp)<br>
0x080495b0 &lt;bar+16&gt;:&nbsp;&nbsp;&nbsp; movaps %xmm1,0x10(%ecx)<br>
0x080495b4 &lt;bar+20&gt;:&nbsp;&nbsp;&nbsp; shufps $0x9d,%xmm3,%xmm2<br>
0x080495b8 &lt;bar+24&gt;:&nbsp;&nbsp;&nbsp; mov&nbsp;&nbsp;&nbsp; %edi,0x88(%esp)<br>
0x080495bf &lt;bar+31&gt;:&nbsp;&nbsp;&nbsp; mov&nbsp;&nbsp;&nbsp; 0x64(%esp),%edi<br>
0x080495c3 &lt;bar+35&gt;:&nbsp;&nbsp;&nbsp; movaps %xmm2,0x20(%ecx)<br>
0x080495c7 &lt;bar+39&gt;:&nbsp;&nbsp;&nbsp; jne&nbsp;&nbsp;&nbsp; 0x80491b6<br>
<br>
I'm now fairly sure it's failing on the first movaps command.&nbsp; Unless
someone can direct me differently, I'm going to start looking at why
that command is showing up as 'privileged'.<br>
<br>
Thanks,<br>
Tyler<br>
</body>
</html>