{"id":22120777,"url":"https://github.com/grz0zrg/bmp2sms","last_synced_at":"2026-01-05T15:06:59.325Z","repository":{"id":148952471,"uuid":"64427679","full_name":"grz0zrg/bmp2sms","owner":"grz0zrg","description":"Tool to convert 16 colors images files (PNG/GIF/PPM/PGM) to a format suitable for inclusion in Sega Master System programs.","archived":false,"fork":false,"pushed_at":"2019-02-03T13:53:45.000Z","size":127,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T12:28:33.768Z","etag":null,"topics":["bmp2tile","master-system","sega-master","sega-master-system","tcl","tool"],"latest_commit_sha":null,"homepage":null,"language":"Tcl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grz0zrg.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":"2016-07-28T20:54:56.000Z","updated_at":"2024-08-16T21:30:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e58b7ec-7aa8-4812-964d-a28d6ca94986","html_url":"https://github.com/grz0zrg/bmp2sms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grz0zrg%2Fbmp2sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grz0zrg%2Fbmp2sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grz0zrg%2Fbmp2sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grz0zrg%2Fbmp2sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grz0zrg","download_url":"https://codeload.github.com/grz0zrg/bmp2sms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224004,"owners_count":20580362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bmp2tile","master-system","sega-master","sega-master-system","tcl","tool"],"created_at":"2024-12-01T14:29:53.595Z","updated_at":"2026-01-05T15:06:59.295Z","avatar_url":"https://github.com/grz0zrg.png","language":"Tcl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bmp2sms\n\nthis tool was only tested with TCL 8.6.*\n\nbasically a 'clone' of [bmp2tile](http://www.smspower.org/maxim/Software/BMP2Tile) made by Maxim\nrewrote it as a TCL study and most importantly with portability in mind\n\nits purpose is to convert 16 colors images files to a format suitable for inclusion in Sega Master System programs (written with wla-dx but other tools may work as well)\n\nbmp2sms support **PNG/GIF/PPM/PGM** by default without the TkImg package and **BMP/JPEG/PCX/XPM/TGA** with TkImg\nimages should have a width / height that are multiples of 8 otherwise padding will be added.\n\nthere is some things differing from bmp2tile:\n * target system is the Sega Master System (no support for Game Gear altough adding it would be easy)\n * the program perform 'smart' colours conversion if image colours does not match the SMS palette\n * indexed images are loaded as normal images (the palette is ignored), a palette is instead automatically generated\n * it load a complete directory instead of only one file at a time, there is planned support to save all files in one go\n * some features from bmp2tile are missing like 8x16 mode and cl123 palette output mode\n * palette order may be different so tiles value may be different on the same image (because bmp2tile will load indexed images while bmp2sms always generate it)\n * allow negative tile start index (-1 = 0x3ff etc.) which may be useful for some effects\n * no commandline mode\n * no status bar\n\nthen there is some features:\n - palette index picker (click somewhere on the image)\n - palette editor (double click on a palette color square or drag around a color square to organize the palette)\n\nif the package TkImg is found then these additional images format will be supported: **BMP/JPEG/PCX/XPM/TGA**\n\nTkImg can be installed easily with a package manager, example : `sudo apt install libtk-img`\n\nthis program also support [compression plugins made for bmp2tile](https://github.com/maxim-zhao/bmp2tile-compressors), this feature require the **Ffidl Tcl package**\n\n**Note for .bmp images:** The image should not include colour space information (see BMP export compatibility options for GIMP) otherwise the image will fail to load.\n\nthis is a first try at TCL, an interesting programming language with great libraries\n\n### Usage ###\n\n`tclsh8.6 bmp2sms.tcl`\n\n### Screenshots ###\n\n![Alt text](https://www.onirom.fr/assets/thumb/bmp2sms.png \"bmp2sms\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrz0zrg%2Fbmp2sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrz0zrg%2Fbmp2sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrz0zrg%2Fbmp2sms/lists"}