Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitendo/bmp2cgb
Convert graphics for GameBoy Color development and adjust palette on real hardware to achieve best results.
https://github.com/gitendo/bmp2cgb
character character-map converter gameboy gameboy-color gbc graphics palette rgb-tuner sprites tile
Last synced: 2 months ago
JSON representation
Convert graphics for GameBoy Color development and adjust palette on real hardware to achieve best results.
- Host: GitHub
- URL: https://github.com/gitendo/bmp2cgb
- Owner: gitendo
- License: gpl-3.0
- Archived: true
- Created: 2017-04-30T11:13:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T19:46:21.000Z (8 months ago)
- Last Synced: 2024-01-23T13:10:18.526Z (5 months ago)
- Topics: character, character-map, converter, gameboy, gameboy-color, gbc, graphics, palette, rgb-tuner, sprites, tile
- Language: C
- Homepage:
- Size: 61.5 KB
- Stars: 25
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-gbdev - bmp2cgb - Graphics converter for Game Boy Color development providing real time palette adjustments. (Software Development / Tools)
- awesome-gb-dev-zh - bmp2cgb - 为 Game Boy 色彩开发提供实时调色板调整的图形转换器。 (软件开发 / 工具)
README
### Notice
Starting October 12th, 2023 GitHub is enforcing mandatory [two-factor authentication](https://github.blog/2023-03-09-raising-the-bar-for-software-security-github-2fa-begins-march-13/) on my account.
I'm not going to comply and move all my activity to GitLab instead.
Any future updates / releases will be available at: [https://gitlab.com/gitendo/bmp2cgb](https://gitlab.com/gitendo/bmp2cgb)
Thanks and see you there!
___# bmp2cgb v1.21 ![standard](https://img.shields.io/badge/standard-C11-blue.svg?longCache=true&style=flat) ![dependencies](https://img.shields.io/badge/dependencies-none-green.svg?longCache=true&style=flat) ![status](https://img.shields.io/badge/status-working-green.svg?longCache=true&style=flat)
Complete solution for converting graphics and real time palette adjustments for Game Boy Color. Heavily inspired by original utility created by Ars of [Fatality](http://speccy.info/Fatality) in 1999. It's tiny, fast, command line driven and doesn't require any dependencies, so you can compile it without any problems on Windows or *nix systems.
### Options :
```
-c disable character optimization
-x disable horizontal flip optimization
-y disable vertical flip optimization
-z disable horizontal & vertical flip optimization
-o disable palette optimization-e# expand map width to 32 blocks using character (0-255)
-m# map padding - starting character (1-511)
-p# palette padding - starting slot (1-7)
-r rebase character map to $8800-$97FF ($8000-$8FFF is default)-d extended debug information without data output
-s# sprites output (transparent color RGB hex value ie. 4682b4)
-t RGBTuner ROM image output
```You can read [the manual](MANUAL.md) if you need more detailed explanation or don't know how to use it.
### Limitations :
Currently only BITMAPINFOHEADER is supported. This one is most common and widely used so it shouldn't really matter. However if you end up with `Unsupported bitmap type, BITMAPINFOHEADER not found!` you might want to check settings of your graphics software ie. for Gimp you need to enable `Do not write color space information` in `Compatibility Options` while exporting image to BMP.### Recent changes :
- fixed bug related to trimmed palettes in 4bpp/8bpp bitmaps### To do :
- add support for BITMAPV4HEADER and BITMAPV5HEADER
- get rid of all level 2 warnings### Bugs :
Hopefully none. Let me know if you find any.