{"id":61,"date":"2022-07-24T15:27:48","date_gmt":"2022-07-24T15:27:48","guid":{"rendered":"https:\/\/blogs.scummvm.org\/stablesteady\/?p=61"},"modified":"2022-07-24T15:27:48","modified_gmt":"2022-07-24T15:27:48","slug":"week-9-working-on-wage-ii","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/stablesteady\/2022\/07\/24\/week-9-working-on-wage-ii\/","title":{"rendered":"Week 9 \u2013 Working on WAGE II"},"content":{"rendered":"<p>Another week spent on working on WAGE and I am getting closer to finishing up.<\/p>\n<p>Continuing the issue with the font from last week, we decided to just hardcode the correct font as the game might have been using a different version of the engine with different behavior.<\/p>\n<p>After that I worked on implementing the about screen. Different games do different font types, sizes, alignment, etc. so I just went with a general center aligned screen. It took some time to get the alignment working properly but I managed to do that.<\/p>\n<p>There were a bunch of game specific bugs left to deal with, 24 to be exact so I started working on them one by one. There wasn&#8217;t much in terms of how I solved them and the process was to just set some breakpoints in places related to the bug and see what&#8217;s going wrong.<\/p>\n<p>To fix them I had to implement some game specific fixes but I think it&#8217;s the only way as they all might have used a slightly different version of the engine.<\/p>\n<p>The only notable task from these fixes was to add more resolution options to WAGE. Originally it was hardcoded to run at 512&#215;342 but now it also supports 800&#215;600 and 1024&#215;768. This was necessary to support some games which needed larger windows.<\/p>\n<p>Currently there are 13 tasks left and most of them fall under the category of &#8220;Ignored bytes while rendering&#8221; and &#8220;Unhandled comparisons while executing the script&#8221;. I don&#8217;t have a good idea of why these are caused but so far I haven&#8217;t found any difference in the behavior in the Original vs ScummVM so they might be harmless after all. I&#8217;ll look more into them and that should be the last I have to do.<\/p>\n<p>Thanks for reading and see you next week!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another week spent on working on WAGE and I am getting closer to finishing up. Continuing the issue with the font from last week, we decided to just hardcode the correct font as the game might have been using a different version of the engine with different behavior. After that I worked on implementing the [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/posts\/61\/revisions\/62"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/stablesteady\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}