{"id":1004,"date":"2009-08-06T01:49:52","date_gmt":"2009-08-06T01:49:52","guid":{"rendered":"http:\/\/spinor.info\/weblog\/?p=1004"},"modified":"2009-08-06T01:49:52","modified_gmt":"2009-08-06T01:49:52","slug":"duke-nukem-and-a-computer-mystery","status":"publish","type":"post","link":"https:\/\/spinor.info\/weblog\/?p=1004","title":{"rendered":"Duke Nukem and a computer mystery"},"content":{"rendered":"<p>I built myself this dual-core computer several years ago, and it has been my main workstation ever since. By and large, it&#8217;s a good and reliable machine (not counting a broken fan and some fried capacitors on its motherboard&#8230; never mind, I now have spares of the same motherboard just to be safe) but there have always been a few minor glitches.<\/p>\n<p>One of those glitches concerned MIDI files&#8230; if I played back a MIDI file on this computer, its tempo was all off. That is, unless I set the processor affinity of the MIDI playback program to play back only on a specific CPU core. Go figure. If that&#8217;s the worst problem I have on a machine that otherwise runs for months without a reboot despite being used for everything from software development to video editing, I guess I can call myself lucky.<\/p>\n<p>But now, years later, I ran into another curious problem. There&#8217;s this computer game from the 90s, Duke Nukem, that I, for some reason, still find quite enjoyable. I usually run it on an old Windows 98 box. Recently I found out that there is an open source effort to develop and maintain a multiplatform Duke Nukem executable. I downloaded it and tested it on a test machine&#8230; it worked fine. So the other day, I put it on my main machine. It didn&#8217;t work fine&#8230; if I hit a key on the keyboard, it registered as a large number of very rapid keystrokes to the program.<\/p>\n<p>I&#8217;ve been searching for a solution and came across a comment about CPU drivers and processor affinities. Whoops! Restricting EDUKE32 to a single CPU did the trick as a workaround. And then, I remembered that two years ago, I chose not to download a processor driver update from Microsoft Update, following the good old principle of &#8220;don&#8217;t fix it if it ain&#8217;t broken&#8221;. So now I took a deep breath and downloaded this update (okay, I wasn&#8217;t too worried, since this update already ran fine on a test computer with nearly identical hardware.)<\/p>\n<p>Bingo! EDUKE32 runs like a charm and guess what&#8230; so do MIDI files? A years old mystery solved. Now I can happily shoot some heavily pixelated aliens in post-apocalyptic L.A&#8230;<\/p>\n<fb:like href='https:\/\/spinor.info\/weblog\/?p=1004' send='false' layout='button_count' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida grande'><\/fb:like>","protected":false},"excerpt":{"rendered":"<p>I built myself this dual-core computer several years ago, and it has been my main workstation ever since. By and large, it&#8217;s a good and reliable machine (not counting a broken fan and some fried capacitors on its motherboard&#8230; never mind, I now have spares of the same motherboard just to be safe) but there <a href='https:\/\/spinor.info\/weblog\/?p=1004' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1004","post","type-post","status-publish","format-standard","hentry","category-computers","category-11-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/1004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1004"}],"version-history":[{"count":1,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/1004\/revisions"}],"predecessor-version":[{"id":1005,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/1004\/revisions\/1005"}],"wp:attachment":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}