{"id":5894,"date":"2019-07-25T00:35:13","date_gmt":"2019-07-25T07:35:13","guid":{"rendered":"https:\/\/www.wurb.com\/stack\/?p=5894"},"modified":"2020-03-08T16:50:29","modified_gmt":"2020-03-08T23:50:29","slug":"kingdom-o-magic-pulling-strings-out-of-the-executable","status":"publish","type":"post","link":"https:\/\/www.wurb.com\/stack\/archives\/5894","title":{"rendered":"Kingdom O&#8217; Magic: Pulling Strings Out Of The Executable"},"content":{"rendered":"<p>A cursory prodding at cheat code sites didn&#8217;t tell me how to access the in-game hints, but it did set me on a path that would lead to that destination. There are, in fact, a few well-known cheat codes, which you access by typing &#8220;SCI&#8221; (the name of the company that made the game), followed by the code and any parameters, followed by ENTER, despite the lack of any feedback that your typing is having any effect. But that&#8217;s cheat codes for you. The whole scheme, with the company name as prefix, is plainly modeled after the cheat codes in <em>Doom<\/em>, which also didn&#8217;t have any kind of explicit prompt for them.<\/p>\n<p>The codes known to the web at large are: DAY and NIGHT to shift the day\/night cycle, and STUF, followed by the name of an item, to get that item. Peering into the executable, I found also the following:<br \/>\nHEALTH restores your health. You&#8217;d think there would be a code to restore your magic points too, but I didn&#8217;t find one.<br \/>\nSMKEY gives you the key to the Mordor-analogue. Presumably you could also get this with STUF, but I suppose this was an item they needed a lot in testing so it was worth it to have a shorter version.<br \/>\nWSHEET gives you a white sheet.<br \/>\nSNSHEL gives you both the key and the sheet.<br \/>\nPAC activates a slightly-<em>Pac-Man<\/em>-like mini-game that you&#8217;d otherwise have to go all the way to the Minas Tirith analogue to access.<br \/>\nSNOWON and SNOWOFF toggle an environment effect normally found only in the mountains.<br \/>\nBIG enlarges the player character to twice the normal height.<br \/>\nNARONSPEED makes the narrator talk faster and at a higher pitch.<br \/>\nHOTDOTS displays a blinking pixel at the foot of every character, which was presumably useful for debugging.<br \/>\nSCUTS by itself crashed the game. I speculate that it needs a parameter, specifying a cutscene to play. There is another code, SMK, that displays the same behavior and may simply be a synonym for SCUTS. (SMK is the file extension for Smacker video clips.)<br \/>\nOnes I have no idea about: HOMEOM, SAM, NECESSARY, GERBILDOOS, RABBITPOO.<\/p>\n<p>Anyway, when I was looking for promising text strings in the executable, I noticed a telephone number from within the game. There&#8217;s a cell phone you can find, and the phone number of a real estate office is on an abandoned tower over in the Mirkwood analogue, and it&#8217;s really easy to recognize, because it&#8217;s 011001111111. Which, yes, you have to tap out by hand. But near it, there was another phone number that I hadn&#8217;t seen in the game. It was, in fact, the customer support number listed in the manual. And that is how you access the in-game hints.<\/p>\n<p>I really should have suspected that they&#8217;d pull something like that. The manual is really an extension of the game here &#8212; not of the gameplay, really, but of the humor. Pages that look like dry legal text at first glance are full of jokes. They really want you to read the whole thing.<\/p>\n<p>Anyway, thanks to that, I&#8217;ve finished both of the remaining quests. But I&#8217;ll write up my thoughts in another post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A cursory prodding at cheat code sites didn&#8217;t tell me how to access the in-game hints, but it did set me on a path that would lead to that destination. There are, in fact, a few well-known cheat codes, which you access by typing &#8220;SCI&#8221; (the name of the company that made the game), followed [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[631],"class_list":["post-5894","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-kingdom-o-magic"],"_links":{"self":[{"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts\/5894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/comments?post=5894"}],"version-history":[{"count":2,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts\/5894\/revisions"}],"predecessor-version":[{"id":6127,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts\/5894\/revisions\/6127"}],"wp:attachment":[{"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/media?parent=5894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/categories?post=5894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/tags?post=5894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}