{"id":161,"date":"2009-07-22T06:27:31","date_gmt":"2009-07-22T14:27:31","guid":{"rendered":"http:\/\/gm.sagotsky.com\/?p=161"},"modified":"2009-08-04T09:14:13","modified_gmt":"2009-08-04T17:14:13","slug":"i-got-bored-and-made-a-mapping-tool","status":"publish","type":"post","link":"http:\/\/gm.sagotsky.com\/?p=161","title":{"rendered":"I got bored and made a mapping tool"},"content":{"rendered":"<p>Two games ago I decided I would never again attempt to run a game off my laptop.  Ostensibly this was to keep me off the computer for a few more hours each week in a belated attempt to save my carpal tunnels.  In actuality it&#8217;s because the computer was too damn useful and I kept finding new ways to make use of it when I should have been writing game.<\/p>\n<p>Well, I&#8217;m between games now (that sounds a lot more depressing than it really is) and figured I could invest some time into coding up my own RPG tools.<\/p>\n<p><!--more-->Dungeoneer is \u00c2\u00a0what I came up with. \u00c2\u00a0I liked taking notes on the computer but hated mapping. \u00c2\u00a0Even with some good tiles it took much too long to make simple maps. \u00c2\u00a0And even if I did have the patience for it, my wrist didn&#8217;t and I knew I&#8217;d be better off with something mouseless. \u00c2\u00a0Quite a bit of time spent mapping was sunk into making the map conform to a grid and coming up with notation. \u00c2\u00a0Why not use something that&#8217;s already based on a grid and already has well known and well documented notation?<\/p>\n<p>Many moons ago I was addicted to a game called Angband. \u00c2\u00a0It was kinda like Diablo with ASCII art. \u00c2\u00a0What I needed was a map maker that drew Angband.<\/p>\n<p>So I made one.<\/p>\n<p>What I came up with is simple to use, if you&#8217;re me. \u00c2\u00a0I haven&#8217;t done a bit of usability \u00c2\u00a0testing and I&#8217;ve only actually shown the program to one other GM. \u00c2\u00a0Even if the controls are reasonable, there&#8217;s no feedback from the program beyond what&#8217;s on the screen. \u00c2\u00a0I have plans for all that, but haven&#8217;t had time to program them yet.<\/p>\n<p>Anyway, the controls are as follows. \u00c2\u00a0Arrow keys or jkil can be used for movement. \u00c2\u00a0I recommend jkil. \u00c2\u00a0If you hold shift while moving with jkil you move 5 squares at a time instead of 1.<\/p>\n<p>There are also movement tabs that jump you to the next letter instead of to the next square. \u00c2\u00a0u and o jump left and right, y and h are vertical. \u00c2\u00a0If there is nothing on the screen they&#8217;ll jump to the far side of the screen. \u00c2\u00a0These commands may not make sense right now, but they will once you start using the program.<\/p>\n<p>q is for quit. \u00c2\u00a0That one&#8217;s easy.<\/p>\n<p>Finally there&#8217;s the spacebar. \u00c2\u00a0This is how you&#8217;ll be doing your drawing. \u00c2\u00a0Hit space to begin marking off a region. \u00c2\u00a0Move to the opposite corner of that region and hit space again. \u00c2\u00a0Nothing will happen, but if you press a key, that letter will fill in the region you just defined. \u00c2\u00a0So if you open up dungeoneer and type &#8220;space k k k l l l space #&#8221; you will make a 3&#215;3 square of the # symbol. \u00c2\u00a0This is where the program is perfectly functional but lacking in feedback.<\/p>\n<p>Anyway, here is the <A href=\"http:\/\/files.sagotsky.com\/dungeoneer-alpha0.zip\">source code<\/a>.   If you&#8217;re on linux and you have ncurses and gcc installed, just type make.  This will likely work on a Mac too, but I don&#8217;t have one and haven&#8217;t tried it myself.  I don&#8217;t know how to cross compile for windows so your best bet on an MS box is to download cygwin.  Make sure you install ncurses, gcc, and unzip.  Unzip the source code, type make, and then type .\/dungeoneer.  If there&#8217;s enough interest in a windows version I&#8217;ll look into adding my code to one of the portable versions of cygwin.<\/p>\n<p>So yeah.  Feedback and encouragement are appreciated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two games ago I decided I would never again attempt to run a game off my laptop. Ostensibly this was to keep me off the computer for a few more hours each week in a belated attempt to save my carpal tunnels. In actuality it&#8217;s because the computer was too damn useful and I kept [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[48,88,49],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-organization-gm","tag-maps","tag-organization-gm","tag-tools"],"_links":{"self":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=161"}],"version-history":[{"count":3,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":173,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions\/173"}],"wp:attachment":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}