FlaxWombat [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=61231 Trying to launch any version of Pico-8 in a proot-distro on android fails <p>Hey,</p> <p>I am fully aware that Pico-8 does not have an android release<br /> It does however have compiled linux binaries for x86_64 (amd64) and arm64 (aarch64)</p> <p>Knowing I can't actually execute these binaries in &quot;native&quot; android, I started experimenting with proot-distros<br /> I've had success running linux binaries in proot before, namely with titles like Dwarf Fortress using this person's research here:<br /> <a href="https://www.reddit.com/r/dwarffortress/comments/r80m7y/dwarf_fortress_mobile_running_dwarf_fortress_on/">https://www.reddit.com/r/dwarffortress/comments/r80m7y/dwarf_fortress_mobile_running_dwarf_fortress_on/</a><br /> TL:DR proot debian, fill in required libraries, disable video/sound, force text rendering, launch linux binaries via box64</p> <p>Obviously I can't force text rendering for pico-8 (although that would be baller if it could output to terminal using filled unicode characters and the already primitive color palette of a terminal window)<br /> As such, my setup is similar but tweaked.<br /> Its still a proot distro, all the libraries it claims to need are present, but I have the graphical interface piped through VNC or XSDL.</p> <p>However, launching either the arm64 binary or the amd64 binary (via box64) results in the same error</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>SDL Error: Could not initialize UDEV ** FATAL ERROR: Unable to initialize SDL</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>I've compiled SDL from source in every configuration I can find, i've found virtualized distros that claim SDL support on older versions of android... Heck I even got openGL running <em>with hardware acceleration</em>. All I can think of is that I am misunderstanding what part of UDEV isn't initializing.<br /> Is it failing to initialize the GPU rules? Sound rules? Input rules? I can't figure that out and that error is the full extent of the log file that I have.</p> <p>I know its not strictly an Android issue as I've seen the threads where chromeOS people have successfully run Pico-8 on chromebooks using very very similar methods, but it looks like an <em>arm64</em> android issue.</p> https://www.lexaloffle.com/bbs/?tid=46039 https://www.lexaloffle.com/bbs/?tid=46039 Thu, 06 Jan 2022 20:41:31 UTC