Tile Map Information

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Tile Map Information

Post by MintyTheCat » Thu Mar 17, 2011 12:29 am

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!

powerofrecall
Very interested
Posts: 237
Joined: Fri Apr 17, 2009 7:35 pm
Location: USA

Post by powerofrecall » Thu Mar 17, 2011 12:43 am

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.

MintyTheCat
Very interested
Posts: 484
Joined: Sat Mar 05, 2011 11:11 pm
Location: Berlin, Germany

Post by MintyTheCat » Thu Mar 17, 2011 9:06 am

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.

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Thu Mar 17, 2011 9:09 am

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!)

powerofrecall
Very interested
Posts: 237
Joined: Fri Apr 17, 2009 7:35 pm
Location: USA

Post by powerofrecall » Sat Mar 19, 2011 3:08 am

Kaneda, I'm very interested in it! If that helps to motivate you :)

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Post by KanedaFr » Sat Mar 19, 2011 1:36 pm

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 ;)

Post Reply