hello,
what are the tile size supported by the NDS ? only 8x8 ?
I have test to change the tile size of the example.bmp ( 06 - map.lua )
The original size of tile of this bitmap is 16x16, so i have run this command :
DSLua-0.5-emulateur\scripts>..\bin\gfx2gba -m -p map_examplescrn.bmp.pal -t16 map_examplescrn.bmp
=======================
gfx2gba Converter v0.15
-----------------------
(C) 2oo1-2oo3 [TRiNiTY]
=======================
Reading: map_examplescrn.bmp (320x240 pixel, 256 colors)
Number of tiles before optimization: 0300
Number of tiles after optimization: 0022
Saving tiled raw bitmap data to: map_examplescrn.raw ... ok
Saving map data to: map_examplescrn.map ... ok
Saving masterpalette to..: map_examplescrn.bmp.pal ... ok
Total files read & converted.: 1
Colors used before converting: 14
Colors used after converting.: 14
Colors saved.................: 0
As you can see, no error for gfx2gba.
After i have modified this line ( line 24 ) :
BGBottomMap:LoadMap( "map_examplescrn.map", ( 320 / 8 ), ( 240 / 8 ) )
by :
BGBottomMap:LoadMap( "map_examplescrn.map", ( 320 / 16 ), ( 240 / 16 ) )
But the result on the screen was not very good :

So, if anybody can help me,
Thanks, Franck569.