<div dir="ltr">Frankly, I expected Zork to be an order of magnitude more complex, but a<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

closer examination of the sources has showed me the work involved may<br>
not be much greater, as I find the existing Zork code somewhat more<br>
readable/portable.<br></blockquote><div><br></div><div style>It is, yeah. The main problem with the existing code is that it's badly written, IMHO, and needs refactoring into something more sensible.</div><div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I assume porting could be rather trivial when it comes, for example, to<br>
Puzzle.cpp (IIRC there is no graphics or event system involved, just<br>
some string functions from the standard library), although parts of the<br>
code may or may not benefit from a refactor.<br></blockquote><div><br></div><div style>Some parts will definitely need refactoring. E.g. I'd like to have a more generic kind of resource manager, something like what the MADE engine has.</div>
<div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I am less optimistic about, e.g., Graph.h or the whole avi_duck thing,<br>
but if you say that my utter lack of experience with video playback and<br>
anything but simple 2d graphics and geometry is not a show stopper as<br>
things can be picked up on the way and/or the mentor would be willing to<br>
help if - no, when I get stuck, then I'd seriously consider it.<br></blockquote><div><br></div><div style>Graph.h is straightforward enough, IIRC. As for the DUCK Truemotion 1 AVI encoding, we already support it in common code, as part of our VideoDecoder class - Phantasmagoria 2 uses videos with the same video encoding. </div>
<div style>Have a look here:</div><div style><a href="http://wiki.multimedia.cx/index.php?title=Duck_TrueMotion_1">http://wiki.multimedia.cx/index.php?title=Duck_TrueMotion_1</a><br></div><div style><br></div><div style>These two Zork games also use a specialized audio decoder - a sort of modified PCM. I've got a local patch to support this, but it's still not finished, as you can still hear static for some reason.</div>
<div style>My work is based on FFMpeg - have a look here:</div><div style><a href="http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/libavcodec_2pcm_8c-source.html">http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/libavcodec_2pcm_8c-source.html</a><br>
</div><div style>lines 179 - 185 and lines 400 - 407</div><div style><br></div><div style>I've got some very initial code for a ScummVM engine, which right now shows a game screen and a video, with the special Zork sound decoder. It's at the point where a proper resource manager is needed - which is where I stopped, because of lack of time. I'd be happy to send the code over.</div>
<div style><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I will be on IRC tonight and tomorrow night after 8PM GMT+1, with the<br>
nickname t0by, if you happen to be there I'd love to hear more from you<br>
so that I can make up my mind once and for all.<br></blockquote><div><br></div><div style>Great :) I'll try to be around at that time, I'm on GMT+2 (Athens, Greece), so the time slot should be fine.</div><div><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thank you so much!</blockquote><div><br></div><div style>You're more than welcome. Thanks for offering to help our project :)</div></div><div><br></div><div style>Regards</div><div style>Filippos</div><div style><br>
</div>-- <br>"Experience is the name every one gives to their mistakes" - Oscar Wilde 
</div></div>