Log In  

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.

Sources

Lexaloffle - A proper Linux installer, please
Chromebook Help - Can't get my Linux apps to produce sound
Chromebook Help - Set up Linux (Beta) on your Chromebook

P#71790 2020-01-06 02:57 ( Edited 2020-01-06 02:58)

1

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.

P#74290 2020-03-29 02:08
1

@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.

P#74296 2020-03-29 08:29
1

@tiskolin It works. I managed to get it working. Once again, thank you for this tutorial.

P#74310 2020-03-29 16:34
1

@ScorchWare Glad it worked! Let me know if any issues come up. Given that the Linux support in ChromeOS is still in beta, things may change.

P#74536 2020-04-07 17:57
:: Corso

Hello! Thanks for the tutorial! for me it doesn't work. I have an Acer r13, I think it's because of the processor ... do you have an idea to help me out? thanks a lot

P#74560 2020-04-08 10:55 ( Edited 2020-04-08 14:57)
:: Corso

So finally, guys, I installed TIC-80: it's Android compatible, it works very well, and it's free! For the 20 dollars I spent, the next time I'll roll up bank notes and smoke 'em.

P#74622 2020-04-10 16:12 ( Edited 2020-04-10 16:15)

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)

P#78999 2020-07-06 19:12

This isn't working for me, and i'm really annoyed:

Whenever I run "./pico8", I get an error "-bash: ./pico8: cannot execute binary file: Exec format error". I'm using the x64bit on a Lenovo C330 which I'm pretty sure is 64bit

It would be awesome if one of you linux geeks would help me! Thanks!

P#80634 2020-08-11 15:57 ( Edited 2020-08-11 15:58)
:: merwok

The error message tells that you got the wrong version.
Run 'file pico8' to see details on the binary, and 'uname -a' to get info about your machine.

P#80765 2020-08-14 15:52 ( Edited 2020-08-14 15:53)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-09-28 21:44 | 0.059s | 2097k | Q:33