セケツ
ポケハック初心者
- 62
- Posts
- 8
- Years
- Seen yesterday
Hello Everyone.
In pokeemerald, it's known to us that the the "emerald version" banner displayed in the title screen is a combination of two 64×32 parts that come from one 64×64 image.
Well, since I have had plugged the namebox feature into my hack. I found that the namebox was a little bit narrow to fit some names of the characters. So I changed the number of texts display in the textprinter, and made a 80x32 new namebox picture to insert into the ROM (The original one in that feature is a 64×32 file).
But when I insert it, a problem came that I could't make it display properly at all. I checked the ROM files and found that the Oamdata in pokeemerald have no support in displaying 80x32 sprites.
Having looked through the "title-screen.c" file, I found a possible solution for it: separate the 80×32 sprite into a 64×32 file and a 16×32 file, putting them together in a 64x64 picture, and finally setting the Oamdata properly to make it display in the ROM. Just like the version banner did in the titlescreen. But It's a shame that I knew nothing about how to set it up.
Could someone help me with this problem? Thanks again for any assistance.
In pokeemerald, it's known to us that the the "emerald version" banner displayed in the title screen is a combination of two 64×32 parts that come from one 64×64 image.
Well, since I have had plugged the namebox feature into my hack. I found that the namebox was a little bit narrow to fit some names of the characters. So I changed the number of texts display in the textprinter, and made a 80x32 new namebox picture to insert into the ROM (The original one in that feature is a 64×32 file).
But when I insert it, a problem came that I could't make it display properly at all. I checked the ROM files and found that the Oamdata in pokeemerald have no support in displaying 80x32 sprites.
![[PokeCommunity.com] Separate one 64x64 picture into two 64x32 parts and make it combined & display? [PokeCommunity.com] Separate one 64x64 picture into two 64x32 parts and make it combined & display?](https://i.imgur.com/0Din0K4.png)
Having looked through the "title-screen.c" file, I found a possible solution for it: separate the 80×32 sprite into a 64×32 file and a 16×32 file, putting them together in a 64x64 picture, and finally setting the Oamdata properly to make it display in the ROM. Just like the version banner did in the titlescreen. But It's a shame that I knew nothing about how to set it up.
Could someone help me with this problem? Thanks again for any assistance.
Last edited: