It patched quite a few of the files. The last successful patch was of:<div>code/rapido/matrix.h</div><div><br class="webkit-block-placeholder"></div><div>it chokes on&nbsp;code/rapido/src/packet.h and the line is a blank one (&quot;+&quot;).</div>
<div>It is possible there is a non-printable ASCII character in there of something.</div><div>I&#39;ll keep investigating but I am not a patch expert by any means.</div><div><br class="webkit-block-placeholder"></div><div>
Below is the section it chokes on &nbsp;and I have marked the line stating CHOKES HERE.</div><div><br>&nbsp;</div><div><div>+#ifdef RECORDRAYSTATS</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>struct</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>int visitedInnerNodes, visitedLeaves;</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>int intersectedTriangles;</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>} staticStats, dynamicStats;</div><div>+#endif</div><div>+</div><div>+<span class="Apple-tab-span" style="white-space:pre">        </span>inline packet(ray *rays) : triangle4(NoHit4), distance4(Infinity4)</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">        </span>{</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>for(int i = 0; i &lt; 4; ++i) this-&gt;rays[i] = rays + i;</div><div>+ &nbsp; &lt;&lt;&lt;&lt;&lt;========== CHOKES HERE line number 10565</div>
<div><div>+#ifdef SHUFFLERAYDATA</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>__m128 xy10 = _mm_setzero_ps(), zw10 = _mm_setzero_ps();</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>__m128 xy32 = _mm_setzero_ps(), zw32 = _mm_setzero_ps();</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">                </span>xy10 = _mm_loadl_pi(xy10, (__m64 *)&amp;rays[0].origin.x);</div><div>+<span class="Apple-tab-span" style="white-space:pre">                </span>zw10 = _mm_loadl_pi(zw10, (__m64 *)&amp;rays[0].origin.z);</div>
<div><br>&nbsp;</div></div><div><span class="gmail_quote">On 3/6/08, <b class="gmail_sendername">Stephan Reiter</b> &lt;<a href="mailto:stephan.reiter@gmail.com">stephan.reiter@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hmm, that&#39;s odd. I added the new files with &quot;svn add&quot; and then execuated a &quot;svn diff&quot; to create the patch.<div><br>&nbsp;</div><div>Should have worked, I guess ... Any ideas about what might be wrong?</div>
<div>Stephan<br><div><br><div><div>Am 06.03.2008 um 22:44 schrieb Daniel Lord:</div><div><span class="e" id="q_118861bfd4c28eea_1"><br><blockquote type="cite">Had a few minutes on my hands so I tried it:<div><br>&nbsp;</div><div>
Error: &quot;patch: *** malformed patch at line 10565:&quot;</div><div><br>&nbsp;</div><div>Didn&#39;t get too far ;-)</div><div><br> </div><div>Daniel</div><div><br><div><span class="gmail_quote">On 3/6/08, <b class="gmail_sendername">Stephan Reiter</b> &lt;<a href="mailto:stephan.reiter@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stephan.reiter@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
 I&#39;ve fetched the latest revision of ioquake3 (1270) and embedded the<br> raytracer. You can download a patch here:<br> <a href="http://myfreefilehosting.com/f/129de03d75_0.08MB" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://myfreefilehosting.com/f/129de03d75_0.08MB</a><br>
 <br> Please note the following:<br> 1. Before compiling the engine go to code/renderer/rapido and compile the<br> raytracing library first. Maybe someone can modify the ioquake3-makefile to<br> take care of this automatically.<br>
 2. This has been tested only on a Ubuntu 64-bit system. There will most<br> certainly be bugs on other platforms (I didn&#39;t come around to testing this<br> on my Mac as I wanted it to get out asap), if you manage to compile it, that<br>
 is ...<br> 3. The raytracing library &#39;Rapido&#39; is still incomplete. I&#39;ve also removed<br> some features that aren&#39;t required for this project.<br> 4. You&#39;ll notice that several other things are still missing, e.g. lightmap<br>
 support or some entity shading related things ...<br> <br> I hope I didn&#39;t forget any files when building the patch. In case you&#39;re<br> experiencing problems compiling the code, please send me a message.<br> <br>
 Some screenshot goodness:<br> <a href="http://picasaweb.google.de/stephan.reiter/IoQuake3Raytraced" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://picasaweb.google.de/stephan.reiter/IoQuake3Raytraced</a><br>
 <br> Looking forward to hearing from the brave that try this, :-)<br> Stephan<br> <br> <br> ---<br> To unsubscribe, send a blank email to <a href="mailto:quake3-unsubscribe@icculus.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">quake3-unsubscribe@icculus.org</a><br>
 Mailing list archives: <a href="http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?50" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?50</a><br> <br> <br> </blockquote>
</div><br><br clear="all"><br>-- <br>Some people building C++/Obj-C code on OS X with Xcode and who have a problem to solve think: &quot;I know, I&#39;ll use the Boost Libraries&quot;. Now they have two problems--three if they are planning on using Boost for regular expressions. </div>
</blockquote></span></div></div><br>&nbsp;</div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Some people building C++/Obj-C code on OS X with Xcode and who have a problem to solve think: &quot;I know, I&#39;ll use the Boost Libraries&quot;. Now they have two problems--three if they are planning on using Boost for regular expressions.
</div>