{"id":322,"date":"2016-05-09T16:59:37","date_gmt":"2016-05-09T16:59:37","guid":{"rendered":"http:\/\/dcnigma.eu5.org\/?p=322"},"modified":"2017-01-18T13:09:51","modified_gmt":"2017-01-18T13:09:51","slug":"progress-on-the-gameboy-pi","status":"publish","type":"post","link":"https:\/\/dcnigma.eu5.org\/?p=322","title":{"rendered":"Progress on the Gameboy Pi"},"content":{"rendered":"<div class=\"post_header\">\n<div class=\"post_info\">\n<div class=\"post_info_fence\">\u00a0Here is a update for my:<\/div>\n<div class=\"post_info_fence\">\u00a0<a href=\"http:\/\/dcnigma.eu5.org\/?p=315\" target=\"_blank\">Gameboy Upgrade \/ MOD \/ Crack Open Raspberry Pi replacment<\/a> \ud83d\ude42<\/div>\n<div class=\"post_info_fence\"><\/div>\n<div class=\"post_info_fence\">Ordered a ffc-cable to extend my PiTFT 2.8 inch from ada fruit.<\/div>\n<div class=\"post_info_fence\"><\/div>\n<div class=\"post_info_fence\">Here are some progress pictures:<\/div>\n<div class=\"post_info_fence\"><\/div>\n<div class=\"post_info_fence\"><\/div>\n<div class=\"post_info_fence\"><a id=\"photoset_link_144102924449_1\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/65.media.tumblr.com\/d5dea77d022f12218e1e2584c51c418c\/tumblr_o6x5nslhrF1qleor2o1_1280.jpg\" data-photoset-index=\"1\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/66.media.tumblr.com\/d5dea77d022f12218e1e2584c51c418c\/tumblr_o6x5nslhrF1qleor2o1_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a>\u00a0<a id=\"photoset_link_144102924449_2\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/67.media.tumblr.com\/39cc738d3a8e132ac08b2773a513c894\/tumblr_o6x5nslhrF1qleor2o2_1280.jpg\" data-photoset-index=\"2\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/66.media.tumblr.com\/39cc738d3a8e132ac08b2773a513c894\/tumblr_o6x5nslhrF1qleor2o2_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"post_content clearfix\">\n<div class=\"post_content_inner clearfix\">\n<div class=\"post_media\">\n<div id=\"photoset_144102924449\" class=\"photoset\">\n<div class=\"photoset_row photoset_row_1\"><a id=\"photoset_link_144102924449_3\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/66.media.tumblr.com\/16ac927bac10a58b6f251c33ef2ff13b\/tumblr_o6x5nslhrF1qleor2o3_1280.jpg\" data-photoset-index=\"3\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/67.media.tumblr.com\/16ac927bac10a58b6f251c33ef2ff13b\/tumblr_o6x5nslhrF1qleor2o3_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a>\u00a0<a id=\"photoset_link_144102924449_4\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/66.media.tumblr.com\/41c078c654926e64181e2bcbc14f6e41\/tumblr_o6x5nslhrF1qleor2o4_1280.jpg\" data-photoset-index=\"4\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/67.media.tumblr.com\/41c078c654926e64181e2bcbc14f6e41\/tumblr_o6x5nslhrF1qleor2o4_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a><\/div>\n<div class=\"photoset_row photoset_row_1\"><a id=\"photoset_link_144102924449_5\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/66.media.tumblr.com\/3073edc603d3f6ddf80061b32855877d\/tumblr_o6x5nslhrF1qleor2o7_1280.jpg\" data-photoset-index=\"5\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/66.media.tumblr.com\/3073edc603d3f6ddf80061b32855877d\/tumblr_o6x5nslhrF1qleor2o7_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a>\u00a0<a id=\"photoset_link_144102924449_6\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/66.media.tumblr.com\/6e4eb92ea40e587db29417f0db4e36c9\/tumblr_o6x5nslhrF1qleor2o5_1280.jpg\" data-photoset-index=\"6\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/67.media.tumblr.com\/6e4eb92ea40e587db29417f0db4e36c9\/tumblr_o6x5nslhrF1qleor2o5_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a><\/div>\n<div class=\"photoset_row photoset_row_1\"><a id=\"photoset_link_144102924449_7\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/67.media.tumblr.com\/73a3cd1ffc9b533cf8c8cd835ec0a170\/tumblr_o6x5nslhrF1qleor2o6_1280.jpg\" data-photoset-index=\"7\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/65.media.tumblr.com\/73a3cd1ffc9b533cf8c8cd835ec0a170\/tumblr_o6x5nslhrF1qleor2o6_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a>\u00a0<a id=\"photoset_link_144102924449_8\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/67.media.tumblr.com\/8f7f1831b0f16f499023ce626c8d9f80\/tumblr_o6x5nslhrF1qleor2o8_1280.jpg\" data-photoset-index=\"8\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/67.media.tumblr.com\/8f7f1831b0f16f499023ce626c8d9f80\/tumblr_o6x5nslhrF1qleor2o8_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a><\/div>\n<div class=\"photoset_row photoset_row_1\"><a id=\"photoset_link_144102924449_9\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/66.media.tumblr.com\/5b626ea9d362e3f7a83d9c334f631377\/tumblr_o6x5nslhrF1qleor2o10_1280.jpg\" data-photoset-index=\"9\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/65.media.tumblr.com\/5b626ea9d362e3f7a83d9c334f631377\/tumblr_o6x5nslhrF1qleor2o10_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a>\u00a0<a id=\"photoset_link_144102924449_10\" class=\"photoset_photo rapid-noclick-resp\" href=\"https:\/\/67.media.tumblr.com\/e4247e3b1e09af4ffc7fee7b847d06b0\/tumblr_o6x5nslhrF1qleor2o9_1280.jpg\" data-photoset-index=\"10\"><img loading=\"lazy\" class=\"\" src=\"https:\/\/66.media.tumblr.com\/e4247e3b1e09af4ffc7fee7b847d06b0\/tumblr_o6x5nslhrF1qleor2o9_540.jpg\" alt=\"\" width=\"200\" height=\"267\" data-pin-url=\"http:\/\/dcnigma.tumblr.com\/post\/144102924449\/some-progress-pictures-for-my-gameboy-pi\" data-pin-description=\"DCnigma\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<div class=\"post_body\">\n<p>Some progress pictures for my Gameboy Pi<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Gameboy Pi install:<\/p>\n<p>Make sd img from 2016-03-25-28c.img<br \/>\nThen install retropi:<\/p>\n<p style=\"padding-left: 30px;\">sudo raspi-config<\/p>\n<p>Enable ssh<br \/>\nResize SD<br \/>\nDisable boot Gui boot Console:<\/p>\n<p style=\"padding-left: 30px;\">sudo reboot.<\/p>\n<p style=\"padding-left: 30px;\">sudo apt-get update &amp;&amp; sudo apt-get upgrade<br \/>\nsudo apt-get install -y git dialog<br \/>\ncd<br \/>\ngit clone &#8211;depth=1 https:\/\/github.com\/RetroPie\/RetroPie-Setup.git<br \/>\ncd RetroPie-Setup<br \/>\nchmod +x retropie_setup.sh<br \/>\nsudo .\/retropie_setup.sh<\/p>\n<p>Install binary-based.<br \/>\nInstall fb<\/p>\n<p style=\"padding-left: 30px;\">sudo apt-get install cmake<br \/>\nsudo apt-get install libbsd-dev<\/p>\n<p>Create file: \/usr\/share\/X11\/xorg.conf.d\/99-fbdev.conf<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/usr\/share\/X11\/xorg.conf.d\/99-fbdev.conf<\/p>\n<p>add in nano<\/p>\n<p style=\"padding-left: 30px;\">Section &#8220;Device&#8221;<br \/>\nIdentifier &#8220;myfb&#8221;<br \/>\nDriver &#8220;fbdev&#8221;<br \/>\nOption &#8220;fbdev&#8221; &#8220;\/dev\/fb1&#8221;<br \/>\nEndSection<\/p>\n<p>Exit Nano<\/p>\n<p style=\"padding-left: 30px;\">sudo apt-get install cmake<br \/>\ngit clone https:\/\/github.com\/AndrewFromMelbourne\/raspi2fb<br \/>\ncd raspi2fb\/<br \/>\nmkdir build<br \/>\ncd build<br \/>\ncmake ..<br \/>\nmake<br \/>\nsudo make install<br \/>\nsudo cp ..\/raspi2fb@.service \/etc\/systemd\/system\/<br \/>\nsudo systemctl daemon-reload<br \/>\nsudo systemctl enable raspi2fb@1.service<br \/>\nsudo systemctl start raspi2fb@1<\/p>\n<p>TEST<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/etc\/rc.local<br \/>\nadd before exit 0<br \/>\nsudo systemctl daemon-reload<br \/>\nsudo systemctl enable raspi2fb@1.service<br \/>\nsudo systemctl start raspi2fb@1<\/p>\n<p>END TEST<\/p>\n<p style=\"padding-left: 30px;\">sudo dpkg-reconfigure console-setup<\/p>\n<p>Select \u201cUTF-8\u201d, \u201cGuess optimal character set\u201d, \u201cTerminus\u201d and \u201c6&#215;12 (framebuffer only).\u201d<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/boot\/config.txt<\/p>\n<p>Add<\/p>\n<p style=\"padding-left: 30px;\">framebuffer_width=810<br \/>\nframebuffer_height=540<br \/>\nhdmi_force_hotplug=1<br \/>\nhdmi_group=2<br \/>\nhdmi_mode=87<br \/>\nhdmi_cvt=320 240 51 1 0 0 0<br \/>\ndtoverlay=pitft28-capacitive-overlay,rotate=90,speed=80000000,fps=51<br \/>\ngpu_mem=44<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/etc\/emulationstation\/themes\/carbon\/carbon.xml<br \/>\nfontSize to 0.05<\/p>\n<p>Controls<\/p>\n<p style=\"padding-left: 30px;\">cd<br \/>\ngit clone https:\/\/github.com\/adafruit\/Adafruit-Retrogame<br \/>\ncd Adafruit-Retrogame<\/p>\n<p>Edit the file retrogame.c, looking for the table called ioStandard (not the ioTFT table \u2014 that\u2019s for other projects). Each line in brackets represents one pin on the GPIO header and a corresponding key code.<br \/>\nThe full list of available keycodes can be found in \/usr\/include\/linux\/input.h<br \/>\nraspberry_pi_retrogame.png<br \/>\nAfter editing, compile and install the code with:<br \/>\nCopy Code<\/p>\n<p style=\"padding-left: 30px;\">make retrogame<br \/>\nsudo mv retrogame \/usr\/local\/bin<\/p>\n<p>To make retrogame start automatically when the system boots:<br \/>\nCopy Code<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/etc\/rc.local<\/p>\n<p>Before the final \u201cexit 0\u201d line, insert this one line:<\/p>\n<p>Copy Code<\/p>\n<p style=\"padding-left: 30px;\">\/usr\/local\/bin\/retrogame &amp;<\/p>\n<p>Just one more file needs editing, so that EmulationStation recognizes retrogame as a keyboard:<br \/>\nCopy Code<\/p>\n<p style=\"padding-left: 30px;\">sudo nano \/etc\/udev\/rules.d\/10-retrogame.rules<\/p>\n<p>Copy and paste this line exactly into the new file:<br \/>\nCopy Code<\/p>\n<p style=\"padding-left: 30px;\">SUBSYSTEM==&#8221;input&#8221;, ATTRS{name}==&#8221;retrogame&#8221;, ENV{ID_INPUT_KEYBOARD}=&#8221;1&#8243;<\/p>\n<p>Reboot and you should now have \u201cvirtual\u201d keys associated with GPIO buttons.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Here is a update for my: \u00a0Gameboy Upgrade \/ MOD \/ Crack Open Raspberry Pi replacment \ud83d\ude42 Ordered a ffc-cable to extend my PiTFT 2.8 inch from ada fruit. Here are some progress pictures: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Some progress pictures for my Gameboy Pi Gameboy Pi install: Make sd img from 2016-03-25-28c.img Then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":260,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[28,89,15,61,42,59],"tags":[],"_links":{"self":[{"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/posts\/322"}],"collection":[{"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322"}],"version-history":[{"count":2,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions\/324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=\/wp\/v2\/media\/260"}],"wp:attachment":[{"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dcnigma.eu5.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}