Page 1 of 1

Tile Map Information

Posted: Thu Mar 17, 2011 12:29 am
by MintyTheCat
Hello all,

Does anyone have a description or is able to direct me to something that would give me an understanding of what the "map" data produced by the GBA Graphics 1.09 actually represents please?

I am stumped at this time as to what MD maps actually are - embarrassing to say.

I am having some issues converting bitmap images for suitable display on the MD using my program.

It's driving me up the wall :D

Many thanks - great site btw and a great find!

Posted: Thu Mar 17, 2011 12:43 am
by powerofrecall
Forgive my ignorance, but does this "GBA Graphics" utility actually produce MD compatible tile maps?

My current solution for your needs is Kaneda's MDPPY:
http://gendev.spritesmind.net/page-mdppy.html

Mappy, the tool it relies on, is very mature, useful and stable, probably better than any ad-hoc MD map maker. MDPPY is a Lua script to export tile and map data in a format that will work with MD.

The code for displaying the tile maps is very helpful in explaining how it works on MD, and the map loading code itself explains it well. It also works fine with static screens, as Mappy itself can remove redundant tiles.

Posted: Thu Mar 17, 2011 9:06 am
by MintyTheCat
Hi,

Should I check out the Mappy sourcecode to get a description? Surely there's something else. I am not adverse to this but it is easier just to read a description.

The 64 Colour 'sakura' demo written by Brunni had its sakura image converted using this GBA tool so it definitely works.

Thanks.

Posted: Thu Mar 17, 2011 9:09 am
by KanedaFr
For your info, you could use raw Mappy, you no longer need to export them ;)
tuto coming soon (only need to fix my SMD first!)

Posted: Sat Mar 19, 2011 3:08 am
by powerofrecall
Kaneda, I'm very interested in it! If that helps to motivate you :)

Posted: Sat Mar 19, 2011 1:36 pm
by KanedaFr
ah ah!
I am motivated...but I don't want to share code I can't test on real hw...

If you download GenRes (http://gendev.spritesmind.net/page-genres.html)
You'll find a demo in it which will show you what can be done ... (press button to jump up to the MAP part)
If you can test it on real HW, perhaps I'll go with a tutorial...

it includes the original file (mappy..) I used
I think it will motivate YOU to use it ;)