Simple CLI for converting Tiled maps to data the Game Boy Advance understands. Special thanks to Jasper Vijn for providing a great tutorial on GBA development!
You can download binary releases here.
Tiled2GBA can generate both compilable C code and appendable binary data.
The latter is recommended (no need to recompile your project for changes in assets),
and can be used with GBFS in order to access it (see the tools
folder).
Simply call Tiled2GBA
from your command prompt, and provide a map.tmx
and map.c map.h
as
input and output parameters respectively.
For example, Tiled2GBA assets/map.tmx src/map.c src/map.h
would output compilable C code
into the src
folder.
Call Tiled2GBA
from your command prompt with the --binary
option, and provide a map.tmx
and map.bin
as
input and output parameters respectively.
For example, Tiled2GBA assets/map.tmx assets/map.bin --binary
would output appendable binary data
into the assets
folder.
You can use the --help
command for more information.
This project is written in C++ and contains a very simple CMake file to help you compile it. Without an IDE like CLion (greatly recommended!) you can build this project by calling:
mkdir build
cd build
cmake ..
make
This should result in a cute little Tiled2GBA
binary.
Contributions are always welcome! You can make a contribution by:
- Creating an issue, be sure your contribution has not been claimed by somebody else!
- Forking the project.
- Creating a pull-request to merge your solution back into the develop branch of this repository.
The develop branch is meant for in-development unstable releases, whilst the master branch is meant for stable production-ready releases.
All source files are protected under the MIT Licence, except for the included libraries in src/lib
,
tools/gbfs
and tools/padbin
. The used libraries are open-source, but please read their included licenses for
their specific terms and conditions.