I've just figured out how to get PICO-8, sound and all, to work on ChromeOS 79. Since there doesn't seem to be any other information on the topic, I'll post it here.
To begin, install Linux (Beta) (a.k.a. Crostini) on your Chromebook. You can learn how to install Linux (Beta) here.
After Linux (Beta) has installed, install and unzip the Linux version of PICO-8. Then, drag and drop the pico-8 folder into My files / Linux files. That way the files will appear in the home directory of Linux (Beta).
Next, we need to make pico8 executable:
$ cd ~/pico-8 $ chmod +x pico8
That's enough to get PICO-8 working. However, the sound won't work. To fix this, open the new Terminal app and type the following commands:
# Make sure the new cros-pulse-config package is installed. $ sudo apt-get update $ sudo apt-get dist-upgrade # Clear out existing pulse settings. $ rm -rf ~/.config/pulse # Turn it off & on again via crosh (Ctrl-Alt-T). crosh> vmc stop termina
Finally, to run PICO-8:
$ cd ~/pico-8 $ ./pico8
And there we go! PICO-8 running on ChromeOS.
Thank you. I might try this eventually. I do have a couple questions:
1) Will this only work on certain Chromebook models? I have a Samsung Chromebook 3.
2) Will installing the Linux beta thing affect my Chromebook's other functions? Like its Android compatibility maybe?
Once again, thanks for posting about this. Also, it's been awhile since I've been on this site. Glad I came back around.
@ScorchWare No problem! I've only tested this on a single Acer Chromebook, so I can't say for certain whether it would work on other models. I don't see why it wouldn't though. As for installing the Linux beta, it won't affect your Chromebook's other functions to my knowledge. Android compatibility was unaffected on the Chromebook I did this on. Let me know if you try this, I'd be really curious to hear how that turns out! Best of luck.
Just want to post here for posterity. This wasn't working for me at first. I got an error:
SDL Error: No available video device
** FATAL ERROR: Unable to initialize SDL
I tried a bunch of stuff - no luck. I finally wiped my Linux installation and reinstalled it and - voila - it just worked. Not sure what my issue was but hopefully that helps anyone else with that error.
I'm using a Pixelbook (i5 version)
[Please log in to post a comment]