Soon after bumping into haXe and Doomed Online, i somehow got the strange idea that i could get flash to play SCUMM games, like ScummVM.
Safe to say, i ended up with this rather odd Flash-based app written in haXe which when provided with the ".000" and ".001" files of any unencrypted V6 SCUMM game will be able to load and play it. Or rather, attempt to.

Sadly i bumped into a problem in the image decode routines, so what is displayed isn't pretty. But it is quite capable of executing enough opcode's to get to the input event loop in Alban Bedel's road example for his scummc compiler, which is great.
As for other games, i would doubt that they would get very far. A lot still needs to be implemented in the runtime.
In any case, if you dare you can try out my Flash-based SCUMM interpreter by downloading and extracting this archive. Simply load "test.html" into your web browser. Note though that you will need Flash 9 in order to run the interpreter.
In addition i also decided to open up the code for everyone to look at. It's a mess, but it works. You can grab it from here.
Finally i would like to congratulate the ScummVM team for their SCUMM interpreter and Alban Bedel for his scummc compiler. Without their efforts, i wouldn't have had any code or references from which to base my haXe-based SCUMM interpreter.

Leave a comment