IMTOC Image to CFG

Transforms an image into an executable format for Sauerbraten.
No client modifications, no installations, your .cfg file will be ready in seconds.

Data Reader

Use the default or paste here the cubescript that will handle the color data ingame.

Loading default data reader...

Update 17/05/2019


Good news, we no longer need ImageMagick, instead of importing a text file you can now simply upload an image and download the cfg file directly!

The text fields have been removed, you can do the whole process just by clicking the two buttons.

Check the new guide below:


Click the button to select and upload an image, as soon as your image is read and transformed into text, you can download it in .cfg format.

The download button is only available when the conversion is done.

What's Data Reader?

This field is dedicated to the CubeScript that is responsible for transforming the color values ‚Äč‚Äčinto cubes ingame.

It is added to the end of the output, after converting.

if you want to make your own 'Data reader' (not necessary), the important variables are:


Ingame Guide:

After putting the cfg file in the sauerbraten folder, run it ingame by typing /exec filename.cfg

Assuming you're using the data reader made by RaZgRiZ...

/drawloadimg the name of the image should be the cfg name you downloaded earlier.

/drawreset will reset the 'pixel id' value to 0, you must do this every time you start a new image.

/drawundo this subtracts the width value from the 'pixel id', then you can re-draw this line.

/drawrow this is the command that will actually draw the pixel/cube.


You can steal fonts with this

and surprise your friends with your pixel art skills.

Tip: if you are an advanced player and movesel function is already present on your client, try the autodraw data reader and create heightmap-based 3D pixel arts!

Show the world your art, now in more depth.

IMTOC by @SalatielSauer