maptosym generates no$gmb symbole files (.sym
) from GBDK (old) and SDCC / ASxxxx (newer) map files (.map
).
The symbole file allows debuggers like no$gmb or BGB to display symboles names when debugging a GameBoy program.
This Python script can be used as a drop-in replacement for the original maptosym C program that supports only old GBDK map files and that can only be found on web archives nowadays.
You will find example input .map
and generated .sym
files in the examples/
folder of this repository.
- Python 2.7 or > 3.5
usage: maptosym.py [-h] [-v] map_file
Generates no$gmb symbole files (.sym) from GBDK and SDCC / ASxxxx map file
(.map).
positional arguments:
map_file The input .map file
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
- 1.0.1: Fixes program description in CLI
- 1.0.0: Initial release