All Projects → bbbbbr → gimp-tilemap-gb

bbbbbr / gimp-tilemap-gb

Licence: GPL-3.0 license
Tilemap GB - Console App - AND - GIMP plugin for importing & exporting Game Boy game tilemaps and tilesets (as bitmap images or .GBM/.GBR files. Related tools: GBTD, GBMB, GBDK, Zal0-ZGB)

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to gimp-tilemap-gb

tilemap-studio
A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
Stars: ✭ 247 (+488.1%)
Mutual labels:  gameboy, tilemap, tilesets
glazejs
A high performance 2D game engine built in Typescript
Stars: ✭ 96 (+128.57%)
Mutual labels:  tiled-map-editor, tilemap
gimp-rom-bin
GIMP plug-in to read/write SNES / NES / GB / GBA / NGP / MD / etc ROM image, tile and sprite files
Stars: ✭ 54 (+28.57%)
Mutual labels:  gimp, gimp-plugin
tuile
Tuile (french for tile) is a 2D graphics engine inspired from old hardware and based on layers, tiles sets, tile maps and sprites. Its scanline rendering pipeline makes it perfect for raster effects.
Stars: ✭ 19 (-54.76%)
Mutual labels:  tiled-map-editor, tilesets
cl-tiled
Tiled map library for CL
Stars: ✭ 15 (-64.29%)
Mutual labels:  tiled-map-editor, tilemap
tiles
Commandline tool that makes building tilesets and rendering static tilemaps super easy!
Stars: ✭ 51 (+21.43%)
Mutual labels:  tilemap, tilesets
UnityHexagonLibrary2d
A library to manage 2D hexagonal tiles in Unity.
Stars: ✭ 58 (+38.1%)
Mutual labels:  tiled-map-editor, tilemap
AsLib
🎨: RPG map maker (paint tool)
Stars: ✭ 82 (+95.24%)
Mutual labels:  tiled-map-editor, tilemap
tilematrix
helps handling tile pyramids
Stars: ✭ 15 (-64.29%)
Mutual labels:  tilesets
emulators
development methodology software emulators
Stars: ✭ 24 (-42.86%)
Mutual labels:  gameboy
bitboy
BitBoy : a Gameboy emulator for bitbox !
Stars: ✭ 14 (-66.67%)
Mutual labels:  gameboy
cart-dumper
🎮 Gameboy ROM for cartridge dumping
Stars: ✭ 24 (-42.86%)
Mutual labels:  gameboy
Safe-Power-Monitor
Camble - SudoMod
Stars: ✭ 19 (-54.76%)
Mutual labels:  gameboy
gameboy-glitch-shooter
Bullets don't stop writing to memory when they leave the screen. I'm sure everything will be fine.
Stars: ✭ 14 (-66.67%)
Mutual labels:  gameboy
EvoNet
Evolution Simulation in XNA Refresh
Stars: ✭ 44 (+4.76%)
Mutual labels:  tilemap
CAMLBOY
A Game Boy emulator written in OCaml that runs in your browser 🐫 🎮
Stars: ✭ 409 (+873.81%)
Mutual labels:  gameboy
HexTiles
Unity Hex Tile Editor
Stars: ✭ 127 (+202.38%)
Mutual labels:  tilemap
gameboi
An Original GameBoy emulator?
Stars: ✭ 20 (-52.38%)
Mutual labels:  gameboy
Atlas
An extensible 3D GIS application for visualization, analysis and research.
Stars: ✭ 113 (+169.05%)
Mutual labels:  tilemap
Satellite-Aerial-Image-Retrieval
Satellite/Aerial Image Retrieval: using Bing maps tile system to automatically download aerial imagery (maximum resolution available) given a latitude, longitude bounding box.
Stars: ✭ 36 (-14.29%)
Mutual labels:  tilemap

Tilemap GB (Gimp Plugin and command line tool): tilemap generator and exporter for Game Boy / Game Boy Color / GBDK & ZGB

There are two versions of the tool:

Standalone, command line version: png2gbtiles

GIMP plugin for importing & exporting Game Boy game tilemaps and tilesets.

You can create a level map in Gimp (or other image editors) then export it to either C Source files for the GBDK, or export as .gbr / .gbm for editing and further work in either GBTD or GBMB. You can also import from .gbr and .gbm files, and re-export to them (tile order may change and not all app prefs may survive the import/re-export trip).

(Also see Zal0's command line converters from GBR/GBM -> .c/.h.)

*This plugin is functional, but not polished. Don't be surprised to find some rough edges or annoyances.

Download compiled GIMP Plugin executables here:

Download compiled Console executables here:

Or check Releases

Opening a Game Boy Map Builder map as an image in GIMP

Features (DMG & CGB)

  • Tile deduplication (same colors/same pattern)
  • Optional remapping of colors to a specific palette (user supplied palette or to repair per-tile color limit errors with the images current palette)

CGB only features

  • Flipped X/Y tile deduplication
  • Alternate Palette tile deduplication

Tile Map export formats:

Tile Set export formats:

Tile Set & Map import formats:

  • GBR
  • GBM

Color Gameboy Support (CGB):

  • Import & Export

Supported formats:

  • GB 2bpp
  • CGB Color mode

Settings:

  • The plug-in will attempt to preserve Tile & Map Export settings across import and later export (they get attached to the native GIMP XCF image as a Parasite that persists accross save/load).
  • Option to ignore CGB per-tile palette violation errors. The tile will still be forced to 4 colors and it will use the first palette found in the tile.

Usage / Cautions:

  • Work on an 8x8 grid. It will save you time, trouble and ROM size later on.
  • Available tile sizes are: 8x8, 8x16, 16x16, 32x32
  • The source image should be an even multiple of the tile size.
  • While C Source / GBM Maps can export to all tile sizes, working with 8x8 is sometimes most practical for hardware (unless set up for meta-tiles).
  • Exported GBR should have no more than 4 colors (DMG) or 32 colors (CGB)
  • In CGB mode the 32 color palette is broken up into 8 separate, consecutive sub-palettes of 4 colors each
  • When exporting in CGB mode, tiles should not use colors from more than one sub-palette at a time. Export will fail if they do, unless one of the following is enabled:
    • "Ignore CGB Palette Errors"
    • "Try to Repair Palette Errors" are enabled.
  • The only metadata preserved across import and later re-export for GBR / GBM files are the Tile/Map Export Settings. Other data such as recently used files, etc are not currently preserved when exporting back out. (Maybe later).
  • If you export using this path: GIMP -> GBTD or GBMB -> C source, then you'll need to set up the export options for GBTD (path, tiles to export, etc) and GBMB (path, location format, etc). Some, but not all, of them will be pre-populated.

Quick instructions:

Native compile/install on Linux using below.

If GIMP & build tools not yet installed:
(example for debian/ubuntu/mint)
 * sudo apt install gimp
 * sudo apt install build-essential
 * sudo apt install libgimp2.0-dev

Then:
* cd gimp-rom-bin
* make

Then copy the resulting "file-tilemap" to your GIMP plugin folder, depends on version

Plug-in folder locations:
 Linux: ~/.gimp-2.8/plug-ins  , or ~/.config/GIMP/2.10/plug-ins
 Windows: C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins

Guide for Cross-compiling to Windows on Linux

Requirements:

  • Image must be indexed color and not have more colors than output format supports, unless one of the following is enabled:
    • "Ignore CGB Palette Errors"
    • "Remap/Repair Palette Errors" and "Remap using a Palette File".

Known limitations & Issues:

  • GBMB Export only populates the Export Location Format if it was present on a preceding Import. Otherwise it must be done manually.
  • When a GBMB Map is imported (along with matching GBTD Tileset), any tiles not used on the map will get discarded on re-export.
  • Tile set ordering may change on export if the GBMB Map changes (tile set order is based on the when a given tiles is first encountered while scanning left -> right, top -> bottom)
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].