{"id":115,"date":"2007-08-23T17:52:25","date_gmt":"2007-08-23T17:52:25","guid":{"rendered":"https:\/\/blogs.scummvm.org\/t7gre\/?p=115"},"modified":"2022-05-24T17:52:42","modified_gmt":"2022-05-24T17:52:42","slug":"finding-my-feet","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/t7gre\/2007\/08\/23\/finding-my-feet\/","title":{"rendered":"Finding my feet"},"content":{"rendered":"<p>Well, this is something of a non-post. Or at least, it will seem it to anyone that&#8217;s not me. I&#8217;m trying to get my engine to just play a vdx file first, just to find my feet. I&#8217;m getting my head round the way everything&#8217;s done in ScummVM, slowly, but it&#8217;s not helped by the fact that my C++ is rusty: I wrote the extraction tools in plain C. Might have to get a book out of the uni library tomorrow. Anyway, I have figured out how to draw to the screen, &amp; open and read from a file&#8230; but now I&#8217;ve got to decompress a stream of data on the fly. In the tools I wrote before, I extracted to a temporary file, then read that back in. I knew it was a hack, and that I&#8217;d have to do it properly, but just sort of ignored it. Thankfully, there is already an LZSS decompresser in the SCUMM engine: it uses different settings so I can&#8217;t use it, but I should be able to use it as reference.<\/p>\n<p>Man that was a boring post. Maybe next time I&#8217;ll have some pretty pictures&#8230; hopefully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, this is something of a non-post. Or at least, it will seem it to anyone that&#8217;s not me. I&#8217;m trying to get my engine to just play a vdx file first, just to find my feet. I&#8217;m getting my head round the way everything&#8217;s done in ScummVM, slowly, but it&#8217;s not helped by the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/115\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}