• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] Trainercard sprite not editable (Fire Red)

Demynnfire

~ the loveliest ~
  • 16
    Posts
    13
    Years
    • Seen Nov 4, 2020
    Let's get to the point straight away, I've edited the sprite on the trainer card in my Fire Red rom, but now I can't find it anywhere in unLZ-gba. It's supposed to be the 1634th image but for some reason it's missing (and it's neither at the front or behind of every image). If anyone knows how I could revert the change or hex-edit it in some way, I'd appreciate it.
     
    Last edited:
    If you repointed the image, then it will not be editable until you have unLZ.GBA rescan your ROM.

    The way unLZ works is that when you first open a ROM, it scans it for LZ77 compressed images and palettes, and saves them in the .spr and .pal files, so that whenever you open the ROM again, it reads the offsets from those. Of course, when you repoint an image, the .spr file is not updated, so unLZ thinks the image is still at the old offset.
     
    If you repointed the image, then it will not be editable until you have unLZ.GBA rescan your ROM.

    The way unLZ works is that when you first open a ROM, it scans it for LZ77 compressed images and palettes, and saves them in the .spr and .pal files, so that whenever you open the ROM again, it reads the offsets from those. Of course, when you repoint an image, the .spr file is not updated, so unLZ thinks the image is still at the old offset.

    Thank you for the quick reply, but I think I totally broke something...
    I did delete the .spr and .pal file just in case, but neither with that I could find the image I've edited. I tried deep scanning and did find the original file, which even tho I edited, it just broke everything so I gave up. (I should just restart as I didn't do any serious 'hacking')
    (Also I didn't mention but I forgot to note the address where I repointed the image so that's an error on my side)
     
    Back
    Top