Romhacking => ROM Hacking Discussion => Topic started by: Tailo on May 30, 2018, 02:23:00 pm

Title: Distorted sprite
Post by: Tailo on May 30, 2018, 02:23:00 pm


I hope you can help me, because I do not know what else I can try to solve the problem.

The issue is that I tried to change a sprite whose size is 32x32 for another 64x64. The sprite in question is the typical character photo that appears next to the dialogue box when a character speaks.

I managed to get the game to recognize the sprite as one of 64x64, but when loading the image, it only loads the first 16 tiles well, the rest is distorted or simply draws incomplete figures of sprites that appear on the screen. I have tried to do the mapping with different codecs in tile molester being the results worse than the problem in question. I leave you a capture so you can see it. Thank you.
( (
Title: Re: Distorted sprite
Post by: nesrocks on May 30, 2018, 02:29:52 pm
Is this an atari 2600 game?
Title: Re: Distorted sprite
Post by: Tailo on May 30, 2018, 04:27:54 pm
No. The game is DBZ: Legacy of Goku for GBA.

May 31, 2018, 01:31:25 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
I found the problem, but not the solution. Although the program recognizes it as a 64x64 sprite (800h bytes) it only reads the first 200h bytes of the image (32x32 pixels). For that reason the first 16 tiles are seen correctly. From there he reads the following sprites on the screen and obviously they are distorted. I thought I had found the function that ordered to read those 200h bytes and I changed it to 800, but I only managed to distort it even more ...