-
-
Notifications
You must be signed in to change notification settings - Fork 564
export
export [ win | winxp | linux | rpi | mac | html | binary | tiles | sprites | map | mapimg | sfx | music | screen | help] <outfile> [bank=0 vbank=0 id=0 alone=0]
Required:
-
<outfile>output file name, with no file extension (especially not .tic).
Options (choose 1):
-
win | winxp | linux | rpi | macexport currently loaded cart as native build for the platform of your choice. -
htmlexport cart to HTML. -
binaryexport binary segment for WASM cartridges. -
tiles | sprites | mapimgexport tiles, sprites or map as png image. -
mapexport map as.mapfile. -
sfx | musicexport sfx or music as.wavfile. Setidoption to choose the sfx id or music track. See below to change the sustain music setting. -
screenexport cover image as png image. -
helpexport help content in a markdown file with console commands, API functions and much more.
Fully optional:
-
bankChoose the bank from which you want to export. -
vbankChoose the VRAM bank from which you want to export. -
idto choose the sfx id or music track you want to export. -
aloneUsealone=1to export the game without the editors [PRO version]. Users won't be able to see/edit your code/sprites/map/sfx/music.
Export currently loaded cart to HTML or as a native build.
Export sprites, map or cover as image. Export sfx or music to wav files. Use import to import these files to another cart or use load to load data directly from a cart to an other one.
Export the help content about API functions, console command and more in a markdown file.
NOTE: Do not export over your saved cart you could loose the data. Exported files don't need .tic file extension.
Use save <outfile>.png to export your cart as a png file that can be loaded by TIC-80.
When you export music, there is no command parameter to choose to sustain notes between frames, but the sustain setting is taken from the editor (at the top right).

TIC-80 tiny computer https://tic80.com | Twitter | Telegram | Terms
Built-in Editors
Console
Platform
RAM & VRAM | Display | Palette | Bits per Pixel (BPP) |
.ticFormat | 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)