![]() |
Item Image Issues
Usually, when I try to insert images for items that are already in Pokemon games from a later generation (gens four, five and six), NSE inserts them with no problem. Recently however, I've been having issues inserting a couple items.
The items are Razor Fang and Protector. I got the images from Bulpapedia (Which has worked in the past) Does anyone know anything about how item images are supposed to look in a hex editor, or know anything about how item image data is structured? I'll post a link to the exact images I used when I get off of mobile. |
Are the images indexed? What sort of problems are you having?
|
Yeah, the images are indexed, at least I did the same process to index them as the ones that worked.
Here's Razor Fang And Here's Protector. When I insert the compressed image there is something wrong with the compression, I'm convinced. I fiddled around with the image data slightly in a Hex Editor and the closest I could get to a complete image was this. Warning: This is a screenshot and not a .bmp like the other two. So my guess is somewhere along the line during the compression process, the image is getting so scrambled that the ROM can't process it and it crashes. Edit: I have gotten Razor Fang to work through some miracle, but Protector still has the same problem, and I'm afraid I might have more problems with future item images. |
Deleting your post. How mature. This isn't the time or place so I'll keep this brief, but flaming my or anyone else's profile and deleting your post because I didn't have time to be on Pokecommunity when you wanted me to isn't cool.
Now to the actual information I wanted to post. I discovered something about the actual hexadecimal make up of an item's image. When the messed up Protector image was first inserted, the first eight bytes of the image in a hex editor were "10 20 01 00 2A 00 00 E0" The 2A and E0 seem to control something related to the size (possibly) because changing those two numbers allowed me to view it in the game without it crashing, although the image itself was scrambled much like the screenshot I posted earlier. Changing 2A and E0 to 20 and 50 seemed to let me display the image, but it was scrambled beyond recognition. I tried all sorts of combinations with those two bytes, but I couldn't figure out what relationship they had to the item image or to each other. I know they must be important, because I was able to fix a corrupted image of already existing items (Charcoal to be precise) by changing these bytes to what they were in a clean FireRed ROM. |
| All times are GMT -8. The time now is 2:30 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.