The VG Resource
Convert a screenshot to tilemap - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Spriters Resource (https://www.vg-resource.com/forum-110.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-114.html)
+---- Thread: Convert a screenshot to tilemap (/thread-37309.html)



Convert a screenshot to tilemap - HollaenderDK - 06-10-2020

Hi' all,
New to the forum - but avid user of the TSR site :-)

For fun I created a tool to convert screenshots to tilemaps.

Example: Feed it a 1:1 screenshot from arcade Bubble Bobble or C64 Bruce Lee - and it will output a tilemap file (png) with the tiles used and a level file using that tilemap (tmx) to recreate level/image.

https://www.construct.net/en/free-online-games/level-2-tilemap-14214/play

http://test.hollaender.dk/Level2Tile/

It's done in Construct 3. Not optimal - but that was what I had available Smile
It works best with clean background images and will not magically remove player/enemy sprites - but just think of them as unique tiles. 
Remove any borders or margins from the image before converting, as this will likely cause it to miss the tile grid.

I don't know if anyone made a tool like this, but i didn't find one Wink

Enjoy - and please drop me a comment if you find it useful. (Specially if you are able to use the tmx file outside Construct - I haven't tried that)

/ Thomas

*** UPDATE: Moved the tool to my own webserver as the first one blocked downloads. Also updated the tool a little to make it scroll the source image on large images.