{"id":15161334,"url":"https://github.com/krylphi/autotiler","last_synced_at":"2026-02-13T17:32:39.773Z","repository":{"id":243136744,"uuid":"803460019","full_name":"krylphi/autotiler","owner":"krylphi","description":"Unpacks tilesets from a compressed 2x3 tileset","archived":false,"fork":false,"pushed_at":"2024-11-18T12:00:29.000Z","size":311,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T09:06:59.710Z","etag":null,"topics":["game-development","gamedev","godot","godot-engine","godot4","godotengine","pixel-art","pixelart","tiled","tiled-map-editor","tilemaps","tileset-generator","tilesets"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krylphi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-20T19:05:55.000Z","updated_at":"2025-01-29T12:21:17.000Z","dependencies_parsed_at":"2024-11-03T18:01:26.234Z","dependency_job_id":"e63f57f8-c42d-4d03-8f28-d1d7a7a5261f","html_url":"https://github.com/krylphi/autotiler","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"0dd2995ce64ca3ad9e74bc97327af1aa35dce275"},"previous_names":["krylphi/autotiler"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/krylphi/autotiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krylphi%2Fautotiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krylphi%2Fautotiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krylphi%2Fautotiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krylphi%2Fautotiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krylphi","download_url":"https://codeload.github.com/krylphi/autotiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krylphi%2Fautotiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29413398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","gamedev","godot","godot-engine","godot4","godotengine","pixel-art","pixelart","tiled","tiled-map-editor","tilemaps","tileset-generator","tilesets"],"created_at":"2024-09-27T00:04:09.037Z","updated_at":"2026-02-13T17:32:39.758Z","avatar_url":"https://github.com/krylphi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autotiler\nUnpacks tilesets from a compressed one\n\nPure go. No external dependencies\n\n## Disclaimer\n\nProject is in alpha state. Was quickly developed to do stuff, so code is not pretty, but functional.\n\n## Features\n\nAutotiler unpacks tileset like this to formats more suitable for map generation (e.g. 16 and 47 wang tilesets):\n\n![packed](./examples/2x3_packed.png)\n\n## How to use\n* [get yourself Go](https://go.dev/doc/install)\n* clone this repository or download sources.\n* put simple tileset image (for example 2x3_packed.png) to source folder\n* run ```go run . -in \u003cfile_in\u003e [-o \u003cfile_out\u003e] [-p \u003cpadding\u003e] [-e \u003cexport_type(16,28,48,all)\u003e]```\n\n  e.g. ```go run . -in ./examples/2x3_packed.png -o ./out/output.local.png -p 1 -e 16 -e 28 -e 48```\n* you can optionally set padding for tiles in px. To do so you need to add desired padding as argument:\n\n  e.g. ```go run . -in ./examples/2x3_packed.png -p 1``` - this will create tilesets with 1 px margin and 2px spacing.\n* grab complete tilesets from directory specified in `-o`.\n* you can pass several `-in` and `-o` parameters to unpack several tilesets at once. They will match the order. In case there are fewer `-o` parameters, the default name will be used and results will be placed in current directory. \n* alternatively you can just run `make unpack FILE_IN=\u003cfile\u003e` and it will place all results in `./out` directory\n* don't worry about filenames, as program will automatically prefix output files with necessary information. E.g. for options `-o ./out/output.local.png -e 16` output files will be `./out/16x1_terrain1_output.local.png` and `./out/16x1_terrain2_output.local.png`\n* enjoy\n* alternatively you can build an application using `make build` command to use it as a standalone application without Go\n\n## Output Examples\n\n16x1 Terrain 1 to 2:\n\n![16x1_T1](examples/output/tileset/16x1_terrain1_output.png)\n\n14x2:\n\n![14x2](examples/output/tileset/14x2_output.png)\n\n14x2 (with 1px padding):\n\n![14x2_padding](examples/output/tileset/14x2_output.padding.png)\n\n12x4 Terrain 2 to 1:\n\n![12x4_T1](examples/output/tileset/12x4_terrain2_output.png)\n\n## Roadmap and plans\n- [x] Unpack from 6 tiles to 16 tiles\n- [x] Unpack from 6 tiles to 28 tiles\n- [x] Unpack from 6 to 47 tiles\n- [ ] Unpack from 6 or 16 tiles to 256 tiles\n- [ ] Export to Tiled\n- [ ] Export to Godot\n- [ ] More build options (Win, Mac)\n- [ ] Document, prettify code and make application more versatile","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrylphi%2Fautotiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrylphi%2Fautotiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrylphi%2Fautotiler/lists"}