Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Another issue I found this morning: I think still related to custom canvas size.

image.png

I have a 32x26 and when saving as a .map without attributes, I get a file of 892 bytes instead of an expected 832 bytes (32x26).

image.png

However, the option “Saving canvas as ASM” gives me the correct amount of bytes (832).

image.png

I inspected some the hexdump of the .map file and line 300 to end of 330 are expected, however anything beyond that (FF, FF, 33…) …. ah.. As I am writing this I get it. These are the attributes that shouldn’t be exported since the option is deactivated.

Ahh, it's a little confusing i'll admit. Those options are only for text export. The category bar between saving as binary and saving as text is supposed to indicate that, but it's not super evident. Neither is it the first time this is brought up, haha.

Also worth noting; whenever a .map binary is saved; the last 4 bytes tell the dimensions of that map; counted in tiles. 
.nams on the other hand, as standardized by NES emulators, are always 32x30 - so 960 bytes for tile ID elements, 64 bytes for attribute cells.