All Projects → solenum → gb-convert

solenum / gb-convert

Licence: MIT License
Gameboy tile conversion and map editor tool

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to gb-convert

Pixelorama
A free & open-source 2D sprite editor, made with the Godot Engine! Available on Windows, Linux, macOS and the Web!
Stars: ✭ 2,535 (+9650%)
Mutual labels:  art, pixel, pixelart
pixelino
Pixel-drawing app for iOS ✍️
Stars: ✭ 45 (+73.08%)
Mutual labels:  art, pixel, pixelart
Tiles And Such
Archives of tilelable images/wallpapers
Stars: ✭ 101 (+288.46%)
Mutual labels:  art, tile
pixelart.js
punks.js - draw punk (pixel) art images using any design (in ascii text) in any colors; incl. 2x/4x/8x zoom for bigger sizes and more
Stars: ✭ 132 (+407.69%)
Mutual labels:  pixel, pixelart
AsLib
🎨: RPG map maker (paint tool)
Stars: ✭ 82 (+215.38%)
Mutual labels:  tile, pixel
Responsivedevices.css
Responsive CSS Device frames for your landing pages
Stars: ✭ 59 (+126.92%)
Mutual labels:  art, pixel
Visual Center
Proposed tool to better align logos in the center of a container.
Stars: ✭ 1,338 (+5046.15%)
Mutual labels:  art, pixel
gonvert
Golang character encoding converter with an automatic code-estimation.
Stars: ✭ 24 (-7.69%)
Mutual labels:  encoding, converter
Mongolastic
🚥 A dataset migration tool from MongoDB to Elasticsearch and vice versa.
Stars: ✭ 131 (+403.85%)
Mutual labels:  map, converter
glitch-studio
data bending & glitch tools
Stars: ✭ 66 (+153.85%)
Mutual labels:  art, png
to-ico
Convert PNG to ICO in memory
Stars: ✭ 115 (+342.31%)
Mutual labels:  converter, png
o2d3m
Wavefront OBJ to Doom3 map converter.
Stars: ✭ 15 (-42.31%)
Mutual labels:  map, converter
Gitfiti
abusing github commit history for the lulz
Stars: ✭ 6,750 (+25861.54%)
Mutual labels:  art, pixelart
interactive-pixelator
🌇 🌃 upload image and make interactive pixel art 🕹
Stars: ✭ 22 (-15.38%)
Mutual labels:  art, pixel
Atlasr
Atlasr is a truly open-source and free map browser.
Stars: ✭ 196 (+653.85%)
Mutual labels:  map, tile
vectorexpress-api
Vector Express is a free service and API for converting, analyzing and processing vector files.
Stars: ✭ 66 (+153.85%)
Mutual labels:  converter, png
Vector Datasource
Tilezen vector tile service - OpenStreetMap data in several formats
Stars: ✭ 427 (+1542.31%)
Mutual labels:  map, tile
Tiledmapview
Tiled map loader for Android , based on the pyramid model, supports a variety of projections, including Web Mercator projection, latitude and longitude projection and custom projection; supports locating, adding layers and overlays. Android瓦片地图加载控件,基于金字塔模型,支持多种投影,包括Web墨卡托投影,经纬度直投及自定义投影等;支持定位,添加图层和覆盖物。
Stars: ✭ 45 (+73.08%)
Mutual labels:  map, tile
Berry
Berry is a simple Tiled Map Loader for Corona SDK.
Stars: ✭ 16 (-38.46%)
Mutual labels:  map, tile
Pix
🎨 Pix is an online pixel art community where everyone can unleash their creativity on a 16x16 canvas, built with React-Native for iOS devices. 🚀
Stars: ✭ 86 (+230.77%)
Mutual labels:  art, pixel

GB-Convert


Gameboy-convert is a simple tool to convert png images, into a format supported by Gameboy assembly.

It currently takes in a png file, and outputs it in an assembly format you can use when developing for the Gameboy. Eventually this will be used in a Gameboy homebrew tutorial I am writing on my website.

The tiles conversion takes an arbitrarily sized image and outputs the assembly equivalent. It splits the image up into 8x8 tiles.

The map conversion takes in a 256x256 image (32x32 tiles), and matches the tiles in the image, with the tiles from your tilesheet, and outputs the assembly equivalent of your map for use on the Gameboy.

The -i flag inverts the color order, useful if you want to change the transparent color for sprite layers, etc

Make

make

Example usage

(mytiles.png = 32x8 )
(mymap.png   = 32x32)

./gb-convert -i -tiles mytiles.png -map mymap.png >> output.txt

    >> output.txt - 4 tiles - 16 bytes each
    TILE_DATA:
    DB $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
    DB $ff,$ff,$81,$ff,$bd,$c3,$a5,$c3,$a5,$c3,$bd,$c3,$81,$ff,$ff,$ff
    DB $00,$00,$44,$44,$00,$00,$00,$00,$44,$44,$38,$38,$00,$00,$00,$00
    DB $00,$00,$22,$22,$00,$00,$00,$00,$1c,$1c,$22,$22,$00,$00,$00,$00
	
    MAP_DATA:
    DB $01,$01,$00...etc

Depends

  • A modern C compiler.

Todo

  • Better Support for arbitrary image sizes
  • RLE/Various encoding/decoding methods
  • The Gameboy assembly to encoded/decode data
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].