NES Tile/Map editor idea.

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
NES Tile/Map editor idea.
by on (#7932)
Has any attempteed to use Gameboy Tile Designer (http://www.devrs.com/gb/hmgd/gbtd.html) and Gameboy Map Builder (http://www.devrs.com/gb/hmgd/gbmb.html) to build maps for the NES? This would also seem to be useful for sprites, as it also supports 8x8 and 8x16 objects. The are quite a few utilities to convert bitmaps to this format (http://www.devrs.com/gb/hmgd/supp.html).

These were excellent tools for building tiles, maps and, sprites for the Gameboy.

Here's a few things that would make it more useful:
If the tile size is set to 16x16, the palette could be assigned correctly for NES use. The only problem is that this would waste some tiles, but that could easily be fixed with an optimizer pass.

Each palette would have to have color zero set to the same value.

The GB 4 color binary tile would need to be modified for NES use. The Gamboy format exports each bitplane line interleaved, whereas the NES exports and entire bitplane.

For example: an 8 pixel line of color 1 is exported as:
FF 00

on the NES this would need to be converted to (I think):
FF xx xx xx xx xx xx xx
00 xx xx xx xx xx xx xx

It exports a 16x16 tile as 4 8x8 pieces in the following order:
UL UR LL LR. I'm not sure this is an issue, since it should create a map with the correct tile indexes, regardless of tilesize.


Is there something I'm missing?

This sounds like a good tool for NES development.

I will be testing this out shortly, and will post whatever conversion utility I create.
More...
by on (#7933)
There is a tool already (Gameman Gameboy Tile & Map Optimizer/Exporter version 0.039a) that is supposed to optimize the maps. I've used this before, but can't remeber what it actually did.

by on (#7956)
I don't think I've seen this program before. The export data options and everything look interesting.. I'll need to get familiar with it and see if I can make it work with NES.

Really cool, seems kinda like tUME, but simpler.

If you write some conversion utilities or figure anything out with it, let me know. That would help a lot. Thanks for mentioning this program, it could be useful. Certainly worth checking out, NES needs a 16x16 map editor extremely badly and I'm too lazy/busy to write it, heheh. (and if I did, I'd probably write it as an NES program anyways, which would maybe be a little odd).

by on (#7989)
I have written programs that read the gbr (tiles) and gbp (map). I was thinking of using it for the C-64. They are written in C, and should work on any OS, since they use the c library for most things.

The source (and Visual Studio 6 project) files are available at http://www.rastersoft.net/GBUtils.zip

by on (#7990)
One of the neat features of the map editor is that it will automatically reload changes to tiles map by GBMB. So, you can create a map and tile set at the same time.

by on (#8345)
I thought of modifying the code to support NES. That was scary! He uses awfully messy code + old version of delphi. (I don't know pascal too well so I may be wrong).
yes
by on (#9193)
I have used it. If i recall correctly the output is stored somewhat differently then what is directly usable by a nes. I wrote a simple converter in qbasic to fix that. I distributed this as a hello world demo that was the basis of a tutorial I had begun which got as far as display and collision detection. It's absolute crap and the format was intended to mirror the gb demos I had learned from. If I find it. I will post. I also used gameman as it is a superb utility as well.
found it
by on (#9210)
http://www.savefile.com/files/6337902

I found it. It also uses wla-dx. No tutorial but the code is pretty crap anyways. I improved it and added some basic box collision detection but couldn't find that version. It probably wasn't that much improved but I can pretend.

by on (#9276)
There's not much to the converter, that's nice.

Where are palette values and atr values from?