The Royal Game of Ur for the Game Boy Advance
add licensing info and license art
start investigation into why the tiles in tile_mem[4][0-12] don't work
add additional define for spritemap start tile


browse  log 



You can also use your local clone with git send-email.


The Royal Game of Ur, now on your Game Boy Advance!

Work-in-progress game board design:

Royal Game of Ur Game Board





  • Fully working devkitARM installation
  • make (GNU, but any version should work as no GNU-specific features are used AFAIK)
  • Aseprite (optional, used for editing sprites)


git clone https://git.sr.ht/~nytpu/rgou
cd rgou
git checkout $(git describe --tags --abbrev=0)

After running make, you can find the finished ROM at build/rgou.gba.


It should be pretty self-explanitory, but there are a few caveats

If you modified graphics at all, you must regenerate the bin files manually (using a command like cd graphics && fd .png ../art/ -d 1 -x grit {} -ff). make will take care of creating the GBFS file and adding it to the finished ROM for you though.


  • devkitPro for their amazing devkitARM toolchain, complete with a custom libc and gcc, without which I wouldn't have even thought of attempting anything with the GBA.
  • cearn for his wonderful tonclib as well as his very in-depth and useful tonc tutorial. Without these tools and references, I would have been totally unable to make anything like this.
  • Damian Yerrick for GBFS, which makes it so much easier to include graphics and other binary files in the game.


send patches and reports to ~nytpu/public-inbox@lists.sr.ht


GBFS and related source code is Copyright 2002-2004 Damian Yerrick and licensed under the terms of the MIT License. See src/libgbfs.c and include/gbfs.h for more copyright information.

Files in this project incorporate code from DevkitPro, all of which is Copyright (C) 2020 DevKitPro and licensed under the terms of the GNU General Public License.

All images and other media in art/ and graphics/ are Copyright (C) 2021 nytpu and are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, see art/LICENSE or visit http://creativecommons.org/licenses/by-sa/4.0/.

All source code and other files not covered by the preceding terms are Copyright (C) 2021 nytpu and are licensed under the GNU General Public License, version 3.0 or later. For more license details, see LICENSE or visit https://www.gnu.org/licenses/gpl-3.0-standalone.html.