-
-
Notifications
You must be signed in to change notification settings - Fork 492
TIC 80 on ChromeOS
Crostini is a Linux container with a minimal Debian setup as the operating system.
Follow these steps to install TIC-80 on your ChromeOS-based system via Crostini.
- A recent Chromebook/Chromebox/Chromebit/etc. (2020 or later)
- If ChromeOS is managed, you might not be able to enable Crostini
NOTE: If updating TIC-80, do not follow these steps! Instead, follow these steps.
- Open the Settings application. Select "Advanced", then "Developers".
- Click "Turn on" to enable Linux via Crostini. Follow the steps on the screen.
- Be patient. When you get a terminal window, exit it.
- Download TIC-80 (download the Linux build). Open the file you downloaded and click "Install".
- TIC-80 will be located in the Linux apps folder. Open it (it's indicated by a penguin icon because Crostini does not know TIC-80's icon) and start creating games in a tiny computer.
I recommend enabling these hidden support addons which can be found in chrome://flags
. Search them up with their names or IDs:
- Crostini GPU Support (
crostini-gpu-support
): Fixes a few issues with software-based graphics, such as wobbling. - Crostini IME Support (
crostini-ime-support
): Uses your keyboard method to type TIC-80 inputs, instead of the Linux kernel's defaulten-US
. - Crostini Virtual Keyboard Support (
crostini-virtual-keyboard-support
): Only required if you use tablet mode or On-Screen Keyboard. Enables you to use the virtual keyboard to type TIC-80 inputs. This can be useful if you use tablet mode.
-
Open Terminal and select
penguin
. Run this command to backup configuration:cp -r $HOME/.local/share/com.nesbox.tic $HOME/ticbackup
-
Remove TIC-80 with one of these methods:
-
With a GUI:
- Press Search/Launcher.
- Open the "Linux apps" folder. Right-click on TIC-80.
- Click Uninstall and confirm.
-
With
apt
:sudo apt purge tic80 --yes
-
-
Download TIC-80 (download the Linux build). Open the file you downloaded and click "Install".
-
Restore configuration:
rm -r $HOME/.local/share/com.nesbox.tic cp -r $HOME/ticbackup $HOME/.local/share/com.nesbox.tic
-
Delete the backup:
rm -r $HOME/ticbackup
Please edit this page if you run into an issue ;)
The ChromeOS installed on your system cannot run Linux.
Bug in TIC-80? No.
Bug in ChromeOS? No.
Enabling full screen causes a problem with rendering ChromeOS.
Bug in TIC-80? Yes.
This issue appears to be a bug in SDL2, causing incompatibility and breakages with fullscreen in virtual machines that share VM windows with the host, such as Crostini.
The only known fix is to remove the TIC-80 configuration folder, forcefully resetting TIC-80:
-
Press Search/Launcher and type "terminal", then press Enter.
-
Click the Terminal icon on the shelf with two fingers (or hold it), and click "Shut down Linux". TIC-80 will close.
-
Click "penguin" to start Linux.
-
Wait until you get a shell prompt, then run the following command:
rm -r $HOME/.local/share/com.nesbox.tic
Warning: This resets TIC-80 to default preferences. You should back up this folder, ideally with:
cp -r $HOME/.local/share/com.nesbox.tic $HOME/ticbackup_$RANDOM
The command above will back up the current TIC-80 configuration to your Linux home directory.
-
Close the terminal and run TIC-80 again. TIC-80 configuration will be recreated.
TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
Platform
RAM & VRAM | Display | Palette | Bits per Pixel (BPP) |
.tic
Format | Supported Languages
Other
Tutorials | Code Snippets | Libraries | External Tools | FFT
API
- BDR (0.90)
- BOOT (1.0)
- MENU
- OVR (deprecated)
- SCN (deprecated)
- TIC
- btn & btnp
- circ & circb
- clip
- cls
- elli & ellib (0.90)
- exit
- fget & fset (0.80)
- font
- key & keyp
- line
- map
- memcpy & memset
- mget & mset
- mouse
- music
- peek, peek4
- peek1, peek2 (1.0)
- pix
- pmem
- poke, poke4
- poke1, poke2 (1.0)
- rect & rectb
- reset
- sfx
- spr
- sync
- ttri (1.0)
- time
- trace
- tri & trib (0.90)
- tstamp (0.80)
- vbank (1.0)