beufreecasse good to know.
Right, you're probably not going to like this, I know I didn't. You'll need to base64 encode your images as data uris into your c2runtime.js.
So this:
["images/bg-sheet0.png", 369850, 0, 0, 800, 480, 1, 0.5, 0.5,
[],[],0]
Becomes this:
["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...", 369850, 0, 0, 800, 480, 1, 0.5, 0.5,
[],[],0]
Here is a tool that is relatively quick at encoding.
If anyone knows how to write a build script for Visual Studio to automate this I'd love them for ever. This is a real pain.