{"id":5892,"date":"2019-07-24T13:52:39","date_gmt":"2019-07-24T20:52:39","guid":{"rendered":"https:\/\/www.wurb.com\/stack\/?p=5892"},"modified":"2019-07-24T13:52:39","modified_gmt":"2019-07-24T20:52:39","slug":"kingdom-o-magic-cheating","status":"publish","type":"post","link":"https:\/\/www.wurb.com\/stack\/archives\/5892","title":{"rendered":"Kingdom O&#8217; Magic: Cheating"},"content":{"rendered":"<p>Having beaten one quest, I&#8217;ve been switching freely between the other two. With just two scenarios, it&#8217;s relatively easy to eliminate the useless. This is basically one of those one-puzzle-per-item adventures, so once you&#8217;ve found a quest-specific use for something, you know it&#8217;s useless in the other quest.<\/p>\n<p>Nonetheless, I&#8217;m spending most of my time stuck now. I&#8217;ve made a couple of significant conceptual breakthroughs: one when I realized that one of the spells could be used in solving a puzzle, another when I figured out how to combine inventory items (something that was never needed in the first quest). Each such breakthrough was followed by a flurry of progress, then I went back to being stuck. Maybe there really is something to the game&#8217;s difficulty rankings for the quests after all.<\/p>\n<p>The thing is, I&#8217;m pretty sure that the wandering monsters are supposed to keep things interesting at times like this. If you can&#8217;t solve puzzles, you can always go kill stuff, right? You don&#8217;t get experience points or anything, but everything you kill stays dead, and sometimes they have useful items. Frequently, solving a major puzzle rewards you with a more powerful weapon or spell in addition to whatever else you were solving the puzzle for. The thing is, though, I&#8217;ve been stuck so much that I&#8217;ve already killed everything there is to kill. Finding a new weapon does nothing but heighten the sense of ennui.<\/p>\n<p>The thing is, I used walkthroughs way too much in the last couple of games I played. I blame the games more than I blame myself, but all the same, I don&#8217;t want to start that up again if I can avoid it. But this is an old enough game that it&#8217;s inspired me to cheat pre-Internet style, by examining the game resources. I was delighted to discover that all the animations and cutscenes are simply on the CD-ROM in smacker format, and can be played using VLC. There&#8217;s even a &#8220;SECRET&#8221; folder full of dev-team in-jokes. Suddenly I feel like I&#8217;m playing <em>Hypnospace Outlaw<\/em> again. <\/p>\n<p>But the real major discovery was HELP.BIN.<\/p>\n<p>This is a file full of hints for the game. The hints themselves are plain ASCII, but there&#8217;s no newlines. Possibly they&#8217;re terminated by null characters or something. There&#8217;s a second file, HELP.IDX, that presumably helps some program access individual hints. And I have good reason to believe that the program that&#8217;s supposed to be doing this is the game itself. There&#8217;s a reference to these files in the executable, and the content of the hints themselves is clearly context-specific: each hint relates to a single room, and is phrased in a way that assumes that you&#8217;re in that room as you read it. In other words, it&#8217;s like the stuff you used to get by typing &#8220;HELP&#8221; in a Scott-Adams-era text adventure. But I have no idea how to access it within the game. The manual doesn&#8217;t say, and no single keypress does it.<\/p>\n<p>I could unstick myself (and, indeed, have already unstuck myself somewhat) by just reading bits of the hint file and figuring out what rooms it&#8217;s relevant to. But I don&#8217;t want to spoil things by reading hints for rooms I haven&#8217;t reached yet! So it looks like I&#8217;ve got a technical challenge ahead of me: Figure out how to access these hints in their proper context. Possibly by tracing through the executable. This is the old-school hackery nonsense you read this blog for.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having beaten one quest, I&#8217;ve been switching freely between the other two. With just two scenarios, it&#8217;s relatively easy to eliminate the useless. This is basically one of those one-puzzle-per-item adventures, so once you&#8217;ve found a quest-specific use for something, you know it&#8217;s useless in the other quest. Nonetheless, I&#8217;m spending most of my time [&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-5892","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\/5892","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=5892"}],"version-history":[{"count":1,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts\/5892\/revisions"}],"predecessor-version":[{"id":5893,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/posts\/5892\/revisions\/5893"}],"wp:attachment":[{"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/media?parent=5892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/categories?post=5892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wurb.com\/stack\/wp-json\/wp\/v2\/tags?post=5892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}