{"id":15,"date":"2014-03-19T16:18:15","date_gmt":"2014-03-19T16:18:15","guid":{"rendered":"https:\/\/blogs.scummvm.org\/josejx\/?p=15"},"modified":"2022-05-21T16:20:34","modified_gmt":"2022-05-21T16:20:34","slug":"introduction-unpacking-and-moving-in","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/josejx\/2014\/03\/19\/introduction-unpacking-and-moving-in\/","title":{"rendered":"Introduction, Unpacking and Moving in"},"content":{"rendered":"<p>Hi! My name is Joe Jezak and I&#8217;ve decided to start working on fixing the issues with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Escape_from_Monkey_Island\">Escape from Monkey Island<\/a> (EMI) in <a href=\"http:\/\/www.residualvm.org\/\">ResidualVM<\/a>.<\/p>\n<p>Usually, when I start working on a new project, the first step is to see what happens when you run it! So, to get started, I first found my EMI discs:<\/p>\n<figure id=\"attachment_17\" aria-describedby=\"caption-attachment-17\" style=\"width: 664px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/Discs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17\" src=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/Discs.jpg\" alt=\"\" width=\"664\" height=\"498\" srcset=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/Discs.jpg 664w, https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/Discs-300x225.jpg 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a><figcaption id=\"caption-attachment-17\" class=\"wp-caption-text\">The Discs were hanging out with some old friends!<\/figcaption><\/figure>\n<p>To prepare the discs for use in ResidualVM, I copied the contents of the Monkey4 directory on both discs to my hard drive. As noted <a href=\"http:\/\/wiki.residualvm.org\/index.php\/Datafiles#Escape_From_Monkey_Island\">here<\/a>, you must rename <i>Textures\/FullMonkeyMap.imt <\/i>however, I found that both CD&#8217;s files must be renamed, not just the file on disc 2. So, for disc 1, the file must be renamed to <i>Textures\/FullMonkeyMap1.imt <\/i>and for disc 2, the file must be renamed to <i>Textures\/FullMonkeyMap2.imt.<\/i> When copying the files, make sure that you copy the <i>.m4b<\/i> files from the <i>MonkeyInstall<\/i> directory as well! Finally, I found that the <i>voiceAll.m4b<\/i> file must be copied from disc 1, the copy from disc 2 causes an MD5 error. Also remember that you may need to copy the patch (if needed) and the data file from the Residual project into your EMI data directory.<\/p>\n<p>Okay, so now, we have the game data files. Great! The next step is to fetch the ResidualVM source code and build it by following <a href=\"http:\/\/wiki.residualvm.org\/index.php\/Building_ResidualVM\">these directions<\/a>. That wasn&#8217;t too bad! It compiled cleanly on the first try with no issues. I started up the build and set it up by adding a game and pointing it at the location I stored the data files.<\/p>\n<figure id=\"attachment_18\" aria-describedby=\"caption-attachment-18\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/SettingItUp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18\" src=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/SettingItUp.png\" alt=\"\" width=\"640\" height=\"400\" srcset=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/SettingItUp.png 640w, https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/SettingItUp-300x188.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-18\" class=\"wp-caption-text\">Setting Up the Game<\/figcaption><\/figure>\n<p>Now, I crossed my fingers and started up the game and it worked! Kind of:<\/p>\n<figure id=\"attachment_19\" aria-describedby=\"caption-attachment-19\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/MessedUpLALogo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19\" src=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/MessedUpLALogo.png\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/MessedUpLALogo.png 640w, https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/MessedUpLALogo-300x225.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-19\" class=\"wp-caption-text\">There&#8217;s something missing here&#8230;<\/figcaption><\/figure>\n<p>It was apparent that there is an issue with fading between images, resulting in weird output like this. A bug to add to the list! However, things actually work a whole lot better than this first impression would seem. I was able to complete the whole first act (Act 0?) without any game breaking bugs. There were plenty of issues, such as the hot coal floating around like mad and the wick on the cannon not burning away, but the game was playable. Great!<\/p>\n<figure id=\"attachment_20\" aria-describedby=\"caption-attachment-20\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/InGame.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-20\" src=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/InGame.png\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/InGame.png 640w, https:\/\/blogs.scummvm.org\/josejx\/wp-content\/uploads\/sites\/23\/2014\/03\/InGame-300x225.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-20\" class=\"wp-caption-text\">Guybrush Threepwood at his polygonal best<\/figcaption><\/figure>\n<p>So, where to from here? Helpfully, the current build prints out a large number of debugging messages from the Lua interpreter pointing out places where there is missing code. I decided to pick one and see if I could figure out what needed to be in this function. But that&#8217;s for the next entry, this one has gone on long enough.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi! My name is Joe Jezak and I&#8217;ve decided to start working on fixing the issues with Escape from Monkey Island (EMI) in ResidualVM. Usually, when I start working on a new project, the first step is to see what happens when you run it! So, to get started, I first found my EMI discs: [&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-15","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/posts\/15\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/josejx\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}