gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > gfx2gba problems (Day 6 HAM tutorials)

#1424 - Altered - Sat Jan 18, 2003 3:24 pm

Hi there guys.

I seem to have a problem with trying gfx2gba to work
alongside what is given on the HAM tutorial 6.

To save you guys the trip, here an excerpt:

Quote:
Change to that directory and type:
gfx2gba -fsrc -m -pparadise.pal -t8 paradise.bmp
NOTE: This is different from what we used on Day 4.
-t8 means 8 pixel tiles, -m means map

This will create three files:
paradise.pal.c
paradise.raw.c
paradise.map.c


However, this doesn't work anymore.

-m no longer means map, it means merge and etc

So can anyone recommend how to do this via command line
or better yet through the gfx2gba front end?

Much appreciated

#1446 - Peter - Sat Jan 18, 2003 11:45 pm

Are you sure you talk about the same gfx2gba as aaron does hin his tutorials?
Since the options didn't change as far as i know.

However, you should download the recent version, get it here:
http://www.ohnehirn.de/tools/

hope that helps

#1547 - Badut - Mon Jan 20, 2003 12:19 am

Actually, I just completed that tute a couple of days ago and it worked perfectly for me.
What output does it give when you follow those instructions?
_________________
There are 10 types of people in the world. Those who understand binary and those who don't.

#1568 - Quirky - Mon Jan 20, 2003 10:18 am

There are 2 different gfx2gba available aren't there? And they are completely different in output, functionality and syntax. The one by markus at console-dev is the one to use. It has a file size of 27KB and is currently on version 0.13.

#1611 - Altered - Mon Jan 20, 2003 6:54 pm

Cheers for that.

lol - I re-read the article prior and discovered that it was the one that came bundled with HAM ;)

Thanks :)

#1645 - Badut - Tue Jan 21, 2003 12:33 am

Yeah, if he's following the Aaron Rogers tutes, he would be using the gfx2gba that came with HAM.

So have you sorted out that problem yet?
_________________
There are 10 types of people in the world. Those who understand binary and those who don't.

#1646 - Badut - Tue Jan 21, 2003 12:38 am

Altered wrote:


However, this doesn't work anymore.

-m no longer means map, it means merge and etc



I just checked the gfx2gba documentation
-m still means map.

We'll at least in the version that comes with HAM 2.6
_________________
There are 10 types of people in the world. Those who understand binary and those who don't.

#1665 - Altered - Tue Jan 21, 2003 9:35 am

Cheers guys.

Yep, it worked.

I didn't realise that it came bundled with HAM so I looked
around and found a pretty comprehensive version and I
thought it was that one ;)

Re-read it again and everything is working again ;)