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.

C/C++ > Tiled Mode Troubles

#13414 - dagamer34 - Fri Dec 12, 2003 11:36 pm

I know what tiled mode is and get the basic concept of the mode. BUT, it seems that my tiles never manage to load correctly.

I use gfx2gba to load my .bmp tile map to a .c file. I know there is a difference in loading when using a text map and a rot map.

After converting it, the output is JUNK. The palette is correct when running, but the tiles aren't. I know the data exported is good because i tested the same image data using HAM v2.8. Anybody have an idea what my problem is?

I am trying to follow the pern project tutorials but instead of using pcx2gba (doesn't seem to work for me) i am to use gfx2gba.
_________________
Little kids and Playstation 2's don't mix. :(

#13420 - tepples - Sat Dec 13, 2003 1:12 am

Look in VisualBoyAdvance's tile viewer. If you can't make sense of the junk, try showing us a screenshot of tile viewer.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#13421 - dagamer34 - Sat Dec 13, 2003 1:59 am

Better yet, let me give you the my project.

http://www.geocities.com/dagamer34/Test.zip
_________________
Little kids and Playstation 2's don't mix. :(

#13428 - tepples - Sat Dec 13, 2003 5:44 am

Can't download it. Geo****ties gives me only "We're sorry, but this page is currently unavailable for viewing." Looks like you got TOSsed.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#13431 - NoMis - Sat Dec 13, 2003 8:15 am

klick in the address bar and then hit enter and it will start. geocities has a way to block directly linked ressources. don't know why the do it maby they thinkt that the people visit their site more often. :-)

NoMis

#13435 - yaustar - Sat Dec 13, 2003 12:32 pm

ok, sin.h file is missing and what the heck is mainSplash.raw.c?
_________________
[Blog] [Portfolio]

#13458 - dagamer34 - Sat Dec 13, 2003 9:05 pm

I have changed my project because i uploaded the wrong one. Its still called Test.zip (link up there on my previous post).

There is a readme that says where everything is. No files are missing.

Thanks for trying to help.
_________________
Little kids and Playstation 2's don't mix. :(

#13459 - dagamer34 - Sat Dec 13, 2003 9:33 pm

I think i have found the problem. The image is what's wrong. Does everybody use Paint Shop Pro 7/8 to convert their images?

Because i don't (broke!!). I use some cheap converter. Maybe thats whats wrong. I will download the trial and see if it is.
_________________
Little kids and Playstation 2's don't mix. :(

#13468 - yaustar - Sun Dec 14, 2003 2:01 am

ok, the code in main is fine, I have checked that out and it is 100% ok.

It is more to do what you ahve loaded into t e GBA memory pallette, map and tiles wise.
_________________
[Blog] [Portfolio]

#13502 - dagamer34 - Mon Dec 15, 2003 4:38 am

I CANNOT BELIEVE IT. Its because of the program i use to convert my images. I downloaded the Paint Shop Pro 8 trial and guess what??? IT WORKED LIKE A CHARM!!!!

Now i have 60 days to test it before i have to buy it..... oh well..

Anybody know where I can buy it cheap??
_________________
Little kids and Playstation 2's don't mix. :(

#13503 - yaustar - Mon Dec 15, 2003 4:54 am

try GIMP or tilestudio. both are free
_________________
[Blog] [Portfolio]