{"id":94,"date":"2023-08-14T05:26:12","date_gmt":"2023-08-14T05:26:12","guid":{"rendered":"https:\/\/blogs.scummvm.org\/hax0kartik\/?p=94"},"modified":"2023-08-14T05:26:12","modified_gmt":"2023-08-14T05:26:12","slug":"getting-crab-merged-into-main-branch","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/hax0kartik\/2023\/08\/14\/getting-crab-merged-into-main-branch\/","title":{"rendered":"Getting CRAB merged into main branch"},"content":{"rendered":"<p>Hi all, welcome back to my progress blog for CRAB. As we get closer to the end of the GSoC period, I am happy to inform you, that the <a href=\"https:\/\/github.com\/scummvm\/scummvm\/pull\/5229\">PR<\/a> for integrating CRAB into ScummVM has been merged! \ud83d\ude42 In this blog post, I would like to detail what changes and improvements I made last week.<\/p>\n<p>While most of my commits were around code formatting fixes and code cleanup, I did make a few exciting changes. My mentor, Sev, pointed out that Unrest had a <a href=\"https:\/\/store.steampowered.com\/app\/292400\/Unrest\/\">demo<\/a> version available on Steam, and I was able to add support for the demo version as well. <strong>This means that all of you can at least play one stage of Unrest for &#8220;quick feels&#8221; of how CRAB works on ScummVM!<\/strong><\/p>\n<figure id=\"attachment_96\" aria-describedby=\"caption-attachment-96\" style=\"width: 580px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-96 size-large\" src=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30-1024x610.png\" alt=\"\" width=\"580\" height=\"346\" srcset=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30-1024x610.png 1024w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30-300x179.png 300w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30-768x458.png 768w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30-1200x715.png 1200w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-27-30.png 1300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption id=\"caption-attachment-96\" class=\"wp-caption-text\">Unrest &#8211; Demo running in ScummVM<\/figcaption><\/figure>\n<p>Initially, the demo crashed due to bugs in MusicManager but I was able to fix it and now you can play the whole demo. As an engine developer, the consequences of having a demo version are really exciting because now a larger audience would be able to test out the engine. \ud83d\ude42<\/p>\n<p>Next, I have made the debuglines that are drawn on the screen <span class=\"ILfuVd\" lang=\"en\"><span class=\"hgKElc\">togglable<\/span><\/span> using ScummVM&#8217;s debug console. You need to press CTRL+ALT+D and then type in the draw `XXX` command where XXX is the feature(TMX, Pathfinding, etc.) for which you want to draw debug lines.<\/p>\n<figure id=\"attachment_97\" aria-describedby=\"caption-attachment-97\" style=\"width: 580px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-97 size-large\" src=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58-1024x610.png\" alt=\"Possible arguments for the draw command\" width=\"580\" height=\"346\" srcset=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58-1024x610.png 1024w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58-300x179.png 300w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58-768x458.png 768w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58-1200x715.png 1200w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-36-58.png 1300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption id=\"caption-attachment-97\" class=\"wp-caption-text\">Possible arguments for the draw command<\/figcaption><\/figure>\n<figure id=\"attachment_98\" aria-describedby=\"caption-attachment-98\" style=\"width: 580px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-98 size-large\" src=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33-1024x610.png\" alt=\"Screenshot from the demo with draw TMX on\" width=\"580\" height=\"346\" srcset=\"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33-1024x610.png 1024w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33-300x179.png 300w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33-768x458.png 768w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33-1200x715.png 1200w, https:\/\/blogs.scummvm.org\/hax0kartik\/wp-content\/uploads\/sites\/68\/2023\/08\/Screenshot-from-2023-08-14-10-37-33.png 1300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption id=\"caption-attachment-98\" class=\"wp-caption-text\">Screenshot from the demo with TMX debuglines on<\/figcaption><\/figure>\n<p>I made some other small fixes here and there but that is all I did this week. The major progress of this week was that I was finally able to get CRAB merged, phew. Oh, and in other news,<strong> I have joined the ScummVM team.<\/strong> \ud83d\ude42 I plan to keep working on the CRAB engine and I&#8217;m also thinking of helping out with the SLUDGE engine. We&#8217;ll see.<\/p>\n<p>Thanks for reading as always!<\/p>\n<p>&#8212;<\/p>\n<p>P.S., here are some links for announcements of CRAB getting merged into ScummVM:<\/p>\n<p>Twitter: <a href=\"https:\/\/twitter.com\/ScummVM\/status\/1689658519749013504\">https:\/\/twitter.com\/ScummVM\/status\/1689658519749013504<\/a><\/p>\n<p>Facebook: <a href=\"https:\/\/www.facebook.com\/ScummVM\/posts\/pfbid0d9pQ1LCKKsgH9JZ6EF5tdbKuJVpNXgYLryHmmLg5VG6vh7zzAPVAikuwym61YKKZl\">https:\/\/www.facebook.com\/ScummVM\/posts\/pfbid0d9pQ1LCKKsgH9JZ6EF5tdbKuJVpNXgYLryHmmLg5VG6vh7zzAPVAikuwym61YKKZl<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi all, welcome back to my progress blog for CRAB. As we get closer to the end of the GSoC period, I am happy to inform you, that the PR for integrating CRAB into ScummVM has been merged! \ud83d\ude42 In this blog post, I would like to detail what changes and improvements I made last [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":3,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/posts\/94\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/hax0kartik\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}