Skip to content
Vadim Grigoruk edited this page Nov 22, 2026 · 15 revisions

export [ win | linux | linuxarm | mac | macintel | html | binary | tiles | sprites | map | mapimg | sfx | music | screen | help] <outfile> [bank=0 vbank=0 id=0 alone=0]

Parameters

Required:

  • <outfile> output file name, with no file extension (especially not .tic).

Options (choose 1):

  • win | linux | linuxarm | mac | macintel export currently loaded cart as native build for the platform of your choice. linuxarm and macintel cover the ARM Linux and Intel macOS players.
  • html export cart to HTML.
  • binary export binary segment for WASM cartridges.
  • tiles | sprites | mapimg export tiles, sprites or map as png image.
  • map export map as .map file.
  • sfx | music export sfx or music as .wav file. Set id option to choose the sfx id or music track. See below.
  • screen export cover image as png image.
  • help export help content in a markdown file with console commands, API functions and much more.

Fully optional:

  • bank Choose the bank from which you want to export.
  • vbank Choose the VRAM bank from which you want to export.
  • id to choose the sfx id or music track you want to export.
  • alone Use alone=1 to export the game without the editors [PRO version]. Users won't be able to see/edit your code/sprites/map/sfx/music.

Description

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 another one.
Export the help content about API functions, console commands and more in a markdown file.

The menu bar offers the asset and game formats in its EXPORT submenu; binary and map (MAP DATA) are console-only.

NOTE: Do not export over your saved cart you could lose 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.

Export music

When you export music, there is no command parameter to choose whether to sustain notes between frames; the sustain setting is the music editor's SUSTAIN toggle.

screen3

Home
Tips for newcomers

Built-in Editors

CodeΒ | SpritesΒ | MapsΒ | SFXΒ | Music

Console

All commands

saveΒ | exportΒ | loadΒ | importΒ | menuΒ | configΒ | surfΒ | shelfΒ | demoΒ | evalΒ 

Platform

RAMΒ | VRAMΒ | DisplayΒ | PaletteΒ | Bits per Pixel (BPP)Β | .tic FormatΒ | Supported Languages

Other

TutorialsΒ | Code SnippetsΒ | LibrariesΒ | External ToolsΒ | FFT


API

All API functions

Callbacks

TICΒ | BOOTΒ | MENUΒ | BDR

  • SCN (deprecated)
  • OVR (deprecated)

Input

btnΒ | btnpΒ | btnrΒ | keyΒ | keypΒ | keyrΒ | mouse

Drawing

circΒ | circbΒ | clipΒ | clsΒ | elliΒ | ellibΒ | fontΒ | lineΒ | mapΒ | paintΒ | pixΒ | printΒ | rectΒ | rectbΒ | rrectΒ | rrectbΒ | sprΒ | triΒ | tribΒ | ttriΒ | fill patterns

Sound

musicΒ | sfxΒ | FFTΒ | VQT

Memory

memcpyΒ | memsetΒ | mgetΒ | msetΒ | peekΒ | pokeΒ | pmemΒ | syncΒ | vbank

System

exitΒ | resetΒ | timeΒ | tstampΒ | trace

Clone this wiki locally