{"id":42,"date":"2010-07-19T23:11:38","date_gmt":"2010-07-19T23:11:38","guid":{"rendered":"https:\/\/blogs.scummvm.org\/pidgeot\/?p=42"},"modified":"2022-05-21T11:48:23","modified_gmt":"2022-05-21T11:48:23","slug":"first-output","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/pidgeot\/2010\/07\/19\/first-output\/","title":{"rendered":"First output!"},"content":{"rendered":"<p>I finally have some actual output working. It&#8217;s only a proof of concept right now, but it&#8217;s a nice start.<\/p>\n<p>Here is the output the decompiler generates for one of\u00a0<a href=\"images\/script-33_grouped.png\">the short Sam &amp; Max scripts<\/a>\u00a0&#8211; one of the scripts I used for the code flow testing (link points to the graph for that script):<\/p>\n<pre>C:\\scummvm\\gsoc2010-decompiler&gt;decompile -escummv6 script-33.dmp\r\nVAR_GAME_LOADED = 0;\r\nvar173 = var177;\r\nvar177 = 874;\r\nUnknown opcode 6B99 at address 00000018\r\nUnknown opcode 66 at address 0000001A\r\n<\/pre>\n<p>It only does these simple assignments for now &#8211; everything else is left unknown &#8211; but like I said, it&#8217;s a start.<\/p>\n<p>The opcodes it complains about are cursorCmd_Image and stopObjectCodeB, since I don&#8217;t handle those yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally have some actual output working. It&#8217;s only a proof of concept right now, but it&#8217;s a nice start. Here is the output the decompiler generates for one of\u00a0the short Sam &amp; Max scripts\u00a0&#8211; one of the scripts I used for the code flow testing (link points to the graph for that script): C:\\scummvm\\gsoc2010-decompiler&gt;decompile [&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-42","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/posts\/42\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/pidgeot\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}