{"id":175,"date":"2020-06-21T11:36:14","date_gmt":"2020-06-21T09:36:14","guid":{"rendered":"http:\/\/www.virtualparadise.org\/edwin\/?p=175"},"modified":"2025-01-11T17:54:18","modified_gmt":"2025-01-11T16:54:18","slug":"porting-virtual-paradise-to-the-3ds-part-1","status":"publish","type":"post","link":"https:\/\/www.virtualparadise.org\/edwin\/2020\/06\/porting-virtual-paradise-to-the-3ds-part-1\/","title":{"rendered":"Porting Virtual Paradise to the 3DS (part 1)"},"content":{"rendered":"\n<p>Since I made my old 3DS capable of running homebrew software yesterday, I decided it would be an fun project to try porting VP to the 3DS. Considering I only have an old 3DS instead of the &#8220;New 3DS&#8221; it&#8217;s probably not going to be very fast \ud83d\ude05<\/p>\n\n\n\n<p>This port is just an experiment and it might not even be released. I&#8217;ve done similar things before, such as a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/watch?v=LWa84xcB8Pw\" target=\"_blank\">port to the Wii<\/a> and a <a rel=\"noreferrer noopener\" href=\"http:\/\/edwin-share.virtualparadise.org\/2020\/06\/qemu-system-i386_2019-12-21_19-31-12.png\" target=\"_blank\">port to DOS<\/a>. Those ports were very incomplete and were never released.<\/p>\n\n\n\n<p>For building the software I&#8217;m using the devkitARM toolchain from <a href=\"https:\/\/devkitpro.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">devkitPro<\/a>. It turns out that quite a few of VP&#8217;s dependencies such as Bullet Physics, zlib, and mbedtls are already available as packages from the devkitPro pacman repository. Not having to build them myself will save some time.<\/p>\n\n\n\n<p>After a few hours of cleaning up the causes of build errors, adding stubs in various places and implementing some system specific functions for the new platform, I have at least the network functionality working:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"http:\/\/www.virtualparadise.org\/edwin\/wp-content\/uploads\/2020\/06\/IMG_20200621_114748_2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1313\" src=\"http:\/\/www.virtualparadise.org\/edwin\/wp-content\/uploads\/2020\/06\/IMG_20200621_114748_2.jpg\" alt=\"\" class=\"wp-image-183\"\/><\/a><\/figure>\n\n\n\n<p>It logs in and shows the world list, but it doesn&#8217;t enter a world yet. While the networking code for entering a world would probably work, other parts of VP expect to have a functioning renderer available. So it will take some more effort to get that working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I made my old 3DS capable of running homebrew software yesterday, I decided it would be an fun project to try porting VP to the 3DS. Considering I only have an old 3DS instead of the &#8220;New 3DS&#8221; it&#8217;s &hellip; <a href=\"https:\/\/www.virtualparadise.org\/edwin\/2020\/06\/porting-virtual-paradise-to-the-3ds-part-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":7,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":185,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/posts\/175\/revisions\/185"}],"wp:attachment":[{"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtualparadise.org\/edwin\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}