Repository navigation
save
save <cart> Save cartridge to the local filesystem.
Required:
-
<cart>output cart name..ticextension will be added if no extension is used.- Use
.pngfile extension to save as a png cart. - Use any scripting language extension (
.lua,.py,.rb,.js,.moon,.yue,.fnl,.nut,.wren,.janet,.scm,.ms,.fth,.gravity,.wasmp) to save it as a text project for an external editor [PRO version]. See supported languages for the full list.
- Use
Save cartridge to the local filesystem.
Hotkey: CTRL+S
A text cart is a source file with the code at the top and the binary resources appended as tagged comment sections: TILES, SPRITES, MAP, WAVES, SFX, PATTERNS, TRACKS, FLAGS, SCREEN, PALETTE and LANG. Edit the code above the sections; TIC-80 reads the rest back when the file is loaded. The compiled BINARY of a WASM cart is not part of the text project.
To load a project, use load — a .lua/.py/… file is recognized as a project, not only as plain code. See external editor for the workflow.
Use load command to load saved cartridge.
Use export command to export cartridge as native build, HTML or to export part of the data.
Save as a png cartridge for easy sharing.
You can drag this cart to tic80.exe as an example:

The cart data are stored in the chunk of the png file therefore you can create your own image too like https://github.com/nesbox/TIC-80/discussions/2549.
TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
save | export | load | import | menu | config | surf | shelf | demo | eval
Platform
RAM | VRAM | Display | Palette | Bits per Pixel (BPP) |
.ticFormat | Supported Languages
Other
Tutorials | Code Snippets | Libraries | External Tools | FFT
API
Callbacks
Input
Drawing
circ | circb | clip | cls | elli | ellib | font | line | map | paint | pix | print | rect | rectb | rrect | rrectb | spr | tri | trib | ttri | fill patterns
- textri (deprecated)
Sound
Memory
memcpy | memset | mget | mset | peek | poke | pmem | sync | vbank
System